tritest.tex 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. \relax
  2. % ----------------------------------------------------------------------
  3. % The REDUCE-TeX-Interface Test Package
  4. % ----------------------------------------------------------------------
  5. % File: TRITEST.TEX
  6. % Author: Werner Antweiler, RRZK/UCCC, Cologne/West Germany
  7. % Date: 01-Sep-88
  8. % Version: 1.4
  9. % This module defines macros to be used for processing output produced
  10. % by a testing run with the REDUCE-TeX-Interface
  11. % ----------------------------------------------------------------------
  12. \input reduce
  13. \hsize=175mm
  14. \font\caps=cmcsc10
  15. \font\smallcaps=cmcsc10 at 8pt
  16. \def\today{\ifcase\month\or January\or February\or March\or April\or May\or
  17. June\or July\or August\or September\or October\or November\or December\fi
  18. \space\number\day,\space\number\year}
  19. % verbatim
  20. \def\uncatcodespecials{\def\do##1{\catcode`##1=12}\dospecials\do\"}
  21. \def\setupverbatim{\tt\Obeylines\uncatcodespecials\obeyspaces}
  22. \def\newlinepar{~\par}
  23. {\catcode`\^^M=\active %
  24. \gdef\Obeylines{\catcode`\^^M=\active\def^^M{\newlinepar}}}%
  25. {\obeyspaces\global\let =\ }
  26. \def\verbatim{\par\begingroup\parskip=0pt plus 1pt
  27. \setupverbatim\doverbatim}
  28. \def\verb{\begingroup\setupverbatim\doverb}
  29. \def\doverb#1{\def\next##1#1{##1\endgroup}\next}
  30. % ** -- ** -- ** -- ** -- ** -- ** -- ** -- ** -- ** -- ** -- ** -- **
  31. \centerline{\bf Tests for the REDUCE-\TeX-Interface}\bigskip
  32. \centerline{\rm compiled by W. Antweiler, \today}\bigskip\bigskip
  33. \input tritst
  34. \bye