🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #2709

Looping and conditionals

#2709
From: Andy Harp
Date: Tue, 15 Sep 1992 09:30
10 lines
854 bytes

I'm trying to implement a two-pass TeX which, on the second pass, opens a
file and searches for a key field.  How do I use \loop ... \if ... \repeat
so that I test for a NEGATIVE condition?  ie. loop until correct key is read
and then stop.
-- 
----------------------------------------------------------------
Andrew Harp                            DRA Malvern, Gt. Britain     
aharp@hermes.mod.uk                    tel  : +44 684 894462
Technical Details
Message-ID: <BuM527.B92@breeze.rsre.mod.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!rsre!breeze!harp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!rsre!breeze!harp
From: harp@breeze.rsre.mod.uk (Andy Harp)
Newsgroups: comp.text.tex
Subject: Looping and conditionals
Message-ID: <BuM527.B92@breeze.rsre.mod.uk>
Date: 15 Sep 92 09:30:17 GMT
Reply-To: aharp%hermes.mod.uk@relay.mod.uk
Distribution: all
Organization: Defence Research Agency
Lines: 10
X-Disclaimer: Any opinions expressed are my own.