[latex3-commits] [git/LaTeX3-latex3-latex2e] tracinglostchar: can't really argue: my recollection was faulty, so description changed (6a24ee1d)

Frank Mittelbach frank.mittelbach at latex-project.org
Sat Jul 17 10:03:07 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : tracinglostchar
Link       : https://github.com/latex3/latex2e/commit/6a24ee1dcc0c96f20bfeed520caaa72c21266b0d

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

commit 6a24ee1dcc0c96f20bfeed520caaa72c21266b0d
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Sat Jul 17 10:03:07 2021 +0200

    can't really argue: my recollection was faulty, so description changed


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

6a24ee1dcc0c96f20bfeed520caaa72c21266b0d
 base/doc/ltnews34.tex | 14 ++++++++------
 base/ltplain.dtx      | 11 ++++++++---
 2 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/base/doc/ltnews34.tex b/base/doc/ltnews34.tex
index e8474cb0..3b821958 100644
--- a/base/doc/ltnews34.tex
+++ b/base/doc/ltnews34.tex
@@ -180,12 +180,14 @@ amsmath \cs{numberwithin}.
 \subsection{New default for \cs{tracinglostchars}}
 
 In 2021 the \TeX{} engines got enhanced so that \cs{tracinglostchars}
-is supporting other values than zero and one.  It now accepts the
-values \texttt{2} (warning on the terminal) and \texttt{3} (error on
-the terminal). Using \texttt{3} would really be the best, but for
-compatibility reasons we only set it \texttt{2} in the kernel.
-However, we recommend to add \cs{tracinglostchars}\texttt{=3} to the
-preamble of documents because missing glyphs in the output are an
+is now also supporting the value \texttt{3}, turning missing
+characters into errors and not just warnings. This change made us
+realize that \LaTeX{} should use a better default for this parameter
+(currently the warning is only written into the transcript file).
+Using the now available \texttt{3} would really be the best, but for
+compatibility reasons we only set it to \texttt{2} in the kernel.
+However, we recommend to adding \cs{tracinglostchars}\texttt{=3} to the
+preamble of documents, because missing glyphs in the output are an
 error and should therefore be properly looked at.
     
 
diff --git a/base/ltplain.dtx b/base/ltplain.dtx
index 41dc3f57..d8c65ae8 100644
--- a/base/ltplain.dtx
+++ b/base/ltplain.dtx
@@ -920,9 +920,14 @@
 %    In the past \LaTeX{} used the value of \texttt{1} for
 %    \cs{tracinglostchar} because this was the best it could do.  This
 %    way one would at least get a warning in the \texttt{.log}
-%    file. In 2021 this parameter was improved on and now also accepts
-%    the values \texttt{2} (warning on the terminal) and \texttt{3}
-%    (error on the terminal). Using \texttt{3} would really be the
+%    file. e\TeX{} imoved on that and supported a value of \texttt{2}
+%    to show the warning on the terminal, so we could have changed the
+%    default when we made the e\Tex{} extensions required---however,
+%    we overlooked that oportunity.
+%    In 2021 this parameter was improved on again and now also accepts
+%    the value \texttt{3}
+%    (error on the terminal). This made us realize that we should
+%    change the default. Using \texttt{3} would really be the
 %    best, but for compatibility reasons we only use \texttt{2}.
 % \changes{v2.3g}{2021/07/16}{Use 2 as value for \cs{tracinglostchars}}
 %    \begin{macrocode}





More information about the latex3-commits mailing list.