From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1750 Path: main.gmane.org!not-for-mail From: ecashin@coe.uga.edu (Ed L. Cashin) Newsgroups: gmane.comp.tex.context Subject: Re: use supp-fil in plain tex Date: 13 Mar 2000 15:49:07 -0500 Sender: owner-ntg-context@let.uu.nl Message-ID: References: <3.0.6.32.20000312114324.01c75100@pop.wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035392562 2912 80.91.224.250 (23 Oct 2002 17:02:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:02:42 +0000 (UTC) Original-To: NTG-ConTeXt mailing list In-Reply-To: Hans Hagen's message of "Sun, 12 Mar 2000 11:43:24 +0100" Xref: main.gmane.org gmane.comp.tex.context:1750 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1750 First of all, I should say that my context is not the latest. It's not so old, though. It was in teTeX 1.0.6 and has a couple of things in cont-new that were added subsequently. Hans Hagen writes: > At 11:51 AM 3/10/2000 -0500, Ed L. Cashin wrote: ... > >I know that loops can be done in plain TeX with the \loop macro, and I > >saw the "\doiffileelse" macro in supp-fil.tex. I'm trying to use it > >like this: ... > > Plain's \loop is rather fragile. > > \input syst-gen.tex > \input syst-ext.tex > \input supp-fil.tex I tried including those files, but \beginTEX was not defined, so I looked for that macro and added "\input syst-tex". But then "\forgetall" was undefined, so I added "\input supp-mis". Even then, \forgetall was undefined when supp-pdf was loading. This is what I'm doing now: \input syst-tex % for \beginTEX \input syst-gen \input supp-mis % for \forgetall \input syst-ext \input supp-fil \input supp-pdf % no \forgetall -- don't know why. > \doloop > {\doiffileelse{sumvouch.\recurselevel} > {\placeFgBg{sumvouch.\iterator}} > {\exitloop}} I like that. I assume that I should replace "\iterator" with another "\recurselevel". --Ed Cashin PGP public key: ecashin@coe.uga.edu http://www.coe.uga.edu/~ecashin/pgp/