[latex3-commits] [latex3/latex2e] develop, gh1148: Gh549 (#1163) (281e14e4)

github at latex-project.org github at latex-project.org
Tue Nov 7 19:15:19 CET 2023


Repository : https://github.com/latex3/latex2e
On branches: develop,gh1148
Link       : https://github.com/latex3/latex2e/commit/281e14e45f23b62362abf47d065a060705aa0abe

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

commit 281e14e45f23b62362abf47d065a060705aa0abe
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Tue Nov 7 19:15:19 2023 +0100

    Gh549 (#1163)
    
    * fix for #549
    
    * \tracingnone shows up in some tests


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

281e14e45f23b62362abf47d065a060705aa0abe
 base/changes.txt                             |  4 ++++
 base/doc/ltnews39.tex                        | 16 +++++++++-------
 base/ltplain.dtx                             | 10 ++++++++--
 base/testfiles/github-0524.luatex.tlg        |  4 ++--
 base/testfiles/github-0524.tlg               |  4 ++--
 base/testfiles/github-robust-0123.luatex.tlg |  2 +-
 base/testfiles/github-robust-0123.tlg        |  2 +-
 base/testfiles/github-robust-0123.xetex.tlg  |  2 +-
 8 files changed, 28 insertions(+), 16 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 812143d3..f6aff0b9 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,10 @@ to completeness or accuracy and it contains some references to files that are
 not part of the distribution.
 ================================================================================
 
+2023-11-07  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+	* ltplain.dtx (section{Plain \TeX}):
+	Set \tracinglostchars to 2 in \tracingnone (gh/549)
+
 ================================================================================
 All changes above are only part of the development branch for the next release.
 ================================================================================
diff --git a/base/doc/ltnews39.tex b/base/doc/ltnews39.tex
index 91603e80..75d44ee9 100644
--- a/base/doc/ltnews39.tex
+++ b/base/doc/ltnews39.tex
@@ -148,17 +148,19 @@
 
 \section{New or improved commands}
 
-\subsection{???}
-
-%
-%\githubissue{1004}
 
+\section{Code improvements}
 
-%\section{Code improvements}
+\subsection{Keep track of lost glyphs}
 
-%\subsection{???}
+A while ago we changed the \LaTeX{} default value for
+\cs{tracinglostchars} from \texttt{1} to \texttt{2} so that missing
+glyphs generate at least a warning, but we forgot to make the same
+change to \cs{tracingnone}. Thus, when issuing that command \LaTeX{}
+stopped generating warnings about missing glyphs. This has now been
+corrected.
 %
-%\githubissue{1004}
+\githubissue{549}
 
 
 
diff --git a/base/ltplain.dtx b/base/ltplain.dtx
index b4181037..566fee74 100644
--- a/base/ltplain.dtx
+++ b/base/ltplain.dtx
@@ -32,7 +32,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltplain.dtx}
-             [2023/10/21 v2.3i LaTeX Kernel (Plain TeX)]
+             [2023/11/07 v2.3j LaTeX Kernel (Plain TeX)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltplain.dtx}
@@ -1813,7 +1813,13 @@
   \tracinggroups\z@
   \tracingparagraphs\z@
   \tracingmacros\z@
-  \tracinglostchars\@ne
+%    \end{macrocode}
+%    None really means go back to the \LaTeX{} ``default'' and for
+%    \cs{tracinglostchars} this should therefore be 2 these days.
+% \changes{v2.3j}{2023/11/07}{Set \cs{tracinglostchars} to 2 in
+%    \cs{tracingnone} (gh/549)}
+%    \begin{macrocode}
+  \tracinglostchars\tw@
   \tracingpages\z@
   \tracingstats\z@
 }%
diff --git a/base/testfiles/github-0524.luatex.tlg b/base/testfiles/github-0524.luatex.tlg
index c86afb4c..2481c981 100644
--- a/base/testfiles/github-0524.luatex.tlg
+++ b/base/testfiles/github-0524.luatex.tlg
@@ -9,7 +9,7 @@ Don't change this file in any respect.
 ~..\b ->\c \relax 
 ~...\c ->\d \relax 
 ~....\d ->\tracingnone \leavevmode \tracingall hi
-~.....\tracingnone ->\tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \@ne \tracingpages \z@ \tracingstats \z@ 
+~.....\tracingnone ->\tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \tw@ \tracingpages \z@ \tracingstats \z@ 
 {\tracingassigns}
 {changing \tracingassigns=1}
 {into \tracingassigns=0}
@@ -23,7 +23,7 @@ Don't change this file in any respect.
 {\relax}
 {\relax}
 {\relax}
-~.\tracingnone ->\tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \@ne \tracingpages \z@ \tracingstats \z@ 
+~.\tracingnone ->\tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \tw@ \tracingpages \z@ \tracingstats \z@ 
 {\tracingassigns}
 {changing \tracingassigns=1}
 {into \tracingassigns=0}
diff --git a/base/testfiles/github-0524.tlg b/base/testfiles/github-0524.tlg
index 15434988..62ce5b35 100644
--- a/base/testfiles/github-0524.tlg
+++ b/base/testfiles/github-0524.tlg
@@ -10,7 +10,7 @@ Don't change this file in any respect.
 ~..\b ->\c \relax 
 ~...\c ->\d \relax 
 ~....\d ->\tracingnone \leavevmode \tracingall hi
-~.....\tracingnone ->\tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \@ne \tracingpages \z@ \tracingstats \z@ 
+~.....\tracingnone ->\tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \tw@ \tracingpages \z@ \tracingstats \z@ 
 {\tracingassigns}
 {changing \tracingassigns=1}
 {\tracingrestores}
@@ -43,7 +43,7 @@ l. ...\nullfont \a
 {\relax}
 {\relax}
 {\relax}
-~.\tracingnone ->\tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \@ne \tracingpages \z@ \tracingstats \z@ 
+~.\tracingnone ->\tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \tw@ \tracingpages \z@ \tracingstats \z@ 
 {\tracingassigns}
 {changing \tracingassigns=1}
 {\tracingrestores}
diff --git a/base/testfiles/github-robust-0123.luatex.tlg b/base/testfiles/github-robust-0123.luatex.tlg
index 61ff6933..221d108f 100644
--- a/base/testfiles/github-robust-0123.luatex.tlg
+++ b/base/testfiles/github-robust-0123.luatex.tlg
@@ -242,7 +242,7 @@ l. ...\mruntest{ccc}
 ---------------------------------------
 \tracingfonts -> \GenericWarning {(Font)              }{LaTeX Font Warning: Command \tracingfonts not provided.\MessageBreak Use the `tracefnt' package.\MessageBreak Command found:}\count@ 
 ---------------------------------------
-\tracingnone -> \tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \@ne \tracingpages \z@ \tracingstats \z@ 
+\tracingnone -> \tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \tw@ \tracingpages \z@ \tracingstats \z@ 
 ---------------------------------------
 \unlhd -> \GenericError {               }{LaTeX Error: Command \unlhd not provided in base LaTeX2e}{See the LaTeX manual or LaTeX Companion for explanation.}{Load the latexsym or the amsfonts package to define this symbol}
 ---------------------------------------
diff --git a/base/testfiles/github-robust-0123.tlg b/base/testfiles/github-robust-0123.tlg
index 523cb9d9..780a8406 100644
--- a/base/testfiles/github-robust-0123.tlg
+++ b/base/testfiles/github-robust-0123.tlg
@@ -242,7 +242,7 @@ l. ...\mruntest{ccc}
 ---------------------------------------
 \tracingfonts -> \GenericWarning {(Font)              }{LaTeX Font Warning: Command \tracingfonts not provided.\MessageBreak Use the `tracefnt' package.\MessageBreak Command found:}\count@ 
 ---------------------------------------
-\tracingnone -> \tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \@ne \tracingpages \z@ \tracingstats \z@ 
+\tracingnone -> \tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \tw@ \tracingpages \z@ \tracingstats \z@ 
 ---------------------------------------
 \unlhd -> \GenericError {               }{LaTeX Error: Command \unlhd not provided in base LaTeX2e}{See the LaTeX manual or LaTeX Companion for explanation.}{Load the latexsym or the amsfonts package to define this symbol}
 ---------------------------------------
diff --git a/base/testfiles/github-robust-0123.xetex.tlg b/base/testfiles/github-robust-0123.xetex.tlg
index b902d968..57fac596 100644
--- a/base/testfiles/github-robust-0123.xetex.tlg
+++ b/base/testfiles/github-robust-0123.xetex.tlg
@@ -242,7 +242,7 @@ l. ...\mruntest{ccc}
 ---------------------------------------
 \tracingfonts -> \GenericWarning {(Font)              }{LaTeX Font Warning: Command \tracingfonts not provided.\MessageBreak Use the `tracefnt' package.\MessageBreak Command found:}\count@ 
 ---------------------------------------
-\tracingnone -> \tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \@ne \tracingpages \z@ \tracingstats \z@ 
+\tracingnone -> \tracingassigns \z@ \tracingrestores \z@ \tracingonline \z@ \tracingcommands \z@ \showboxdepth \m at ne \showboxbreadth \m at ne \tracingoutput \z@ \errorcontextlines \m at ne \tracingstacklevels \z@ \tracingnesting \z@ \tracingscantokens \z@ \tracingifs \z@ \tracinggroups \z@ \tracingparagraphs \z@ \tracingmacros \z@ \tracinglostchars \tw@ \tracingpages \z@ \tracingstats \z@ 
 ---------------------------------------
 \unlhd -> \GenericError {               }{LaTeX Error: Command \unlhd not provided in base LaTeX2e}{See the LaTeX manual or LaTeX Companion for explanation.}{Load the latexsym or the amsfonts package to define this symbol}
 ---------------------------------------





More information about the latex3-commits mailing list.