| 1 |
% \subsubsection{Suppress} |
| 2 |
% \DescribeEnv{suppress}{The suppress environment is a good way to suppress output without |
| 3 |
% commenting it. This way we can avoid many of the places we use |
| 4 |
% environ package and this should also avoid most of the verbatim |
| 5 |
% conflicts.} |
| 6 |
% This is code adapted from |syntonly.sty|. |
| 7 |
% \begin{macrocode} |
| 8 |
%<*classXimera> |
| 9 |
\font\dummyft@=dummy \relax |
| 10 |
\def\suppress{% |
| 11 |
\begingroup\par |
| 12 |
\parskip\z@ |
| 13 |
\offinterlineskip |
| 14 |
\baselineskip=\z@skip |
| 15 |
\lineskip=\z@skip |
| 16 |
\lineskiplimit=\maxdimen |
| 17 |
\dummyft@ |
| 18 |
\count@\sixt@@n |
| 19 |
\loop\ifnum\count@ >\z@ |
| 20 |
\advance\count@\m@ne |
| 21 |
\textfont\count@\dummyft@ |
| 22 |
\scriptfont\count@\dummyft@ |
| 23 |
\scriptscriptfont\count@\dummyft@ |
| 24 |
\repeat |
| 25 |
\let\selectfont\relax |
| 26 |
\let\mathversion\@gobble |
| 27 |
\let\getanddefine@fonts\@gobbletwo |
| 28 |
\tracinglostchars\z@ |
| 29 |
\frenchspacing |
| 30 |
\hbadness\@M} |
| 31 |
\def\endsuppress{\par\endgroup} |
| 32 |
%</classXimera> |
| 33 |
% \end{macrocode} |