[latex3-commits] [latex3/latex2e] latexlab/uf-review-math: load amsmath in begindocument/before and not in begindocument (06b627b1)

github at latex-project.org github at latex-project.org
Sat Oct 14 16:13:54 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : latexlab/uf-review-math
Link       : https://github.com/latex3/latex2e/commit/06b627b11bf4771fca8f06c59018368f29151f27

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

commit 06b627b11bf4771fca8f06c59018368f29151f27
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Oct 14 16:13:54 2023 +0200

    load amsmath in begindocument/before and not in begindocument


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

06b627b11bf4771fca8f06c59018368f29151f27
 required/latex-lab/latex-lab-math.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
index 0760d173..41d0cd11 100644
--- a/required/latex-lab/latex-lab-math.dtx
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -217,7 +217,7 @@
 % have conditional definitions and deals with how to define \cs{[}/\cs{]}
 % neatly.
 %    \begin{macrocode}
-\tl_gput_right:Nn \@kernel at before@begindocument
+\AddToHook{begindocument/before}
   { \RequirePackage { amsmath } }
 %    \end{macrocode} 
 %





More information about the latex3-commits mailing list.