home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / text / tex / 15481 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.6 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!mailgzrz.TU-Berlin.DE!math.fu-berlin.de!ira.uka.de!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!cs.utk.edu!cs.utk.edu!eijkhout
  2. From: eijkhout@cupid.cs.utk.edu (Victor Eijkhout)
  3. Newsgroups: comp.text.tex
  4. Subject: Re: Problems with false conditionals
  5. Date: 26 Jan 93 12:17:28
  6. Organization: /pearl/homes/eijkhout/.organization
  7. Lines: 23
  8. Message-ID: <EIJKHOUT.93Jan26121728@cupid.cs.utk.edu>
  9. References: <9301260054.AA18998@triples.math.mcgill.ca>
  10. NNTP-Posting-Host: cupid.cs.utk.edu
  11. In-reply-to: 's message of Mon, 25 Jan 93 19:54:11 EST
  12.  
  13. In article <9301260054.AA18998@triples.math.mcgill.ca> <barr@triples.Math.McGill.CA> writes:
  14.  
  15.    [...]
  16.    then the TeX skipping
  17.    mechanism didn't recognize the pairing of \ifnnull with \fi.
  18.  
  19. Correct. TeX only recognises its own conditionals and anything \let to 
  20. them as conditionals. You can pull the following trick:
  21.     \def\nnull{00\fi \ifnnull}
  22. which you use as
  23.     \if\nnull ..... \fi
  24.  
  25.    It appears that you cannot put a \newif inside a false conditional,
  26.  
  27. Correct. Read the TeX literature (for instance a book with TbT acronym :-)
  28. \outer control sequences are not allowed in skipped conditional text.
  29. Just redefinite \newif without the \outer prefix and you're all set.
  30.  
  31. --
  32. Victor Eijkhout ................................ `There are also a few bugs,
  33. Department of Computer Science .......... though not as many as I've come to
  34. University of Tennessee ............... expect in new [MS]Windows products.'
  35. Knoxville TN 37919 ................................ (from a software review)
  36.