[latex3-commits] [latex3/latex2e] develop: Revert "Add a ltnews entry" (b8e89480)

github at latex-project.org github at latex-project.org
Tue Oct 8 17:59:00 CEST 2024


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

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

commit b8e894802739c412183cba8b1734597f82da9072
Author: Joseph Wright <joseph at texdev.net>
Date:   Tue Oct 8 14:45:38 2024 +0100

    Revert "Add a ltnews entry"
    
    This reverts commit e1485547b13bd710881d2e4debbf2fe64b1e46b6.


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

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

diff --git a/base/doc/ltnews40.tex b/base/doc/ltnews40.tex
index d7b72301..62e33597 100644
--- a/base/doc/ltnews40.tex
+++ b/base/doc/ltnews40.tex
@@ -384,28 +384,19 @@ corrected and the warnings are suppressed.
 \githubissue{1380}
 
 
-\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.
+\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.
 %
-\githubissue{1487}
-
+\githubissue{1407}
 
 
-\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.