[comp.text.tex] TeX 3.0 on DECStation: Some Notes

hgschulz@ecs.umass.edu (08/23/90)

These are some notes regarding the installation of TeX 3.0 that 
complement the instructions included with web2c. Hope somebody
finds them of use.

Unix-flavored TeX 3.0 on DECStations 3000/5000: Some experiences
================================================================
(Ultrix 4.0, cc 2.0)

The Unix TeX distribution from the University of Washington is out of
date (TeX 2.95, ctex 2.21). Also, my tar had problems on the last part
of the archive (directory checksum error) that re-FTPing would not fix. 

It seem preferable to obtain web2c-5.0c.tar.Z from sun.soe.clarkson edu
(directory pub/web2c) and the following TeX-related files from clarkson
or labrea.stanford.edu: 

For TeX: [clarkson: pub/tex-sources]
  - tangle.web (Version 4, Sept. 1989, from clarkson, /pub/web)
  - tex.web (3.0, March 1990)
  - plain.tex (fmtversion 3.0)
  - hyphens.tex (dated 1984)
For LaTeX [clarkson: pub/lamport]
  - latex.tex (2.09, 07-Dec-89)
  - lplain.tex (20-Oct-88)
  - lfonts.tex
  - article.sty, art??.sty, etc.
For Slitex: [clarkson: pub/lamport]
  - splain.tex (11-Oct-87)
  - sfonts.tex
  - slides.sty (17-Jan-86)
To use new font information: [clarkson: tex-misc]
  - vftovp.web
  - vptovf.web
  - dvips533.tar.Z [labrea: pub]
  (this is incomplete; any hints are welcome)

COMPILATION of web2c and TeX:
-----------------------------
GNU C (1.37.1) will not compile web2cl.c (complains about redefinition
of symbols) and extra.c (type incompatibilities). Thus, the MIPS cc
compiler needs to be used. 

*** NOTE: On the DECstation, the -O (optimizer) flag will cause strange
errors when using TeX or LaTeX (text after math equations until end of
paragraph simply vanishes or math mode will not work at all). Things 
work fine (so far...) without optimization. (Thanks to Dan Barrett for
pointing this out.)

Creation of formats
-------------------
The standard-sized version of initex will not compile lplain (hash table 
overflows). Apply the bigtex patches in the tex subdirectory using the 
'patch' program. Thus, also change the glueratio type in site.h.
The executables for the 16-bit and 32-bit version differ by only 20 
bytes.

$ strip initex                   # saves about 140 KBytes
$ mv initex   /usr/local/bin     # or local equivalent
$ strip virtex
$ mv virtex   /usr/local/bin  
$ mv tex.pool /usr/local/lib/tex

Use the following makefile in the tex/inputs directory to create TeX
and relatives:
----------- cut here ---------
# makefile for TeX and relatives -- 08/23/90 (hsr)
BIN = /usr/local/bin        # change to suit
SUFFIXES: .tex .fmt
tex.fmt:
	echo $* > initex.bat
	echo \\dump >> initex.bat
	initex < initex.bat
	rm initex.bat
	mv $*.fmt ../formats

all: TeX latex slitex

TeX: plain.fmt
	cd ../formats; test -f tex.fmt || ln -s plain.fmt tex.fmt
	cd $(BIN); ln -s virtex tex

latex: lplain3.fmt
	cd ../formats; test -f latex.fmt || ln -s lplain3.fmt latex.fmt
	cd $(BIN); ln -s virtex latex

slitex: splain3.fmt
	cd ../formats; test -f slitex.fmt || ln -s splain3.fmt slitex.fmt
	cd $(BIN); ln -s virtex slitex
----------- cut here ---------

Henning Schulzrinne
University of Massachusetts