diff --git a/base/doc/ltnews40.tex b/base/doc/ltnews40.tex index d7b723014..62e335972 100644 --- a/base/doc/ltnews40.tex +++ b/base/doc/ltnews40.tex @@ -384,28 +384,19 @@ \section{Improvement to \XeTeX\ \cs{showhyphens}} \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}