home *** CD-ROM | disk | FTP | other *** search
- 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
- From: eijkhout@cupid.cs.utk.edu (Victor Eijkhout)
- Newsgroups: comp.text.tex
- Subject: Re: Problems with false conditionals
- Date: 26 Jan 93 12:17:28
- Organization: /pearl/homes/eijkhout/.organization
- Lines: 23
- Message-ID: <EIJKHOUT.93Jan26121728@cupid.cs.utk.edu>
- References: <9301260054.AA18998@triples.math.mcgill.ca>
- NNTP-Posting-Host: cupid.cs.utk.edu
- In-reply-to: 's message of Mon, 25 Jan 93 19:54:11 EST
-
- In article <9301260054.AA18998@triples.math.mcgill.ca> <barr@triples.Math.McGill.CA> writes:
-
- [...]
- then the TeX skipping
- mechanism didn't recognize the pairing of \ifnnull with \fi.
-
- Correct. TeX only recognises its own conditionals and anything \let to
- them as conditionals. You can pull the following trick:
- \def\nnull{00\fi \ifnnull}
- which you use as
- \if\nnull ..... \fi
-
- It appears that you cannot put a \newif inside a false conditional,
-
- Correct. Read the TeX literature (for instance a book with TbT acronym :-)
- \outer control sequences are not allowed in skipped conditional text.
- Just redefinite \newif without the \outer prefix and you're all set.
-
- --
- Victor Eijkhout ................................ `There are also a few bugs,
- Department of Computer Science .......... though not as many as I've come to
- University of Tennessee ............... expect in new [MS]Windows products.'
- Knoxville TN 37919 ................................ (from a software review)
-