[latex3-commits] [l3svn] 04/10: l3build: Improve formatting of regression-test.tex source

noreply at latex-project.org noreply at latex-project.org
Thu Jun 22 16:53:26 CEST 2017


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit 95c529bcbd1edb38d665428f64763b8d9441c784
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Jun 22 12:51:00 2017 +0100

    l3build: Improve formatting of regression-test.tex source
    
    This is largely to make following other changes easier.
---
 l3build/l3build.dtx |   31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

diff --git a/l3build/l3build.dtx b/l3build/l3build.dtx
index 7df5461..2164385 100644
--- a/l3build/l3build.dtx
+++ b/l3build/l3build.dtx
@@ -1309,21 +1309,24 @@
 %
 % \subsection{Preliminaries}
 %
-% Unlike in the \LaTeXe{} regression test suite, reset catcodes: each test should set these
-% as appropriate. There's also a quick test for Con\TeX{}t: it defines |\unprotect|
-% which should be a reasonable marker (and is needed as some catcodes are otherwise
-% wrong).
+% \begin{macro}{\reset at catcodes}
+%   Unlike in the \LaTeXe{} regression test suite, reset catcodes: each test
+%   should set these as appropriate. There's also a quick test for Con\TeX{}t:
+%   it defines |\unprotect| which should be a reasonable marker (and is
+%   needed as some catcodes are otherwise wrong).
 %    \begin{macrocode}
 \ifx\unprotect\undefined
   \expandafter\edef\csname reset\string @catcodes\endcsname{%
     \catcode`\noexpand\@=\the\catcode`\@\relax
-  }
+  }%
   \catcode`\@=11 %
 \else
   \unprotect
   \def\reset at catcodes{\protect}%
 \fi
 %    \end{macrocode}
+% \end{macro}
+%
 % Put \TeX{} into scroll mode, and stop it showing the
 % implementation details of macros in error messages.
 %    \begin{macrocode}
@@ -1338,16 +1341,20 @@
 \showboxdepth=\maxdimen
 %    \end{macrocode}
 %
-% The |\showoutput| command of \LaTeX{} calls |\loggingoutput| which in
-% turn calls |\errorstopmode| but we want to continue running without
-% any stops.
+% \begin{macro}{\logginoutput}
+%   The |\showoutput| command of \LaTeX{} calls |\loggingoutput| which in turn
+%   calls |\errorstopmode| but we want to continue running without any stops.
 %    \begin{macrocode}
-\def\loggingoutput{\tracingoutput1
-    \showboxbreadth\maxdimen\showboxdepth\maxdimen}
+\def\loggingoutput{%
+  \tracingoutput=1 %
+  \showboxbreadth=\maxdimen
+  \showboxdepth=\maxdimen
+}
 %    \end{macrocode}
+% \end{macro}
 %
-% Set the newline character: \LaTeXe{} does this but plain-based formats
-% do not.
+% Set the newline character: \LaTeXe{} does this but plain-based formats do
+% not.
 %    \begin{macrocode}
 \newlinechar=`\^^J
 %    \end{macrocode}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list