UKTeX V89 #22       Friday 19 June 1989

                                  Various
                            DVI ID byte for IVD
                               DVItoVDU in C
                               UKTeX V89 #21
             mac vs psfig, truesizes, getting afms, oz.config
                              packPS utility
                       Microsoft `Rich Text Format'
                        TeX-Euro distribution list
                               Re:  DVItoVDU
                      Previewer for VAXstation 3100?
                         Computer Modern Redivivus
                             Spirits and hacks

Editor Peter Abbott


Latest TeXhax in the Archive is #52
Latest TeXmag in the Archive is V3N3


---------------------------------

FROM: MIKE BLACK
      THE TEXT FORMATTING COMPANY
      14 OSBALDESTON ROAD, LONDON N16 7DP  TEL: 01-806 1944
                                                ^^^^^^^^^^^
   (number discovered to have been changed to   01-802 4470 by
    Brian {Hamilton Kelly} <tex@uk.ac.cranfield.rmcs> 90/04/06)

A FEW ITEMS FOR THE NEXT UKTEX.

SUBJECT: TEX FOR ATARI ST (/19)

THERE IS A VERSION OF TEX FOR THE ATARI WHICH WILL BE AVAILABLE
FROM US IN EARLY JULY. IF MICHAEL STANTON'S NEED IS URGENT I CAN
PUT HIM IN TOUCH WITH TOOLS GMBH, THE SOFTWARE HOUSE RESPONSIBLE
FOR THE IMPLEMENTATION.

SUBJECT: DESKJET DRIVERS (/19)

WE HAVE DESKJET/LASERJET DRIVERS FOR UNIX I.E. C SOURCE, IBM
PC'S, AMIGA AND ATARI ST'S.

SUBJECT: TEX FOR PC'S (/20)

IN ADDITION TO TURBOTEX, SO KINDLY MENTIONED BY SEBASTIAN RAHTZ,
WE CAN NOW PROVIDE MICROTEX USERS WITH THE LATEST UPGRADE AND
ALSO THE FULL RANGE OF ARBORTEXT DRIVERS AND PREVIEWERS.

SUBJECT: DVIPCX / DVITIF DRIVERS (/20)

PC DOS VERSIONS OF DVI TO PCX (PUBLISHERS PAINTBRUSH FORMAT) AND
DVI TO TIFF ARE AVAILABLE AND WILL ALLOW TEX .DVI FILES TO BE
INCORPORATED INTO CONVENTIONAL DTP PROGRAMS SUCH AS PAGEMAKER OR
VENTURA.

REGARDS

NNNN
8950511ONEONE G
338425 ASTUCC G

---------------------------------

Received: from UKACRL by UK.AC.RL.IB (Mailer X1.25) with BSMTP id 9125; Sat, 10
          Jun 89 18:52:27 BS
Received: from UICVM by UKACRL.BITNET (Mailer X1.25) with BSMTP id 4757; Sat,
          10 Jun 89 18:52:26 B
Received: by UICVM (Mailer R2.03B) id 7975; Sat, 10 Jun 89 12:53:07 CDT
Date:     Sat, 10 Jun 89 12:49:54 CDT
From:     Don Hosek <U33297@EDU.UIC.UICVM>
Subject:  DVI ID byte for IVD

I've just received official word from Don Knuth that TeX-XeT output
(IVD) should have an ID byte of 3. Spread the word.
 
- -dh
 
    -------------------+-----------------------------------------------
    Don Hosek          | Internet: U33297@UICVM.UIC.EDU
    3916 Elmwood       | Bitnet: U33297@UICVM.BITNET
    Stickney, IL 60402 |         DHOSEK@YMIR.BITNET
    Work: 312-996-2981 | UUNet: dhosek@jarthur.claremont.edu
    ERASE * SCRIPT *   | JANET: U33297%UICVM.UIC.EDU@UK.AC.EARN-RELAY
    -------------------+-----------------------------------------------
                      Never give a gun to ducks

---------------------------------

Received: from lena by kestrel.Ukc.AC.UK   with UUCP  id aa13746;
          12 Jun 89 11:17 BST
Received: from kernel by lena with netmail(8.5); Mon Jun 12 09:59:14 BST 1989
From: Mark J Hewitt <mjh@uk.co.kernel>
Date: Mon, 12 Jun 89 09:38:19 +0100 (BST)
Message-Id: <25747.8906120838.marvin@kernel.co.uk>
Subject: DVItoVDU in C

There has been a lot of talk about this previewer and its host language -
Modula-2.  Well, we have an almost working translation of Andrew
Trevorrow's DVItoVDU in BSD UNIX C.  We have tested the VT220, VT640 and
ANSI drivers, and provided another for the Falco 5220e, which is very
common in our organisation.

We are adding an ability to handle PK format fonts as well as PXL format,
and when it is fully debugged (:-}) and the code tidied, I will release it
into the Aston archive.  We are also considering a System V UNIX port.

I hope this will be useful to the non Modula-2 sites using TeX, or those
(like ourselves) with lots of machines without Modula-2, and only one with.

Watch this space!

Mark J. Hewitt

usenet: ...!{mcvax,uunet}!ukc!kernel!mjh        JANET:  mjh@uk.co.kernel
voice:  (+44) 532 444566                        other:  mjh@kernel.co.uk
fax:    (+44) 532 425456           old style: mjh%uk.co.kernel@uk.ac.ukc
paper:  Kernel Technology Ltd, Development Centre, 46 The Calls, Leeds,
        LS2 7EY, West Yorkshire, UK

---------------------------------

From: Sebastian Rahtz <spqr@uk.ac.soton.ecs>
Date: Mon, 12 Jun 89 18:21:22 BST
Message-Id: <2168.8906121721@hilliard.ecs.soton.ac.uk>
Cc: stg@uk.ac.warwk.maths
In-Reply-To: ABBOTTP@UK.AC.ASTON's message of 9-JUN-1989 15:34:06 GMT <1326.8906091432@hilliard.ecs.soton.ac.uk>
Subject: UKTeX V89 #21

   [tex-archive]000directory.listing) I could not find any reference to
   SBTeX.  I have found DosTeX but would like to compare SBTeX to DosTeX.

fooled again. its [tex-archive.tex.pc]sbtex.arc (or .boo), as opposed
to being in a directory of its own....

Sebastian Rahtz

---------------------------------

From: Sebastian Rahtz <spqr@uk.ac.soton.ecs>
Date: Mon, 12 Jun 89 18:51:40 BST
Message-Id: <2423.8906121751@hilliard.ecs.soton.ac.uk>
In-Reply-To: ABBOTTP@UK.AC.ASTON's message of 9-JUN-1989 15:34:06 GMT <1326.8906091432@hilliard.ecs.soton.ac.uk>
Subject: mac vs psfig, truesizes, getting afms, oz.config

Peter wants to print Mac files:

   only common denominator is the file produced by a clover-leaf f or k 
   command when using print (i.e capturing the output as sent to the 

decent applications have a `print to encapsulated PostScript file'
option (Pagemaker, for example). even when you get it to work, its no
mean feat hacking the resulting mess of Quickdraw definitions in the
PostScript header.

+++Editor - I still have problems with Digital Darkroom's EPS files. I 
still say the only common denominator is the clover-leaf f file. Ken Yapp 
has sent me code which will hopefully be converted to work on VAX VMS and 
MS DOS systems by the archive group.+++

   lengths, that cr is required as well as lf), movable between systems with 
   kermit or similar so that they can be included with \special. I have tried 
I move PostScript files around between Mac and Unix, and editing has
never been a problem. I'm not sure what the issue is here

+++Editor - files with records greater than 255 characters present 
problems.+++

   PSfig but it generates specials in a form incompatible with Andrew 
   Trevorrows implementation of PSprint.

That should be a trivial hack to psfig; if someone sends me details of
what \special's psprint supports, and what the syntax is, I'll do it
if no-one else has

+++Editor - Information sent +++

Phil Taylor says
   Sebastian also refers to "lfonts.truesizes", and generating miscellaneous
   LaTeX fonts at 1270dpi.  At yesterday's Phototypesetter User Group meeting,
   Malcolm Clark asked for just such fonts; could you lodge a copy with 
   Martin Powell <Martin@Uk.Ac.Ulcc.Typeset>, please Sebastian ?

dunnit. also in [tex-archive.latex.contrib]lfonts.moretrue. or do you
mean the .pk files? aaargh..... these are Unix versions, and won't
work on your Vaxes, remember (file formats).

Graham Toal says

   and I'm sure I have a pl to tfm somewhere, but where do I get the
   afm files?  What Ireally want is to generate those by running a
   bit of postscript in the printer which sends back an afm file.

This is what he wants, yes?

%!
% $Header: /u/jjc/dvitops/RCS/printafm.ps,v 1.1 89/02/01 09:19:41 jjc Rel $
% written by James Clark <jjc@jclark.uucp>
% print an afm file on the standard output
% usage is `fontname printafm' eg `/Times-Roman printafm'

/buf 256 string def
/onechar 1 string def
/box 4 array def

% c toupper - c
/toupper {
        dup dup 8#141 ge exch 8#172 le and { 
                8#40 sub
        } if
} bind def


% dict printinfo -
/printinfo {
        /FontInfo get {
                exch
                buf cvs dup dup 0 get 0 exch toupper put print
                ( ) print
                buf cvs =
        } forall
} bind def

% dict printbbox -

/printbbox {
        (FontBBox) print
        /FontBBox get {
                ( ) print
                round cvi buf cvs print
        } forall
        (\n) print
} bind def
        
% dict printcharmetrics -

/printcharmetrics {
        /d exch def
        (StartCharMetrics ) print
        d /CharStrings get dup length exch /.notdef known { 1 sub } if =
        d 1000 scalefont setfont 0 0 moveto
        /e d /Encoding get def
        0 1 255 {
                dup e exch get
                dup /.notdef ne {
                        exch dup printmetric
                } {
                        pop pop
                } ifelse
        } for
        % s contains an entry for each name in the original encoding vector
        /s 256 dict def
        e {
                s exch true put
        } forall
        % v is the new encoding vector
        /v 256 array def
        0 1 255 {
                v exch /.notdef put
        } for
        % fill up v with names in CharStrings
        /i 0 def
        d /CharStrings get {
                pop
                i 255 le {
                        v i 3 -1 roll put
                        /i i 1 add def
                } {
                        pop
                } ifelse
        } forall
        % define a new font with v as its encoding vector
        d maxlength dict /f exch def
        d {
                exch dup dup /FID ne exch /Encoding ne and { 
                        exch f 3 1 roll put
                } { 
                        pop pop 
                } ifelse
        } forall
        f /Encoding v put
        f /FontName /temp put
        % make this new font the current font
        /temp f definefont /d exch def
        d 1000 scalefont setfont
        % print a entry for each character not in old vector
        /e d /Encoding get def
        0 1 255 {
                dup e exch get
                dup dup /.notdef ne exch s exch known not and { 
                        exch -1 printmetric
                } { 
                        pop pop
                } ifelse
        } for
        (EndCharMetrics) =
} bind def

% name actual_code normal_code printmetric -

/printmetric {
        /saved save def
        (C ) print
        buf cvs print
        ( ; WX ) print
        onechar 0 3 -1 roll put
        onechar stringwidth pop round cvi buf cvs print
        ( ; N ) print
        buf cvs print
        ( ; B ) print
        onechar false charpath flattenpath pathbbox box astore {
                round cvi buf cvs print
                ( ) print
        } forall
        (;) =
        saved restore
} bind def

% fontname printafm -

/printafm {
        findfont /d exch def
        (StartFontMetrics 2.0) =
        (FontName ) print d /FontName get =
        d printinfo
        d printbbox
        d printcharmetrics
        (EndFontMetrics) =
} bind def


      Is this what happens or am I being na\"\i ve?  I think there are

why not just ask Adobe for a disk full of .afm files? they give them
away readily


Oztex
-----

Lots of people have asked where oz.config is, for OzTeX. mea culpa, I
think it was in the braindead OZTEX.HQX archive, and I didn't realize.
anyway, its now in the archive as a straight ASCII file
 [tex-archive.tex.pc.oztex]oz.config


Sebastian Rahtz

---------------------------------

Received: from robin.cs.nott.ac.uk by much.Cs.Nott.AC.UK id aa00819;
          14 Jun 89 15:37 BST
Received: from clan by Robin.Cs.Nott.AC.UK id aa04702; 14 Jun 89 15:34 BST
Subject: packPS utility
Date: Wed, 14 Jun 89 15:33:39 BST
From: David Osborne <cczdao@uk.ac.nott.clan>
Message-ID:  <8906141533.aa06483@clan.nott.ac.uk>

for those dealing with PostScript, the files PACKPS.{C,1,COM,BOO,TXT}
in [tex-archive.utils] may be of interest.

packPS is a utility written by Glenn Reid of Adobe Systems Inc. to pack
a file of PostScript into a smaller number of bytes by removing redundant
spaces and formatting; the original version also removes comments.

packPS.c is a slightly modified version which i produced to
- run correctly under VAX/VMS (ours is vms 5.1);
- retain comments, depending on whether ALLOWCOMMENTS is #define'd in the
  source to be TRUE or FALSE (not very elegant, i know).

packPS.1 is the Unix man page; .com is a VMS DCL command file to build
the executable from the source; .boo is a BOO-encoded distribution for
MS-DOS systems; and .txt is a description largely duplicating this note.
i didn't produce the .boo file, so please don't report any problems with
it back to me.

dave
- --
     David Osborne       |   JANET: d.osborne@uk.ac.nott.clan
 Cripps Computing Centre |  BITNET: d.osborne%uk.ac.nott.clan@ukacrl.bitnet
University of Nottingham |Internet: d.osborne%uk.ac.nott.clan@nsfnet-relay.ac.uk
 Nottingham NG7 2RD, UK  |  (Phone: +44 602 484848 x2064)

---------------------------------

Received: from robin.cs.nott.ac.uk by much.Cs.Nott.AC.UK id aa00848;
          14 Jun 89 15:40 BST
Received: from clan by Robin.Cs.Nott.AC.UK id aa04782; 14 Jun 89 15:40 BST
Subject: Microsoft `Rich Text Format'
Date: Wed, 14 Jun 89 15:39:58 BST
From: David Osborne <cczdao@uk.ac.nott.clan>
Message-ID:  <8906141540.aa06652@clan.nott.ac.uk>

using a copy of MS Word 3 on a Mac recently, i saved the document in
RTF (`Rich Text Format') and was surprised to see how LaTeX-like it looked.
i have vague recollections of someone mentioning a connection between
the two;  i don't suppose there's a RTF->LaTeX translator to be had anywhere?

dave
- --
     David Osborne       |   JANET: d.osborne@uk.ac.nott.clan
 Cripps Computing Centre |  BITNET: d.osborne%uk.ac.nott.clan@ukacrl.bitnet
University of Nottingham |Internet: d.osborne%uk.ac.nott.clan@nsfnet-relay.ac.uk
 Nottingham NG7 2RD, UK  |  (Phone: +44 602 484848 x2064)

---------------------------------

Received: from UKACRL by UK.AC.RL.IB (Mailer X1.25) with BSMTP id 6514; Wed, 14
          Jun 89 15:51:07 BS
Received: from DHDURZ1 by UKACRL.BITNET (Mailer X1.25) with BSMTP id 1611; Wed,
          14 Jun 89 15:51:07 B
Received: by DHDURZ1 (Mailer R2.03B) id 0965; Wed, 14 Jun 89 16:48:32 CET
Date:     Wed, 14 Jun 89 16:48:11 CET
From:     Joachim Lammarsch <RZ92@EARN.DHDURZ1>
Subject:  TeX-Euro distribution list

 
 
Dear TeX friends,
 
to communicate with other TeX users there are a lot of possibilities:
 
- TUGboat
- TeXhax
- UKTeX
- TeXmag
 
These are all digests and the UKTeX is the only one which appears weekly
(TUGboat three or four times a year, TeXhax in uncertain periods and
TeXmag sporadicly).
 
Three further lists are used in Europe (EARN):
 
- GUT
- TEX_D-L
- TEX_D-PC
 
These are lists, which distribute each note (mail) separately. The languages
which are used, are French and German. That's all I know.
 
In my opinion no real European list exists distributing each note (mail) sepa-
rately and at once. Therefore I am trying to start a list for use in whole
Europe. The language should be different (not only English, French or German).
To my mind onyone should use the language which is necessary to solve his
problem. For example a Spanish TeX user having a question concerning only
Spanish affairs means it's only about interest for Spanish people. Then he
can (should) use his own language. On the other side he can use the
English language hoping for more help. I suppose that the most TeX users in
Europe are understanding this language.
 
So we'll be able to use English as the only language, but considering
that Europe is a multilingual continent, we should also use the other ones
if it will be useful.
 
I have named the list
 
    TEX-EURO
 
and it is installed at the
 
    LISTSERV at DHDURZ1
 
For subscribing you should send the command
 
    SUB TEX-EURO your_name
 
to your nearest listserver or to LISTSERV@DHDURZ1.
 
The list is thought for use in Europe, but all TeX users outside are in-
vited to join to it, if they are interested in.
 
I hope that TEX-EURO is a possibility for all the TeX people in Europe, all
the European national groups to get in touch for a better cooperation.
 
With kind regards
Joachim Lammarsch
(Chairman DANTE)
Acknowledge-To: <RZ92@DHDURZ1>

---------------------------------

Received: by uk.ac.ox.prg (4.12/prgv.37)
        id AA20580; Thu, 15 Jun 89 14:10:41 bst
Message-Id: <8906151310.AA20580@uk.ac.ox.prg>
Date:    Thu, 15 Jun 89 14:11:54 +0100
From: Charles Curran  <charles@oxcnvx>
Organization: Oxford University Computing Service, UK
Return-Receipt-To: charles@oxcnvx
Subject: Re:  DVItoVDU
Cc: UK TeX bods<info-TeX@Aston>

        >>DVItoVDU ... There are versions in C 
        
        >I for one would be very interested to learn of a version of DVItoVDU
        >in C.  Do you know more?
Sorry, I boobed.  I do NOT know of a C version.  
However, as mentioned earlier, there is a (Unix) Pascal version in the archive.

- --Charles Curran.

---------------------------------

Received:
          from UKACRL by UK.AC.RL.IB (Mailer X1.25) with BSMTP id 6644; Fri, 16
               Jun 89 10:29:56 BS
Received:
              from HNYMPI52.BITNET (GAVIN) by UKACRL.BITNET (Mailer X1.25) with
               BSMTP id 7229; Fri, 16 Jun 89 10:29:56
Date:          Fri, 16 Jun 89 11:24 N
From:          <GAVIN@EARN.HNYMPI52> (Gavin Burnage)
Subject:       Previewer for VAXstation 3100?
X-Original-To: INFO-TEX@ASTON.AC.UK, GAVIN

I am the proud new user of a VAXstation 3100 (running with DECwindows,
VMS version 5.1). My LNO3 Laser printer and I have had a long and
fruitful association, but recently we've been seeing a bit too much of each
other. On top of that, my tree diagrams usually take at least a treeful of
paper before I get them right.
 
What I would like is an efficient previewer.
 
Anyone know of anything suitable?
 
 
Gavin Burnage                           Reply to:
Centre for Lexical Information           EARN/BITNET: gavin@hnympi52
University of Nijmegen                   JANET: gavin%hnympi52@uk.ac.earn-relay
Wundtlaan 1
6525 XD  NIJMEGEN                       Telephone:
The Netherlands                               31-(0)80-515797 (work)

---------------------------------

From: Sebastian Rahtz <spqr@uk.ac.soton.ecs>
Date: Fri, 16 Jun 89 11:45:06 BST
Message-Id: <20170.8906161045@hilliard.ecs.soton.ac.uk>
Subject: Computer Modern Redivivus

I have just got back my first real samples of CMR at 1270 dpi on a
phototypesetter; rather an eye opener - I finally see some virtue in
the font. Its just  a shame it falls down so badly at 300dpi.

If anyone out there in uktexland wants a set of 1270 dpi .pk files for
use with ULCC's linotron, you can FTP them from (eg)

 <TEX>pk1270/cmr10.1270pk@uk.ac.soton.ecs

username: guest
password: yourname@yoursite

This a Unix machine; I do not know if VMS users will be able to use the
format of the .pk files.

 <TEX>pk1270/00files.lis

contains a list of the file names

I will not put these up at Aston just yet, as I have not yet finished
building  a complete set of all the fonts I possess, and I am not 100%
sure I have got the best mode defs

sebastian rahtz, computer science, southampton

---------------------------------

Date:         Fri, 16 Jun 89 12:13:53
From:         Mike Piff  <PM1MJP @ SHEFFIELD.PRIMEA>
Subject:      Spirits and hacks

Sebastian Rahtz made the comment, in UKTeX  #21,  that  including  numerals  in
control words was against the spirit of TeX.

I should like to know exactly what everyone out there thinks the spirit of  TeX
is?   As  far as I can see, TeX is one big hack from beginning to end.  Anybody
who has read The TeXbook could hardly fail to  agree  with  that,  could  they?
Look  at  the  mess  involved  in  getting  TeX to do Knuth's indexing;  or the
garbage necessary to put solutions at the end of the  book.   Try  reading  the
LaTeX  macros  in  source,  and compare that with reading the average Pascal or
Modula2 program, and see if you are not convinced.

I am sure that if Knuth had intended TeX to have been  anything  other  than  a
hack,  he would have designed a structured language from the very start.  Is it
not just possible that he ENJOYED having TeX the way it is?   Otherwise,  I  am
sure he would have written LaTeX instead.

I agree that Knuth indicates that changing catcodes is to be  discouraged,  but
if  you look at the number of times Knuth resorts to changing catcodes, you may
get the impression that it is quite a  common  necessity  in  defining  macros!
LaTeX  would hardly survive without \makeatletter, either, since the user would
constantly be redefining LaTeX' internal macros.

The problem of Ullah turned out to have  a  simple  solution  without  changing
catcodes at all.  This \csname...\endcsname hack is also used all over LaTeX.

Don't get me wrong, I love TeX!  But I think we should consider it as the  only
tool  around  at  the  moment  to  do  the  job,  rather  than the last word in
structured document preparation.

   Mike Piff

From        +-------------------------------------+
            | Dr M. J. Piff,                      |
            | Department of Pure Mathematics,     |
            | University of Sheffield,            |
            | The Hicks Building,Hounsfield Road, |
            | SHEFFIELD S3 7RH,England.           |
            | Tel. SHEFFIELD(0742)768555 Ext 4431 |
            | JANET address: PM1MJP@UK.AC.SHEF.PA |
            |           or   PM1MJP@UK.AC.SHEF.IBM|
            +-------------------------------------+

---------------------------------

!!
!!   Files of interest 
!!      [tex-archive]000aston.readme           [tex-archive]000directory.list
!!      [tex-archive]000directory_dates.list   [tex-archive]000directory.size
!!      [tex-archive]000last30days.files
!!
!! Editor - I have a tape labelled TeX 2.95 LaTeX 2.09 Metafont 1.7
!! Unix 4.2/3BSD & System V. Tar 1600 bpi blocked 20 1 file dated 
!! 30 January 1989 (from washington.edu). 
!!
!!  FTP access site               uk.ac.aston.tex
!!             username           public
!!             password           public
!!
!! I have the facility to copy this tape for anyone who sends the following
!! 1 2400 tape with return labels AND RETURN postage. (2.50 pounds sterling 
!! for UK users, payable to `Aston University') Outside UK please ask me.
!! UK users send 4.25 for two tapes or 6.60 for three tapes. 
!! Send to
!!
!! P Abbott
!! Computing Service
!! Aston University
!! Aston Triangle
!! Birmingham B4 7ET
!!
!! A VMS backup of the archive requires 2 (two ) 2400' tapes at 6250bpi.
!! Remaining details as above.
!!  
!! Exabyte tape drive with Video 8 cassettes.
!! 
!! Same formats available as 1/2in tapes.  We use the following tapes
!! SONY Video 8 cassette  P5 90MP, MAXCELL Video 8 cassette P5-90
!! TDK Video 8 cassette P5-90MPB
!! Postage 35p UK (stamp please), 1 pound sterling Europe, other areas 2 pounds
!!
!! OzTeX - Send 10 UNFORMATTED disks with return postage.
!!
!!  Replies/submissions to            info-tex@uk.ac.aston   please
!!  distribution changes to   info-tex-request@uk.ac.aston   please 
!! 
!!   end of issue