[latex3-commits] [git/LaTeX3-latex3-latex2e] gh818: Add changes.txt and ltnews35.tex entries (3b285707)
PhelypeOleinik
phelype.oleinik at latex-project.org
Tue May 17 05:06:28 CEST 2022
Repository : https://github.com/latex3/latex2e
On branch : gh818
Link : https://github.com/latex3/latex2e/commit/3b28570741800b0f6a7cb3d8ed1653356b47de92
>---------------------------------------------------------------
commit 3b28570741800b0f6a7cb3d8ed1653356b47de92
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Tue May 17 00:06:28 2022 -0300
Add changes.txt and ltnews35.tex entries
>---------------------------------------------------------------
3b28570741800b0f6a7cb3d8ed1653356b47de92
base/changes.txt | 6 ++++++
base/doc/ltnews35.tex | 14 ++++++++++++++
2 files changed, 20 insertions(+)
diff --git a/base/changes.txt b/base/changes.txt
index db889fb1..64d9a8d4 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -5,6 +5,12 @@ It is provided for convenience only. It therefore makes no claims to
completeness or accuracy and it contains some references to files that
are not part of the distribution.
================================================================================
+
+2022-05-17 Phelype Oleinik <phelype.oleinik at latex-project.org>
+
+ * lthooks.dtx (subsection{Setting rules for hooks code}):
+ Refuse sorting one-time hooks (gh/818).
+
2022-05-08 Marcel Krüger <Marcel.Krueger at latex-project.org>
* utf8ienc.dtx:
diff --git a/base/doc/ltnews35.tex b/base/doc/ltnews35.tex
index 741542a2..2d63aee0 100644
--- a/base/doc/ltnews35.tex
+++ b/base/doc/ltnews35.tex
@@ -751,6 +751,20 @@ The old behavior can be restored by adding
to a document.
+\subsection{Fixed bug when setting a hook rule during a one-time hook code}
+
+In the particular case of a one-time hook used in or after
+\verb|\begin{document}| with at least two code labels, where one of them
+contains the declaration of a hook ordering rule for that one hook (such
+that the sorting mechanism kicks in while running the hook code), a bug
+existed which would cause the spurious typesetting of the code labels
+and the hook name. This was caused because the sorting mechanism was
+incorrectly called for a one-time hook. The bug is now fixed and the
+sorting mechanism first checks if the hook is not one-time before trying
+to sort it.
+%
+\githubissue{818}
+
\section{Changes to packages in the \pkg{amsmath} category}
More information about the latex3-commits
mailing list.