[comp.text.tex] TeX Phonelist Program.

dgreen@arnor.uucp (02/10/91)

A number of people have sent me personal mail asking for my TeX
phonelist program.  Apparently my name appeared in a summary of
TeX software posted to this newsgroup.

1. Do not send me personal mail, unless you are supplying fixes to my
   program.  I don't have time to respond to individual requests.
2. To the person who posted my name as the source for this file, remove
   my name from your informative posting, please.
3. You can obtain a copy of the phone program this way:

     anonymous ftp to sun.soe.clarkson.edu (128.153.12.3)
     cd tex/tex-style
     get phone.tex

____
\  /Dan Greening	IBM T.J.Watson Research Center	 NY (914) 784-7861
 \/ dgreen@ibm.com	Yorktown Heights, NY 10598-0704	 CA (213) 825-2266

raymond@math.berkeley.edu (Raymond Chen) (02/11/91)

In article <1991Feb10.143323.1817@arnor.uucp>, dgreen@arnor writes:
>Apparently my name appeared in a summary of
>TeX software posted to this newsgroup.

Perhaps I should take this opportunity to clarify how information gets
included in the Supplementary TeX Information document.

If you post an article saying `foo.sty is now available for anonymous ftp
from bar.baz.fish', then that information will go into the Supplement and
not your address.

If you post source code but say somewhere in the article `this style file
is also available for anonymous ftp from bar.baz.fish', then the ftp
information goes into the Supplement and not your address.

If you post source code that you yourself wrote and don't say where it can
be obtained via ftp, I assume that it is not available via ftp and will
list your email address in the supplement.  (On the theory that the only
way to get it is through you.)

Moral of the story:  If you've written something useful, upload it
somewhere so that everybody can access it.

em@dce.ie (Eamonn McManus) (02/11/91)

Here's a hacky set of macros that I use to typeset short (one or two pages)
phonelists.  The input file has three fields, separated by tabs.  If the
first field is empty that line is grouped with the line above; otherwise a
little extra space is introduced.  If the middle field is to be empty, a ~
or other filler must be employed there.  Comments begin with #.  \' is
redefined so that if the accented letter is an i, a dotless version is
used; this is probably only of use in Ireland.

Here's a typical entry:

\'Eamonn McManus	6 Tivoli Tce Sth, D\'un Laoire		807230
			Datacode, Pottery Rd			840660

I've a separate specialised grep that prints out an entire entry when any
one of its lines matches a keyword.

____ ,
\  / Eamonn
 \/

% phone.tex - format the file `phonelist'
% By \'Eamonn McManus, 1989 sometime.  This file is not copyrighted.

\nopagenumbers \sfcode`.=1000 \vsize=9.5in
\catcode9=\active \catcode13=\active \endlinechar=-1 % For now.
\def^^I{&\skiptabs}
\def\skiptabs#1{\ifx^^I#1\let\next\skiptabs \else \let\next#1\fi \next}
\let\fada=\' \def\'#1{\expandafter\fada \if#1i\i\else#1\fi}

\def\preamble{\check##\relax\strut\hfil\qquad &
     ##\hfil\qquad & ##\hfil}
\def\check#1{\if \relax #1\else \vrule height 3ex width 0ex #1\fi}
\catcode`\#=\catcode`\% # Standard comment character
\catcode`\&=12
\global\catcode`\$=12 \global\catcode`\%=12 #
\endlinechar=13 \let^^M=\crcr #
#
# We eat the entire phonelist as a \halign.  This is only practical for
# relatively small lists.  Longer ones should either use fixed tab positions
# or do very tricky things with output routines and two-pass scanning in
# order to arrange for every page to be its own \halign.
\halign\expandafter{\preamble \cr #
\input phonelist } \bye