[latex3-commits] [latex3/latex2e] develop: adjust amsmath (4868c6e2)

github at latex-project.org github at latex-project.org
Sun May 14 10:26:38 CEST 2023


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

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

commit 4868c6e2b0328016aad0f7a3cd40b284c8553e08
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sat May 13 14:38:00 2023 +0100

    adjust amsmath


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

4868c6e2b0328016aad0f7a3cd40b284c8553e08
 required/amsmath/amsmath.dtx | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/required/amsmath/amsmath.dtx b/required/amsmath/amsmath.dtx
index 34d17b65..abde8f2e 100644
--- a/required/amsmath/amsmath.dtx
+++ b/required/amsmath/amsmath.dtx
@@ -1,8 +1,8 @@
-%
+pp%
 % \iffalse meta-comment
 %
 % Copyright (C) 1995, 2000, 2013 American Mathematical Society.
-% Copyright (C) 2016-2022 LaTeX Project and American Mathematical Society.
+% Copyright (C) 2016-2023 LaTeX Project and American Mathematical Society.
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3c
@@ -86,7 +86,7 @@ Bug reports can be opened (category \texttt{#1}) at\\%
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\ProvidesPackage{amsmath}[2022/04/08 v2.17n AMS math features]
+\ProvidesPackage{amsmath}[2023/05/13 v2.17o AMS math features]
 %    \end{macrocode}
 %
 % \section{Catcode defenses}
@@ -6261,9 +6261,10 @@ Cannot use `split' here;\MessageBreak trying to recover with `aligned'}%
 %    Standard \latex/ provides three environments for one-line equations:
 %    \cn{[}\cn{]}, \env{equation}, and \env{displaymath}. We add
 %    \env{equation*} as a synonym for \env{displaymath}.
+% \changes{v2.17o}{2023/05/13}{Do not error if \cs{eqno} not primitive}
 %    \begin{macrocode}
-\@saveprimitive\leqno\@@leqno
-\@saveprimitive\eqno\@@eqno
+\let\@@eqno\eqno
+\let\@@leqno\leqno
 \def\eqno{\@@eqno\let\eqno\relax\let\leqno\relax}
 \def\leqno{\@@leqno\let\leqno\relax\let\eqno\relax}
 %





More information about the latex3-commits mailing list.