Files
texrra-engine/examples/native-bootstrap/diagnostics.tex

18 lines
617 B
TeX

% Actual showbox diagnostics, with continued execution and TeX diagnostic status.
\defaulthyphenchar=45
\input math-fonts
\hsize=240pt \showboxbreadth=3 \showboxdepth=2
\setbox0=\hbox{Actual native box.}
\message{BEFORE_SHOWS}
\tracingonline=0 \showbox0
\tracingonline=1 \showbox0
\setbox1=\vbox{\hbox{Nested material.}\vskip2pt plus1fil\hbox{Real depth.}}
\showboxbreadth=20 \showboxdepth=4 \showbox1
\setbox2=\vbox{\noindent Raw paragraph glue survives diagnostic inspection.\par}
\showbox2
\showbox3
\message{AFTER_SHOWS}
\copy0 \copy1 \copy2
\noindent Continued after diagnostics with measured material.\par
\end