[latex3-commits] [git/LaTeX3-latex3-latex2e] gh524: Add \tracingstacklevels and \tracinglostchars=3 to ltplain.dtx (94435669)

PhelypeOleinik phelype.oleinik at latex-project.org
Mon Apr 19 02:57:50 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh524
Link       : https://github.com/latex3/latex2e/commit/944356691bf16c65b518ac2a87cb659b48bf2459

>---------------------------------------------------------------

commit 944356691bf16c65b518ac2a87cb659b48bf2459
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Sun Apr 18 21:57:50 2021 -0300

    Add \tracingstacklevels and \tracinglostchars=3 to ltplain.dtx


>---------------------------------------------------------------

944356691bf16c65b518ac2a87cb659b48bf2459
 base/ltplain.dtx | 158 ++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 109 insertions(+), 49 deletions(-)

diff --git a/base/ltplain.dtx b/base/ltplain.dtx
index b3576c47..b5805836 100644
--- a/base/ltplain.dtx
+++ b/base/ltplain.dtx
@@ -32,7 +32,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltplain.dtx}
-             [2021/03/26 v2.3e LaTeX Kernel (Plain TeX)]
+             [2021/04/18 v2.3f LaTeX Kernel (Plain TeX)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltplain.dtx}
@@ -920,6 +920,7 @@
 %    \end{macrocode}
 % \tracingcommands=0
 % \tracingrestores=0
+% \tracingstacklevels=0 % added in 2021
 % \language=0
 %    \begin{macrocode}
 \uchyph=1
@@ -1504,42 +1505,68 @@
 % \changes{v2.0b}{2012/01/20}{etex tracing if available}
 % \changes{v2.0d}{2015/02/20}{Spell commands correctly :-)}
 % \changes{v2.0g}{2015/03/10}{Reorganize to be less noisy}
+% \changes{v2.3f}{2021/04/18}{Drop pre-$\varepsilon$-\TeX{} support}
+% \changes{v2.3f}{2021/04/18}
+%                {Add \cs{tracingstacklevels} and \cs{tracinglostchars}=3}
 %    \begin{macrocode}
-%<latexrelease>\IncludeInRelease{2015/01/01}{\loggingall}{etex tracing}%
+%<latexrelease>\IncludeInRelease{2021/06/01}{\loggingall}
+%<latexrelease>                 {\tracingstacklevels and \tracinglostchars=3}%
 %<*2ekernel|latexrelease>
-\ifx\tracingscantokens\@undefined
-\gdef\loggingall{%
+\edef\loggingall{%
   \tracingstats\tw@
   \tracingpages\@ne
-  \tracinglostchars\@ne
-  \tracingparagraphs\@ne
-  \errorcontextlines\maxdimen
-  \loggingoutput
-  \tracingmacros\tw@
-  \tracingcommands\tw@
-  \tracingrestores\@ne
-  }%
-\else
-\gdef\loggingall{%
-  \tracingstats\tw@
-  \tracingpages\@ne
-  \tracinglostchars\tw@
+  \tracinglostchars\thr@@
   \tracingparagraphs\@ne
   \tracinggroups\@ne
   \tracingifs\@ne
   \tracingscantokens\@ne
   \tracingnesting\@ne
   \errorcontextlines\maxdimen
-  \loggingoutput
+  \ifdefined\tracingstacklevels \tracingstacklevels\maxdimen \fi
+  \noexpand \loggingoutput
   \tracingmacros\tw@
   \tracingcommands\thr@@
   \tracingrestores\@ne
   \tracingassigns\@ne
 }%
-\fi
-\gdef\tracingall{\showoverfull\loggingall}
+\def\tracingall{\showoverfull\loggingall}
 %</2ekernel|latexrelease>
 %<latexrelease>\EndIncludeInRelease
+%<latexrelease>
+%<latexrelease>\IncludeInRelease{2015/01/01}{\loggingall}{etex tracing}%
+%<latexrelease>\ifx\tracingscantokens\@undefined
+%<latexrelease>\gdef\loggingall{%
+%<latexrelease>  \tracingstats\tw@
+%<latexrelease>  \tracingpages\@ne
+%<latexrelease>  \tracinglostchars\@ne
+%<latexrelease>  \tracingparagraphs\@ne
+%<latexrelease>  \errorcontextlines\maxdimen
+%<latexrelease>  \loggingoutput
+%<latexrelease>  \tracingmacros\tw@
+%<latexrelease>  \tracingcommands\tw@
+%<latexrelease>  \tracingrestores\@ne
+%<latexrelease>  }%
+%<latexrelease>\else
+%<latexrelease>\gdef\loggingall{%
+%<latexrelease>  \tracingstats\tw@
+%<latexrelease>  \tracingpages\@ne
+%<latexrelease>  \tracinglostchars\tw@
+%<latexrelease>  \tracingparagraphs\@ne
+%<latexrelease>  \tracinggroups\@ne
+%<latexrelease>  \tracingifs\@ne
+%<latexrelease>  \tracingscantokens\@ne
+%<latexrelease>  \tracingnesting\@ne
+%<latexrelease>  \errorcontextlines\maxdimen
+%<latexrelease>  \loggingoutput
+%<latexrelease>  \tracingmacros\tw@
+%<latexrelease>  \tracingcommands\thr@@
+%<latexrelease>  \tracingrestores\@ne
+%<latexrelease>  \tracingassigns\@ne
+%<latexrelease>}%
+%<latexrelease>\fi
+%<latexrelease>\gdef\tracingall{\showoverfull\loggingall}
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>
 %<latexrelease>\IncludeInRelease{0000/00/00}{\loggingall}{etex tracing}%
 %<latexrelease>\gdef\loggingall{\tracingcommands\tw@\tracingstats\tw@
 %<latexrelease>  \tracingpages\@ne\tracinglostchars\@ne
@@ -1554,29 +1581,14 @@
 %
 % \begin{macro}{\tracingnone}
 % \changes{v2.0g}{2015/03/10}{macro added}
-% \begin{macro}{\hideoutput}
-% \changes{v2.0g}{2015/03/10}{macro added}
+% \changes{v2.3f}{2021/04/18}{Drop pre-$\varepsilon$-\TeX{} support}
+% \changes{v2.3f}{2021/04/18}
+%                {Add \cs{tracingstacklevels} and \cs{tracinglostchars}=3}
 %    \begin{macrocode}
 %<latexrelease>\IncludeInRelease{2015/01/01}{\tracingnone}%
 %<latexrelease>                             {turn off etex tracing}%
 %<*2ekernel|latexrelease>
-\ifx\tracingscantokens\@undefined
-\def\tracingnone{%
-  \tracingonline\z@
-  \tracingcommands\z@
-  \showboxdepth\m at ne
-  \showboxbreadth\m at ne
-  \tracingoutput\z@
-  \errorcontextlines\m at ne
-  \tracingrestores\z@
-  \tracingparagraphs\z@
-  \tracingmacros\z@
-  \tracinglostchars\@ne
-  \tracingpages\z@
-  \tracingstats\z@
-}%
-\else
-\def\tracingnone{%
+\edef\tracingnone{%
   \tracingassigns\z@
   \tracingrestores\z@
   \tracingonline\z@
@@ -1585,6 +1597,7 @@
   \showboxbreadth\m at ne
   \tracingoutput\z@
   \errorcontextlines\m at ne
+  \ifdefined\tracingstacklevels \tracingstacklevels\z@ \fi
   \tracingnesting\z@
   \tracingscantokens\z@
   \tracingifs\z@
@@ -1595,30 +1608,77 @@
   \tracingpages\z@
   \tracingstats\z@
 }%
-\fi
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>
+%<latexrelease>\IncludeInRelease{2015/01/01}{\tracingnone}%
+%<latexrelease>                             {turn off etex tracing}%
+%<latexrelease>\ifx\tracingscantokens\@undefined
+%<latexrelease>\def\tracingnone{%
+%<latexrelease>  \tracingonline\z@
+%<latexrelease>  \tracingcommands\z@
+%<latexrelease>  \showboxdepth\m at ne
+%<latexrelease>  \showboxbreadth\m at ne
+%<latexrelease>  \tracingoutput\z@
+%<latexrelease>  \errorcontextlines\m at ne
+%<latexrelease>  \tracingrestores\z@
+%<latexrelease>  \tracingparagraphs\z@
+%<latexrelease>  \tracingmacros\z@
+%<latexrelease>  \tracinglostchars\@ne
+%<latexrelease>  \tracingpages\z@
+%<latexrelease>  \tracingstats\z@
+%<latexrelease>}%
+%<latexrelease>\else
+%<latexrelease>\def\tracingnone{%
+%<latexrelease>  \tracingassigns\z@
+%<latexrelease>  \tracingrestores\z@
+%<latexrelease>  \tracingonline\z@
+%<latexrelease>  \tracingcommands\z@
+%<latexrelease>  \showboxdepth\m at ne
+%<latexrelease>  \showboxbreadth\m at ne
+%<latexrelease>  \tracingoutput\z@
+%<latexrelease>  \errorcontextlines\m at ne
+%<latexrelease>  \tracingnesting\z@
+%<latexrelease>  \tracingscantokens\z@
+%<latexrelease>  \tracingifs\z@
+%<latexrelease>  \tracinggroups\z@
+%<latexrelease>  \tracingparagraphs\z@
+%<latexrelease>  \tracingmacros\z@
+%<latexrelease>  \tracinglostchars\@ne
+%<latexrelease>  \tracingpages\z@
+%<latexrelease>  \tracingstats\z@
+%<latexrelease>}%
+%<latexrelease>\fi
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>
+%<latexrelease>\IncludeInRelease{0000/00/00}{\tracingnone}%
+%<latexrelease>                             {turn off etex tracing}%
+%<latexrelease>\let\tracingnone\@undefined
+%<latexrelease>\EndIncludeInRelease
 %    \end{macrocode}
+% \end{macro}
 %
+% \begin{macro}{\hideoutput}
+% \changes{v2.0g}{2015/03/10}{macro added}
 %    \begin{macrocode}
+%<*2ekernel|latexrelease>
+%<latexrelease>\IncludeInRelease{2015/01/01}{\hideoutput}%
+%<latexrelease>                             {hide output from tracing}%
 \def\hideoutput{%
   \tracingoutput\z@
   \showboxbreadth\m at ne
   \showboxdepth\m at ne
   \tracingonline\m at ne
 }%
-%    \end{macrocode}
-%
-%    \begin{macrocode}
-%</2ekernel|latexrelease>
 %<latexrelease>\EndIncludeInRelease
-%<latexrelease>\IncludeInRelease{0000/00/00}{\tracingnone}%
-%<latexrelease>                             {turn off etex tracing}%
-%<latexrelease>\let\tracingnone\@undefined
+%<latexrelease>
+%<latexrelease>\IncludeInRelease{0000/00/00}{\hideoutput}%
+%<latexrelease>                             {hide output from tracing}%
 %<latexrelease>\let\hideoutput\@undefined
 %<latexrelease>\EndIncludeInRelease
+%</2ekernel|latexrelease>
 %    \end{macrocode}
 % \end{macro}
-% \end{macro}
-%
 %
 % \LaTeX\ change: |\showhyphens| Defined later.
 %





More information about the latex3-commits mailing list.