[latex3-commits] [latex2e-public] r1503 - Add meta-data commands here for test system

noreply at latex-project.org noreply at latex-project.org
Thu Jun 22 14:53:50 CEST 2017


Author: joseph
Date: 2017-06-22 14:53:50 +0200 (Thu, 22 Jun 2017)
New Revision: 1503

Modified:
   trunk/support/regression-test.cfg
Log:
Add meta-data commands here for test system

These can then be removed from l3build, where they are not documented.


Modified: trunk/support/regression-test.cfg
===================================================================
--- trunk/support/regression-test.cfg	2017-06-21 06:48:06 UTC (rev 1502)
+++ trunk/support/regression-test.cfg	2017-06-22 12:53:50 UTC (rev 1503)
@@ -2,57 +2,45 @@
 %% This is file `regression-test.cfg'.
 %% Used to customise the l3build regression test suite for LaTeX2e.
 %%
-%% EXPERIMENTAL CODE
-%%
-%% Do not distribute this file without also distributing the
-%% source files specified above.
-%%
-%% Do not distribute a modified version of this file.
-%%
-%%
-%% File l3build.dtx (C) Copyright 2014 The LaTeX3 Project
-%%
-%% It may be distributed and/or modified under the conditions of the
-%% LaTeX Project Public License (LPPL), either version 1.3c of this
-%% license or (at your option) any later version.  The latest version
-%% of this license is in the file
-%%
-%%    http://www.latex-project.org/lppl.txt
-%%
-%% This file is part of the "l3build bundle" (The Work in LPPL)
-%% and all files in that bundle must be distributed together.
-%%
-%% The released version of this bundle is available from CTAN.
-%%
-%% -----------------------------------------------------------------------
-%%
-%% The development version of the bundle can be found at
-%%
-%%    http://www.latex-project.org/svnroot/experimental/trunk/
-%%
-%% for those people who are interested.
-%%
-%%%%%%%%%%%
-%% NOTE: %%
-%%%%%%%%%%%
-%%
-%%   Snapshots taken from the repository represent work in progress and may
-%%   not work or may contain conflicting material!  We therefore ask
-%%   people _not_ to put them into distributions, archives, etc. without
-%%   prior consultation with the LaTeX Project Team.
-%%
-%% -----------------------------------------------------------------------
-%%
 
-
 % 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}}%
@@ -73,6 +61,3 @@
 \catcode`\@=11\relax
 \let\reset at catcodes\relax
 
-%%
-%%
-%% End of file `regression-test.cfg'.



More information about the latex3-commits mailing list