[comp.sys.atari.st] TEX.TTP and DVIST etc

DERMOTT@XX.DREA.DND.CA (Dave Dermott) (10/20/88)

Re TEX on ST 
  The port of TeX executables I send to cleo.math.lsa.umich.edu should
not be considered a complete TeX system but as a supplement for those
who already have access to TeX on other systems.  The complete system is
"freely" available from several sources ( if you consider hours of
downloading files free) The main FTP source is SCORE.STANFORD.EDU.  All
of Tex  except the executables is system independent. 

    It isn't too hard to get a working TeX together on the ST.  The
building of PLAIN.FMT with INITEX is described on page 344 (Appendix B)
in "The TeXBook".  To build PLAIN.FMT you need PLAIN.TEX, HYPHEN.TEX and
the 16 TFM files listed on page 350 .  Then put PLAIN.FMT in the
appropriate directory ( \tex\ is default).  If you are going to use any
fonts not loaded with INITEX you will need those TFM files and put them
in \tex\tfm\ ( NOTE to download the TFM files in binary mode)

   Building LATEX is more involved.  In addition to the above you need
LPLAIN.TEX, LFONTS.TEX, LATEX.TEX and about 40 TFMS listed in
LFONTS.TEX.  INITEX is run as above except substitute LPLAIN for PLAIN. 
Now you need style files - the standard ones are ARTICLE.STY( with
ART10, ART11, ART12) and REPORT.STY but there are many more.  Put the
STYs in directory \tex\inputs\ LATEX is run by command :
 TEX &LPLAIN filename.TEX

   I sent PLAIN.FMT and LPLAIN.FMT plus sample style files to cleo. 
That should be enough for a start butif possible the FMT files should be
rebuilt to be up-to-date. 

  Along with DVIST this should make a workable system

   Another problem that has come up is that there is not enough memory
on a 1 meg system to run TeX with the lastest version of GULAM.  I don't
use GULAM much.  I set the size (MEMMAX) of the mem[] array in TeX to
65535 ( the maximum) and I had about 200k free.  I tested it with an old
version of GULAM (dated March 1987) but apparently the new GULAM uses a
lot more memory.  I could possibly recompile TEX and set MEMMAX to 50000
or even make a runtime option (eg.  TEX -m=50000 test.tex) It is handy
to be using a CLI-shell that can set environment variables.  THe
PCOMMAND program (MSDOS like) should work.  I'm using my own CLI shell
which is still a little buggy for general use. 

 Re DVIST and DVI EPSON

   The TeX previewer DVIST, with C sources, is currently available on
netlib@lakesys, comp.sources.atari.st and cleo.math.lsa.umich.edu
[35.195.16.4] ( that name may change shortly)

   Getting all the PK fonts you will ever use is difficult. If you
have access to METAFONT you can generate them. The fonts now
distributed with the DVIVGA package (for EGA and VGA PC's) should also
work although the sizes (pixels per inch) are different. The sizes are
92,100,110,... while DVIST by default looks for 96,105,115,...  Using
the -v=92 or -v=100 option should work. The font naming convention is
also different . You have to rename \92\cmr10.pk to \cmr10\92pk etc.
The DVIVGA package is available by FTP from b.scs.uiuc.edu
[128.174.90.2] Beware that there are over 1Mbyte of ARC files (You need
PKUNARC or equivalent) You probably wont need the PK sizes 250 and 300
( although those sizes would be useful for LASER printers) Another PC
previewer DVIEW uses the same font set ( at 96 ppi) although the
current version uses the old PXL format instead of PK . You have to
run PXTOPK or PKTOPX to convert between the two.  WEB and C versions
of those programs are available at SCORE.

   THE DVI-epson driver I was thinking of is part of the PD DVI family
available at SCIENCE.UTAH.EDU on APS:[TEX.DVI] .  These are C sources
for many devices, the Mark Williams C compiler on ST is supported.  I
haven't attempted to compile it yet with buggy old MEGAMAX.  (with
access to 5 lasers at work there has been little incentive) They do have
MSDOS executables for DVIEPS and several other devices (in DVIEXE.ARC). 
There was also a sample output file from DVIEPS (STORY.DVI-EPS) which I
downloaded and printed and it looked good .  It took 2 minutes and 45
kbytes to print 5 lines of text at 240 pixels/inch. 

   I did manage to recompile DVIST and added a low res EPSON print
feature (its just a glorified screen dump). I could post that if nothing
better comes along (the authors of DVIST were planning to add EPSON 
and ATARI LASER drivers).

David Dermott DERMOTT@xx.drea.dnd.ca

-------