[latex3-commits] [git/LaTeX3-latex3-latex2e] tracinglostchar: changed default for tracinglostchars (0bca9326)
Frank Mittelbach
frank.mittelbach at latex-project.org
Fri Jul 16 19:04:35 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : tracinglostchar
Link : https://github.com/latex3/latex2e/commit/0bca9326c9c39520c44a5c175b0698ac85868fa7
>---------------------------------------------------------------
commit 0bca9326c9c39520c44a5c175b0698ac85868fa7
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Fri Jul 16 19:04:35 2021 +0200
changed default for tracinglostchars
>---------------------------------------------------------------
0bca9326c9c39520c44a5c175b0698ac85868fa7
base/changes.txt | 6 ++++++
base/doc/ltnews34.tex | 20 ++++++++++++++++++++
base/ltplain.dtx | 15 +++++++++++++--
3 files changed, 39 insertions(+), 2 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index 0c399317..461b0b16 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,12 @@ completeness or accuracy and it contains some references to files that
are not part of the distribution.
================================================================================
+2021-07-16 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltplain.dtx (section{Plain \TeX}):
+ Use 2 as value for \tracinglostchars so that one gets at least warnings
+ on the terminal (3 would be better as a missing char is an error).
+
2021-07-11 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* lterror.dtx (subsection{General commands}):
diff --git a/base/doc/ltnews34.tex b/base/doc/ltnews34.tex
index 8b1c20d0..a3386e3a 100644
--- a/base/doc/ltnews34.tex
+++ b/base/doc/ltnews34.tex
@@ -176,6 +176,26 @@ amsmath \cs{numberwithin}.
\emph{write appropriate description}
+
+\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
+error and should therefore be properly looked at.
+
+Use 2 as value for
+\tracinglostchars so that one gets at least warnings on the terminal
+(3 would be better as a missing char is an error).
+
+
+
+
+
\subsection{???}
%
diff --git a/base/ltplain.dtx b/base/ltplain.dtx
index e0fbcecf..41dc3f57 100644
--- a/base/ltplain.dtx
+++ b/base/ltplain.dtx
@@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltplain.dtx}
- [2021/04/18 v2.3f LaTeX Kernel (Plain TeX)]
+ [2021/07/16 v2.3g LaTeX Kernel (Plain TeX)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltplain.dtx}
@@ -906,6 +906,7 @@
\finalhyphendemerits=5000
\adjdemerits=10000
% \end{macrocode}
+% \begin{macrocode}
% \looseness=0, cleared by TeX after each paragraph
% \pausing=0
% \holdinginserts=0
@@ -915,9 +916,19 @@
% \tracingparagraphs=0
% \tracingpages=0
% \tracingoutput=0
+% \end{macrocode}
+% 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
+% 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}
-\tracinglostchars=1
+\tracinglostchars=2
% \end{macrocode}
+% \begin{macrocode}
% \tracingcommands=0
% \tracingrestores=0
% \end{macrocode}
More information about the latex3-commits
mailing list.