[latex3-commits] [git/LaTeX3-latex3-latex2e] gh1052: Add ltnews37 entry (69aab86e)

PhelypeOleinik phelype.oleinik at latex-project.org
Wed Apr 19 05:49:24 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : gh1052
Link       : https://github.com/latex3/latex2e/commit/69aab86ed94c11bdc4782a896856e98d13314a25

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

commit 69aab86ed94c11bdc4782a896856e98d13314a25
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Wed Apr 19 00:49:24 2023 -0300

    Add ltnews37 entry


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

69aab86ed94c11bdc4782a896856e98d13314a25
 base/doc/ltnews37.tex | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/base/doc/ltnews37.tex b/base/doc/ltnews37.tex
index c16581bd..457b55a6 100644
--- a/base/doc/ltnews37.tex
+++ b/base/doc/ltnews37.tex
@@ -579,6 +579,15 @@ translated to ``\verb|the character ^^M|''.
 %
 \githubissue{876}
 
+\subsection{Correct handling of hooks with only `next' code}
+When \cs{AddToHookNext} was used on a not-yet-declared hook, that hook
+would be incorrectly identified as empty by \cs{ShowHook}.  Also, if
+that hook was later declared, that `next' code would not be executed.
+This has been fixed by correctly initializing the hook structure when
+\cs{AddToHookNext} is used.
+%
+\githubissue{1052}
+
 \section{Documentation improvements}
 
 When \LaTeXe{} was released, the team provided documentation for both document





More information about the latex3-commits mailing list.