Article View: comp.text.tex
Article #9557Embedding \if's in TeX. How?
From: Joel M. Hoffman
Date: Sun, 27 Dec 1992 16:15
Date: Sun, 27 Dec 1992 16:15
20 lines
939 bytes
939 bytes
I'd like to embed several \if\else\fi groups, but it doesn't seem to work. For example \iftesta ... \else ... \iftestb \iftestc ... \fi \else ... \fi I keep getting error messages about extra \else's. I'm sure the \if's, \else's and \fi's are matches. I think what's might be happening is that TeX is ignoring the embedded \if's if the first test fails, and then seeing the embedding \fi, and thinking it matches the matrix \fi. Is this so? Is there a workaround? -Joel
Technical Details
Message-ID:
<1992Dec27.161533.11392@wam.umd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!spool.mu.edu!agate!ames!haven.umd.edu!wam.umd.edu!joelShow Full Headers
Complete Article Headers
Newsgroups: comp.text.tex Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!spool.mu.edu!agate!ames!haven.umd.edu!wam.umd.edu!joel From: joel@wam.umd.edu (Joel M. Hoffman) Subject: Embedding \if's in TeX. How? Message-ID: <1992Dec27.161533.11392@wam.umd.edu> Sender: usenet@wam.umd.edu (USENET News system) Nntp-Posting-Host: rac2.wam.umd.edu Organization: University of Maryland, College Park Date: Sun, 27 Dec 1992 16:15:33 GMT Lines: 20