🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #11682

Re: /dev/null as LaTeX environemt: How???

#11682
From: Jonathan Fine
Date: Thu, 02 Sep 1999 00:00
16 lines
1586 bytes
Daniel Luecking <luecking@comp.uark.edu> writes
>A roll-your-own solution is 
>\newenvironment{null}{\iffalse}{\fi}

I don't think so.  TeX will never get to see the \fi, because when it is
skipping tokens (looking for the \fi) it is not expanding macros.  So
the \end{null}, that contains the \fi, is skipped, not expanded!

So what you'll get if you use this null environment is that TeX will
give you a missing \fi error at the end of the file!

This is an example for the "steep learning curve" thread elsewhere on
this newsgroup.

Jonathan Fine, Cambridge, UK
Live in the UK?  UK TUG AGM, Sunday 12 September, Oxford.
Technical Details
Message-ID: <P2imNEAm3iz3Ew$o@active-tex.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37CD30B9.346D1AE5@astro.estec.esa.nl> <7qjhap$m4p@picayune.uark.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9e16,6ea37bb09b2e2750
X-Google-Attributes: gidf9e16,public
X-Google-Thread: f5731,6ea37bb09b2e2750
X-Google-Attributes: gidf5731,public
X-Google-Thread: 158e15,6ea37bb09b2e2750
X-Google-Attributes: gid158e15,public
X-Google-Thread: 10ee61,6ea37bb09b2e2750
X-Google-Attributes: gid10ee61,public
From: Jonathan Fine <fine@active-tex.demon.co.uk>
Subject: Re: /dev/null as LaTeX environemt: How???
Date: 1999/09/02
Message-ID: <P2imNEAm3iz3Ew$o@active-tex.demon.co.uk>
X-Deja-AN: 520247377
X-NNTP-Posting-Host: active-tex.demon.co.uk:212.229.89.8
References: <37CD30B9.346D1AE5@astro.estec.esa.nl> <7qjhap$m4p@picayune.uark.edu>
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 936292083 nnrp-09:21859 NO-IDENT active-tex.demon.co.uk:212.229.89.8
Organization: Active TeX
MIME-Version: 1.0
Newsgroups: comp.text.tex,fj.comp.texhax,fr.comp.text.tex,de.comp.tex