home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / text / tex / 14657 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.6 KB  |  40 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!pipex!doc.ic.ac.uk!warwick!pavo.csi.cam.ac.uk!camcus!cet1
  3. From: cet1@cus.cam.ac.uk (C.E. Thompson)
  4. Subject: Re: Forcing expansions in Tex
  5. Message-ID: <1993Jan6.014020.6570@infodev.cam.ac.uk>
  6. Sender: news@infodev.cam.ac.uk (USENET news)
  7. Nntp-Posting-Host: apus.cus.cam.ac.uk
  8. Organization: U of Cambridge, England
  9. References: <MANDAL.93Jan5124200@rose.cis.ohio-state.edu> <EIJKHOUT.93Jan5155258@cupid.cs.utk.edu>
  10. Date: Wed, 6 Jan 1993 01:40:20 GMT
  11. Lines: 27
  12.  
  13. In article <EIJKHOUT.93Jan5155258@cupid.cs.utk.edu>, eijkhout@cupid.cs.utk.edu
  14. (Victor Eijkhout) writes:
  15. |> 
  16. |> No bug. The \uppercase command is *not expandable* in the
  17. |> technical sense, and that's the one that counts.
  18. |> 
  19. [...]
  20. |> 
  21. |> The behaviour of \uppercase is often counterintuitive.
  22. |> See a couple of cute examples in section 3.6.2 of the
  23. |> book by yours truly.)
  24.  
  25. No argument about that. Does anyone understand the pre-history of this?
  26. In general, TeX82 does more things by expansion than TeX78 did: for example,
  27. conditionals were moved from the stomach to the mouth in TeX82 version 0.8
  28. (change #45 in tex82.bug). Why did \uppercase and \lowercase get left as
  29. mode-indepedent commands?
  30.  
  31. There is a design constraint in TeX that expansion mustn't have certain
  32. side-effects (in particular, it mustn't alter anything in the |eqtb| array).
  33. (In METAFONT, by the way, there is no such constraint: expanding a token can
  34. cause almost anything to happen.) But there would seem to be no problem with
  35. \uppercase and \lowercase in this respect.
  36.  
  37. Chris Thompson
  38. JANET:    cet1@uk.ac.cam.phx
  39. Internet: cet1@phx.cam.ac.uk
  40.