[latex3-commits] [latex3/latex2e] gh1101: add news entry and change a tracing info (9228714be)

github at latex-project.org github at latex-project.org
Sat Nov 30 11:15:32 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : gh1101
Link       : https://github.com/latex3/latex2e/commit/9228714bee13441d8ff1254a09c8b105363c6af7

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

commit 9228714bee13441d8ff1254a09c8b105363c6af7
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Sat Nov 30 11:15:32 2024 +0100

    add news entry and change a tracing info


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

9228714bee13441d8ff1254a09c8b105363c6af7
 base/doc/ltnews41.tex          | 35 ++++++++++++++++++++++++++---------
 base/ltfssdcl.dtx              |  7 ++++---
 base/testfiles/github-1028.tlg |  4 ++--
 3 files changed, 32 insertions(+), 14 deletions(-)

diff --git a/base/doc/ltnews41.tex b/base/doc/ltnews41.tex
index 1bc7562c3..6c8fa353f 100644
--- a/base/doc/ltnews41.tex
+++ b/base/doc/ltnews41.tex
@@ -229,11 +229,28 @@ finally changed.
 
 \section{Bug fixes}
 
-%\subsection{A fix}
-
-%% Some text
+\subsection{Fix the use of  \texttt{localmathalpabets}}
+
+In 2021 we introduced a method to overcome the problem that classic
+\TeX{} engines (but not the Unicode engines) have only a limited
+number of math alphabets available that got easily fill up simply by
+loading math font packages, even if their symbols got used only
+occasionally. The idea was to avoid allocating all math alphabets
+globally, but instead allow a number of them (defined by counter
+\texttt{localmathalpabets}) to vary from one formula to the next. This
+way different formulas can make use of different alphabets and chances
+are much higher that the processing a complex the document succeeds.
+See~\cite{41:ltnews34} for details.
+
+Unfortunately, the approach taken failed in some cases of nested
+formulas with the result that the wrong symbol glyphs were used
+(rather than, as before, your \LaTeX{} run stopped with a fatal error
+message). This has now been corrected.
 %
-%%\githubissue{XXXX}
+\githubissue[s]{1101 1028}
+
+
+
 
 %\section{Changes to packages in the \pkg{amsmath} category}
 
@@ -270,17 +287,17 @@ Leslie Lamport.
 \newblock Reprinted with corrections in 1996.
 
 \bibitem{41:ltnews} \LaTeX{} Project Team.
-  \emph{\LaTeXe{} news 1--39}. June, 2024.
+  \emph{\LaTeXe{} news 1--41}. June, 2025.
   \url{https://latex-project.org/news/latex2e-news/ltnews.pdf}
 
+\bibitem{41:ltnews34} \LaTeX{} Project Team.
+  \emph{\LaTeXe{} news 34}. November 2021.
+  \url{https://latex-project.org/news/latex2e-news/ltnews34.pdf}
+
 \bibitem{41:ltnews35} \LaTeX{} Project Team.
   \emph{\LaTeXe{} news 35}. June 2022.
   \url{https://latex-project.org/news/latex2e-news/ltnews35.pdf}
 
-\bibitem{41:ltnews38} \LaTeX{} Project Team.
-  \emph{\LaTeXe{} news 38}. November 2023.
-  \url{https://latex-project.org/news/latex2e-news/ltnews38.pdf}
-
 \bibitem{41:ltnews40} \LaTeX{} Project Team.
   \emph{\LaTeXe{} news 40}. November 2024.
   \url{https://latex-project.org/news/latex2e-news/ltnews40.pdf}
diff --git a/base/ltfssdcl.dtx b/base/ltfssdcl.dtx
index 6fdedfe29..6445d5c16 100644
--- a/base/ltfssdcl.dtx
+++ b/base/ltfssdcl.dtx
@@ -752,8 +752,8 @@
 %    revert the top-level definition as this is the exceptional case
 %    and happens only if several math versions are used in parallel.
 %    \begin{macrocode}
-                 \@font at info{ but~ do~ not~ reset~ the~ top-level~
-                              math~ alphabet~ definitions }
+                 \@font at info{ ...~ but~ do~ not~ reset~ the~
+                      top-level~ math~ alphabet~ definitions }
                }
              }
              {
@@ -761,7 +761,8 @@
 %    If there was no change, we report that in the log (but this
 %    branch could go completely).
 %    \begin{macrocode}
-               \@font at info{ No~ math~ alphabet~ change~ to~ frozen~ version~ #1 }
+               \@font at info{ No~ math~ alphabet~ change~
+                            to~ frozen~ version~ #1 }
              }
        }
        {
diff --git a/base/testfiles/github-1028.tlg b/base/testfiles/github-1028.tlg
index 3a02af14a..d8a38aac2 100644
--- a/base/testfiles/github-1028.tlg
+++ b/base/testfiles/github-1028.tlg
@@ -16,7 +16,7 @@ LaTeX Font Info:    Nested math: keeping math alphabet allocation in version nor
 LaTeX Font Info:    Nested math: keeping math alphabet allocation in version bold on input line ....
 LaTeX Font Info:    Undo math alphabet allocation in version normal on input line ....
 LaTeX Font Info:    Undo math alphabet allocation in version bold on input line ....
-LaTeX Font Info:    but do not reset the top-level math alphabet definitions on input line ....
+LaTeX Font Info:    ... but do not reset the top-level math alphabet definitions on input line ....
 LaTeX Font Info:    Undo math alphabet allocation in version normal on input line ....
 LaTeX Font Info:    No math alphabet change to frozen version bold on input line ....
 LaTeX Font Info:    Nested math: keeping math alphabet allocation in version normal on input line ....
@@ -25,7 +25,7 @@ LaTeX Font Info:    Nested math: keeping math alphabet allocation in version nor
 LaTeX Font Info:    Nested math: keeping math alphabet allocation in version bold on input line ....
 LaTeX Font Info:    Undo math alphabet allocation in version normal on input line ....
 LaTeX Font Info:    Undo math alphabet allocation in version bold on input line ....
-LaTeX Font Info:    but do not reset the top-level math alphabet definitions on input line ....
+LaTeX Font Info:    ... but do not reset the top-level math alphabet definitions on input line ....
 LaTeX Font Info:    Undo math alphabet allocation in version normal on input line ....
 LaTeX Font Info:    No math alphabet change to frozen version bold on input line ....
 Completed box being shipped out [1]





More information about the latex3-commits mailing list.