forked from latex3/latex2e
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregression-test.cfg
63 lines (50 loc) · 2.03 KB
/
regression-test.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
%%
%% 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