debug.tex (1070B)
1 \def\wlog{\immediate\write-1 } 2 \def\wterm{\immediate\write16 } 3 4 \def\loggingall{% 5 \tracingcommands=3 6 \tracingstats=2 7 \tracingpages=1 8 \tracingoutput=1 9 \tracinglostchars=1 10 \tracingmacros=2 11 \tracingparagraphs=1 12 \tracingrestores=1 13 \tracingscantokens=1 14 \tracingifs=1 15 \tracinggroups=1 16 \tracingfonts=1 17 \tracingassigns=1 18 } 19 \def\tracingall{\tracingonline=1 \loggingall} 20 21 \def\showhyphens#1{% 22 \setbox0=\vbox{% 23 \parfillskip=0pt \hsize=\maxdimen \pretolerance=-1 \tolerance=-1 24 \hbadness=0 \showboxdepth=0 \ #1% 25 }% 26 } 27 28 % Alignment testers. Use these to verify exact alignment on a page. 29 \newdimen\axisthickness \axisthickness=.2pt 30 \def\axiscolor{\Cred} % XXX: needs fixing when new colour system is written 31 \def\raxis{\vlap{\rlap{\axiscolor\vrule width\axisthickness height\maxdimen depth\maxdimen}}} 32 \def\laxis{\vlap{\llap{\axiscolor\vrule width\axisthickness height\maxdimen depth\maxdimen}}} 33 \def\uaxis{\hlap{\ulap{\axiscolor\hrule width\maxdimen height\axisthickness}}} 34 \def\daxis{\hlap{\dlap{\axiscolor\hrule width\maxdimen height\axisthickness}}} 35 36 \endinput