From c5012e62778fc7dd413f7842c876b7e2885f5e0a Mon Sep 17 00:00:00 2001 From: Frank Mittelbach Date: Sat, 11 Jan 2025 12:21:12 +0100 Subject: [PATCH 1/2] fix for #1608 --- required/amsmath/amsmath.dtx | 6 ++++-- required/amsmath/changes.txt | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/required/amsmath/amsmath.dtx b/required/amsmath/amsmath.dtx index b56c65203..020f158bd 100644 --- a/required/amsmath/amsmath.dtx +++ b/required/amsmath/amsmath.dtx @@ -85,7 +85,7 @@ Bug reports can be opened (category \texttt{#1}) at\\% % \end{macrocode} % % \begin{macrocode} -\ProvidesPackage{amsmath}[2024/11/05 v2.17t AMS math features] +\ProvidesPackage{amsmath}[2025/01/11 v2.17u AMS math features] % \end{macrocode} % % \section{Catcode defenses} @@ -3117,9 +3117,11 @@ ill-advised in LaTeX.% % \end{macrocode} % In case there is an enumerate inside a minipage inside an equation, % we need to reset \cn{label} to its normal value: +% \changes{v2.17u}{2025/01/11}{Correct typo: \cs{@arrayparboxrestore} +% needs changing not \cs{@arrayboxrestore} (gh/1608)} % \begin{macrocode} \toks@\@xp{\@arrayparboxrestore \let\label\ltx@label}% -\edef\@arrayboxrestore{\the\toks@} +\edef\@arrayparboxrestore{\the\toks@} % \end{macrocode} % % \begin{macrocode} diff --git a/required/amsmath/changes.txt b/required/amsmath/changes.txt index 3a4e6fd46..9bbaa2191 100644 --- a/required/amsmath/changes.txt +++ b/required/amsmath/changes.txt @@ -2,6 +2,12 @@ All changes above are only part of the development branch for the next release. ================================================================================ +2025-01-11 Frank Mittelbach + + * amsmath.dtx (subsection{Implementing tags and labels}): + Correct 30 years old typo: \@arrayparboxrestore needs changing + not \@arrayboxrestore (gh/1608) + ######################### # 2024-11-01a Release ######################### From 7562d1dbbc39942a1af12c4abbb9419a62824ec7 Mon Sep 17 00:00:00 2001 From: Frank Mittelbach Date: Sat, 11 Jan 2025 12:39:57 +0100 Subject: [PATCH 2/2] cleanup change entry --- required/amsmath/amsmath.dtx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/required/amsmath/amsmath.dtx b/required/amsmath/amsmath.dtx index 020f158bd..46764ee6f 100644 --- a/required/amsmath/amsmath.dtx +++ b/required/amsmath/amsmath.dtx @@ -3117,8 +3117,9 @@ ill-advised in LaTeX.% % \end{macrocode} % In case there is an enumerate inside a minipage inside an equation, % we need to reset \cn{label} to its normal value: -% \changes{v2.17u}{2025/01/11}{Correct typo: \cs{@arrayparboxrestore} -% needs changing not \cs{@arrayboxrestore} (gh/1608)} +% \changes{v2.17u}{2025/01/11}{Correct 30 years old typo: +% \cs{@arrayparboxrestore} needs changing not +% \cs{@arrayboxrestore} (gh/1608)} % \begin{macrocode} \toks@\@xp{\@arrayparboxrestore \let\label\ltx@label}% \edef\@arrayparboxrestore{\the\toks@}