Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!columbia!rutgers!rochester!pt!gnome.cs.cmu.edu!hugo From: hugo@gnome.cs.cmu.edu (Peter Su) Newsgroups: comp.sys.mac Subject: Re: Plain Vanilla TeX for Macintosh ? Message-ID: <51@gnome.cs.cmu.edu> Date: Wed, 5-Aug-87 11:06:28 EDT Article-I.D.: gnome.51 Posted: Wed Aug 5 11:06:28 1987 Date-Received: Sat, 8-Aug-87 02:00:49 EDT References: <1037@runx.ips.oz> <348@swanee.OZ> Organization: Carnegie-Mellon University, CS/RI Lines: 27 Doing this should not be too hard. I picked up a C version of TeX called Common TeX and am modifying it to compile with LCS. If I'm lucky, the code doesn't make too many assumptions about how big ints are, and it should run OK. One could do the same thing with MPW C. The trouble is, I don't think the MPW shell leaves enough room in memory to run TeX with only 1Meg. TeX needs about 500K or so to be comfortable, LaTeX needs even more. The only modifications you need to do in C is to allocate all of TeX's huge global arrays in the heap. That's easy in C, impossible in Pascal. I've been looking at the book TeX: The Program. With all due respect to Knuth, TeX is not a shining example of good software engineering. Oh well, mostly he was working around problems in Pascal, so I gues sit can't be helped. Sigh. Pete -- ARPA: hugo@gnome.cs.cmu.edu UUCP: ...!{ucbvax,ihnp4,cmucspt}!hugo@gnome.cs.cmu.edu "There are reports that many executives make their decisions by flipping coins or by throwing darts, etc. It is also rumored that some college professors prepare their grades on such a basis." - Donald Knuth