From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1169 Path: main.gmane.org!not-for-mail From: ecashin@coe.uga.edu (Ed L. Cashin) Newsgroups: gmane.comp.tex.context Subject: Re: temp file name conflicts in unattended document generation Date: 08 Nov 1999 11:53:22 -0500 Sender: owner-ntg-context@let.uu.nl Message-ID: References: <14366.46860.138989.757342@PC709.wkap.nl> <38213CFC.53BB@wxs.nl> <3821B4CE.60EC@wxs.nl> <38233624.5177@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 1035392007 30483 80.91.224.250 (23 Oct 2002 16:53:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:53:27 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: pragma@wxs.nl Xref: main.gmane.org gmane.comp.tex.context:1169 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1169 Hans Hagen writes: > Ed L. Cashin wrote: > > > That is an ambitious goal. BTW, last night I gave a presentation on > > perl programming to UGA's ACM, and many people there were very > > I suppose you are aware of > > \startPL > sub SomePerl > { $this = "nothing" } > \stopPL > > which combined with \setupcolor[state=start] gives you a more fancy > output. No, I wasn't aware of that feature. It's very interesting. I was using a method like this: \def\displayfile#1#2{% \startlinenumbering \typefile{#1} \stoplinenumbering\page} (#2 was a short name, its use is not shown here) I very much like the way it handles tabs. I compared the two methods: http://www.coe.uga.edu/~ecashin/temp/perltest/ ... and I noticed that the formatting looks nicer with \typefile because of the way it handles tabs. Tabs are kind of weird. I should look at the code for \typefile for educational purposes. The green in the \startPL version is a bit hard to read, but I suppose that's configurable. -- --Ed Cashin PGP public key: ecashin@coe.uga.edu http://www.coe.uga.edu/~ecashin/pgp/