acmfiu@serss0.fiu.edu (ACMFIU) (02/20/91)
The following is output from my trip test. I am trying to "roll" my own TeX with p2c and other UNIX utilities so if any of you know of why my test ends early I would appreciate your help. I have all the trip.* stuff from labrea and also got trip.tfm from there too. I have also included the end of the correct trip test at the bottom. I think there is a problem with the tfm file but am not sure as I can't verify it and don't really know how to verify it's correctness. albert chin ... acmfiu@fiu.edu ----------------------- beginning of my trip test -------------------------- This is TeX, C Version 3.1 (INITEX) 4 JUL 1776 12:00 **\input trip (trip.tex ! Bad character code (256). <to be read again> - l.26 \nonstopmode\lccode256- 0\mathchardef\a="8000\def\a{ SC... A character number must be between 0 and 255. I changed this one to zero. ! Bad math code (32768). <to be read again> \def l.26 ...\mathchardef\a="8000\def \a{ SCALED 3~2769} A numeric math code must be between 0 and 32767. I changed this one to zero. ! Illegal magnification has been changed to 1000 (32769). <to be read again> \skewchar l.28 \skewchar \rip=`B \countdef\countz % \countz will be \c... The magnification ratio must be between 1 and 32768. ! Missing number, treated as zero. <to be read again> \def l.29 \def \on{1} \toksdef\tokens=256 \show\errorstopmode A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) ! Bad register code (256). l.29 ...{1} \toksdef\tokens=256 \show\errorstopmode A register number must be between 0 and 255. I changed this one to zero. > \errorstopmode=\errorstopmode. l.29 ...=256 \show\errorstopmode > \rip . <recently read> \font l.30 \showthe\font \showthe\pageshrink \showthe\pagegoal > 0.0pt. l.30 ...font \showthe\pageshrink \showthe\pagegoal > 16383.99998pt. l.30 ...shrink \showthe\pagegoal ! Illegal unit of measure (replaced by filll). l.32 ...fdim\hsize<\hsize\fi lll minus 0 fill I dddon't go any higher than filll. \one \csname on line 60 ! You can't use `\badness' in vertical mode. l.61 ...yphenpenalty 89 \badness Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. If you're in the wrong mode, you might be able to return to the right one by typing `I}' or `I$' or `I\par'. ! Bad \patterns. l.75 ...uage256\patterns{0111 \? 50AA1b3 *1AcA. bb bb1 0B2B0 b... (See Appendix H.) ! Nonletter. l.75 ...ge256\patterns{0111 \?50 AA1b3 *1AcA. bb bb1 0B2B0 b1c... (See Appendix H.) ! Duplicate pattern. l.75 ...1b3 *1AcA. bb bb1 0B2B0 b1c}} % *==space (See Appendix H.) Missing character: There is no 1 in font trip! Missing character: There is no 1 in font trip! Missing character: There is no 7 in font trip! Missing character: There is no 1 in font trip! Missing character: There is no 1 in font trip! Missing character: There is no 1 in font trip! Missing character: There is no Z in font trip! Missing character: There is no 1 in font trip! Missing character: There is no p in font trip! Missing character: There is no t in font trip! Missing character: There is no s in font trip! Missing character: There is no q in font trip! Missing character: There is no q in font trip! ### horizontal mode entered at line 77 (hyphenmin 1,63) \hbox(0.0+0.0)x0.0 \glue -9.0 \setlanguage255 (hyphenmin 1,63) \rip A \setlanguage98 (hyphenmin 1,1) \glue 4.0 plus 1.99799 minus 1.00099 \glue 4.0 plus 2.0 minus 1.0 \setlanguage255 (hyphenmin 1,1) \glue 4.0 plus 2.0 minus 1.0 \rip - (ligature - ) \glue 4.0 plus 2.0 minus 1.0 spacefactor 1000, current language 255 ### internal vertical mode entered at line 77 prevdepth ignored ### internal vertical mode entered at line 77 \glue(\tabskip) 0.0 prevdepth 0.0 ### restricted horizontal mode entered at line 76 spacefactor 1000 ### restricted horizontal mode entered at line 76 spacefactor 1000 ### vertical mode entered at line 0 prevdepth ignored ! OK. l.78 ...ns{q9q} -\0qq \showlists {\language\?\noboundary111}% Missing character: There is no 1 in font trip! Missing character: There is no 1 in font trip! Missing character: There is no 1 in font trip! [] @ via @@0 b=0 p=0 d=0 @@1: line 1.2 t=0 -> @@0 []\rip A[] @ via @@0 b=10000 p=0 d=100000000 @@2: line 1.0 t=100000000 -> @@0 [] @ via @@0 b=12 p=0 d=144 @@3: line 1.2 t=144 -> @@0 @ via @@2 b=0 p=0 d=0 @@4: line 2.2 t=100000000 -> @@2 - @ via @@0 b=0 p=0 d=0 @@5: line 1.2 t=0 -> @@0 @ via @@3 b=10000 p=0 d=100000000 @ via @@2 b=12 p=0 d=144 @@6: line 2.0 t=100000144 -> @@3 @@7: line 2.2 t=100000144 -> @@2 @ via @@4 b=10000 p=0 d=100000000 @@8: line 3.0 t=200000000 -> @@4 [] @\par via @@0 b=99 p=-10000 d=9801 @@9: line 1.3- t=9801 -> @@0 @\par via @@5 b=0 p=-10000 d=0 @\par via @@3 b=12 p=-10000 d=144 @@10: line 2.2- t=0 -> @@5 @\par via @@6 b=0 p=-10000 d=0 @\par via @@7 b=0 p=-10000 d=0 @\par via @@4 b=12 p=-10000 d=144 @@11: line 3.2- t=100000144 -> @@4 @\par via @@8 b=0 p=-10000 d=0 @@12: line 4.2- t=200000000 -> @@8 ! Too late for \patterns. l.79 ...har\rip=`-\cr}}\patterns {toolate}\showbox0} All patterns must be given before typesetting begins. > \box0= \hbox(8.0+0.0)x0.0 .\vbox(8.0+0.0)x0.0 ..\glue(\tabskip) 0.0 ..\vbox(8.0+0.0)x0.0 ...\hbox(7.0+1.0)x0.0, glue set - 0.99976 ....\hbox(0.0+0.0)x0.0 ....\glue -9.0 ....\setlanguage255 (hyphenmin 1,63) ....\rip A ....\setlanguage98 (hyphenmin 1,1) ....\glue 4.0 plus 1.99799 minus 1.00099 ....\glue 4.0 plus 2.0 minus 1.0 ....\setlanguage255 (hyphenmin 1,1) ....\glue 4.0 plus 2.0 minus 1.0 ....\rip - (ligature - ) ....\glue 4.0 plus 2.0 minus 1.0 ....\setlanguage98 (hyphenmin 1,1) ....\penalty 10000 ....\glue(\parfillskip) 0.0 ....\glue(\rightskip) 0.0 ..\glue(\tabskip) 0.0 ! OK. <to be read again> } l.79 ...terns{toolate}\showbox0} ) Beginning to dump on file trip.fmt (format=trip 76.7.4) 1323 strings of total length 23494 471 memory locations dumped; current usage is 96&278 341 multiletter control sequences \font\nullfont=nullfont \font\rip=trip \font\smalltrip=trip at 5.0pt \font\bigtrip=trip at 20.0pt 545 words of font info for 3 preloaded fonts 1 hyphenation exception Hyphenation trie of length 273 has 9 ops out of 500 2 for language 255 1 for language 98 6 for language 0 No pages of output. -------------------------- end of my trip test ------------------------- ------------------------ end of correct trip test ---------------------- Beginning to dump on file trip.fmt (preloaded format=trip 90.9.6) 1319 strings of total length 23432 471 memory locations dumped; current usage is 96&278 341 multiletter control sequences \font\nullfont=nullfont \font\rip=trip \font\smalltrip=trip at 5.0pt \font\bigtrip=trip at 20.0pt 2279 words of font info for 3 preloaded fonts 1 hyphenation exception Hyphenation trie of length 273 has 9 ops out of 500 2 for language 255 1 for language 98 6 for language 0 No pages of output. ----------------------------- THE END ----------------------------------
tml@tik.vtt.fi (Tor Lillqvist) (02/21/91)
In article <2532@kluge.fiu.edu> acmfiu@serss0.fiu.edu (ACMFIU) writes:
I am trying to "roll" my own TeX with p2c and other UNIX utilities.
Don't bother. I have a TeX implementation based on (another)
Pascal-to-C translator, ptc. Fetch it with ftp from tik.vtt.fi,
directories pub/ptc and pub/tex.
--
Tor Lillqvist,
working, but not speaking, for the Technical Research Centre of Finland
cczdao@mips.nott.ac.uk (David Osborne) (02/25/91)
In article <TML.91Feb21100003@nyyti.tik.vtt.fi>, tml@tik.vtt.fi (Tor Lillqvist) writes: > In article <2532@kluge.fiu.edu> acmfiu@serss0.fiu.edu (ACMFIU) writes: > I am trying to "roll" my own TeX with p2c and other UNIX utilities. > > Don't bother. I have a TeX implementation based on (another) > Pascal-to-C translator, ptc. Fetch it with ftp from tik.vtt.fi, > directories pub/ptc and pub/tex. If this is on a Unix system, what's wrong with using the web2c package? Why make life more difficult than it is already? :-) --dave
tml@tik.vtt.fi (Tor Lillqvist) (02/26/91)
In article <1991Feb25.110755.25289@cs.nott.ac.uk> cczdao@mips.nott.ac.uk (David Osborne) writes: In article <TML.91Feb21100003@nyyti.tik.vtt.fi>, tml@tik.vtt.fi (Tor Lillqvist) writes: > Don't bother. I have a TeX implementation based on (another) > Pascal-to-C translator, ptc. Fetch it with ftp from tik.vtt.fi, > directories pub/ptc and pub/tex. If this is on a Unix system, what's wrong with using the web2c package? Why make life more difficult than it is already? :-) When I did the ptc TeX implementation (soon after TeX 3.0 was released), web2c couldn't handle TeX 3.0 et al. (I did try to use web2c initially.) Now this has changed. But still, a general-purpose one-pass Pascal-to-C translator is IMHO cleaner than several passes of programs specially written for translating the Pascal code of TeX, MF etc. -- Tor Lillqvist, working, but not speaking, for the Technical Research Centre of Finland