[latex3-commits] [latex3/latex2e] develop: Add a ltnews entry (e1485547)

github at latex-project.org github at latex-project.org
Tue Oct 8 14:50:03 CEST 2024


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/e1485547b13bd710881d2e4debbf2fe64b1e46b6

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

commit e1485547b13bd710881d2e4debbf2fe64b1e46b6
Author: Joseph Wright <joseph at texdev.net>
Date:   Tue Oct 8 07:34:11 2024 +0100

    Add a ltnews entry


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

e1485547b13bd710881d2e4debbf2fe64b1e46b6
 base/doc/ltnews40.tex | 29 +++++++++++++++++++----------
 1 file changed, 19 insertions(+), 10 deletions(-)

diff --git a/base/doc/ltnews40.tex b/base/doc/ltnews40.tex
index 22f23dae..cbfd2ee2 100644
--- a/base/doc/ltnews40.tex
+++ b/base/doc/ltnews40.tex
@@ -379,19 +379,28 @@ corrected and the warnings are suppressed.
 \githubissue{1380}
 
 
-\section{Avoid code duplication in rollback}
-
-When the kernel uses \cs{AddToHook} in a region that might be 
-rolled back (which happens in a few places) and a document requests a
-rollback, then we have the situation that the hook already contains code to which we added the same
-(or slightly different) code during the
-rollback; this results in code duplication or, worse, in errors. This has
-now been corrected by dropping any such code chunk (if there is one) prior to
-adding the rollback code.
+\section{Passing template keys using \cs{KeyValue}}
+
+With the move of the template code to the kernel, some internal efficiencies
+were also made. However, there was an oversight in how passing key values from
+one setting to another was implemented, meaning that using \cs{KeyValue} could
+result in an infinite loop. This has now been fixed.
 %
-\githubissue{1407}
+\githubissue{1487}
+
 
 
+\subsection{Handling of global keys with spaces}
+
+If the global (class) options contained spaces around key names,
+\cs{ProcessKeyOptions} would fail to remove known keys from the
+list of unused global options and \cs{OptionNotUsed} would mistakenly
+add space-surrounded key names to that list.
+These has been corrected as a hotfix in patch level 1 of the November 2023
+release (but unfortunately not mentioned in~\cite{40:ltnews38}) and
+the current release, respectively.
+%
+\githubissue{1238}
 
 
 \section{Changes to packages in the \pkg{amsmath} category}





More information about the latex3-commits mailing list.