Revision 3c14cb3e3ca0ef9e93dfce2eabf2023d0e9797f5 authored by Joseph Wright on 14 March 2024, 12:08:45 UTC, committed by Joseph Wright on 14 March 2024, 12:15:27 UTC
1 parent b071b49
Raw File
regression-test.cfg
%%
%% This is file `regression-test.cfg'.
%% Used to customise the l3build regression test suite for LaTeX2e.
%%

% Customise the \cs{START} message.

\def\STARTMESSAGE{This is a generated file for the LaTeX2e validation system.}

% Not all packages declare themselves to the log file, and we can not
% rely on TeX`s output as it includes full path names, and does not
% include version numbers etc.
%
% If the class or package is loaded with options, you may
% specify the options in the |\CLASS| (|\PACKAGE|) declaration. eg:
% \begin{verbatim}
% \CLASS[german,a4page]{article v2.0 1994/01/02}
% \PACKAGE{ifthen v2.2 1993/11/12}
% \PACKAGE[dvips]{graphics v 3.8 1994/02/02}
% \end{verbatim}
\def\CLASS{\@ifnextchar[\OPTCLASS\XCLASS}
\def\OPTCLASS[#1]#2{%
  \TYPE{Main Class: #2^^J\space\space\space\space Options: #1}}
\def\XCLASS#1{%
  \TYPE{Main Class: #1}}
\def\PACKAGE{\@ifnextchar[\OPTPACKAGE\XPACKAGE}
\def\OPTPACKAGE[#1]#2{%
  \TYPE{Package: #2^^J\space\space\space\space Options: #1}}
\def\XPACKAGE#1{%
  \TYPE{Package: #1}}

% A little more meta-data on authors.

\def\AUTHOR#1{\LONGTYPEOUT{Author: #1}}
\def\ADDRESS#1{\TYPE{Address: #1}}

\def\FORMAT#1{\LONGTYPEOUT{Format: #1}%
  \def\@tempa{#1}\ifx\@tempa\@EJ\else
   \OMIT\TYPE{WARNING: Declared format #1,^^JActual format \@EJ}\TIMO\fi}
% The old version got this information from everyjob,
% but that does not work with \LaTeXe\ as |\everyjob| is cleared.
\edef\@EJ{\fmtname <\fmtversion>}

% For tests dating back to LaTeX2.09 era.

\def\STYLE#1{\TYPE{Main Style: #1}}%
\def\STYLEOPTIONS#1{\TYPE{Style Options: #1}}

% LaTeX2e always uses NFSS2 so new test files need not use
% |\FONTSELECTION| but it is retained for compatibility for test files
% written for 209/NFSS1.

\def\FONTSELECTION#1{%
  \OMIT\@@warning{\noexpand\FONTSELECTION obsolete.^^J%
                 LaTeX2e always uses NFSS2}\TIMO
  \TYPE{Font Selection: #1}}

% Most importantly, set up catcodes as expected for the legacy tests.
% The |@| char should remain a `letter' during each test.

\catcode`\@=11\relax
\let\reset@catcodes\relax

back to top