glenn@extro.ucc.su.oz.au (G Geers) (02/13/90)
Hi, I'm glad that people have found my original announcement useful. I have received a *lot* of replies. I have a feeling that Common TeX may have been posted to one of the source groups previously (I didn't write it !). However, I will post it to THIS group or comp.sources.d - we don't get alt.sources - any suggestions ? Please keep this posting - I will now mention a few things you will need to get TeX going. 1. All the .tex files (e.g. plain.tex, lplain.tex, hyphen.tex, etc.). These are used to generate the .fmt files. On a 32 bit machine expect lplain.fmt to be about 400k and plain.fmt to be about 200k. 2. All the .tfm (font metrics) used by both initex and virtex. 3. All the .sty files that you like. The system wide directories for these things are compiled into the code. Search for the string "usr" in the header files to see what you need to change. Put all the .[sty, tfm, tex] files in the directories you specified. To get a working version of TeX you must: 1. Edit the Makefile to reflect the wordsize of your machine (-DBIG - 32 bit, -DBIGG - 64 bit (Crays ??) - not tried, not defined 16 bit - not tried) 2. Do the same to Makefile.initex (this is just the same Makefile as above with a -DINITEX and the target binary set to initex). 3. make -f Makefile.initex (Don't change the optimization switch, you'll regret it !) 4. make (yields the REAL binary, virtex) 5. say initex, you'll get: This is Common TeX, version 2.1.1 (INITEX) ** You then type at the ** prompt \input plain <cr> If you've done everything right you'll get a lot of chatty output about what's going on and then * at this point you type \dump <cr> initex will terminate and leave you a file called plain.fmt - keep this ! Repeat the procedure for lplain. The result is lplain.fmt. Put both these files in the system wide directories you defined before you compiled the code. Now stick virtex in some directory and make it publically accessable (I use /usr/lbin). Create two tiny shell scripts: 1. tex /where/ever/i/put/virtex \&plain $* 2. latex /where/ever/i/put/virtex \&lplain $* and stick them in the standard search path (again I use /usr/lbin). You should now have a running version of TeX/LaTeX. Total size for our setup is about 3Mb (virtex, tfms, fmts and stys). If you put dvi2[whatever] up you will need some fonts - we use a small subset of the total available amounting to another 6Mb. Sorry about being so long winded but some of these things were not immediately obvious to me when I first started to fiddle with the code. The sources will follow in a few days - someone please tell me where I should post them. I don't want to get stomped on by one of the net heavies. Cheers, Glenn Glenn Geers (VK2ELA) Department of Theoretical Physics The University of Sydney Sydney 2006 Australia glenn@extro.ucc.su.oz "Who me ? I could never write that much and still make sense." Standard disclaimers apply.