[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks: fix for \AfterPreamble (3627cd51)

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Jul 13 11:56:57 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : lthooks
Link       : https://github.com/latex3/latex2e/commit/3627cd51bbeac0a8a04420ea137c2d03f72799f0

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

commit 3627cd51bbeac0a8a04420ea137c2d03f72799f0
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Jul 13 11:56:57 2020 +0200

    fix for \AfterPreamble


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

3627cd51bbeac0a8a04420ea137c2d03f72799f0
 base/etoolbox-ltx.sty | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/base/etoolbox-ltx.sty b/base/etoolbox-ltx.sty
index ce484a29..78547591 100644
--- a/base/etoolbox-ltx.sty
+++ b/base/etoolbox-ltx.sty
@@ -1716,11 +1716,11 @@
 
 % {<code>}
 
-\newrobustcmd*{\AfterPreamble}{\AtBeginDocument}
-
+%FMi \newrobustcmd*{\AfterPreamble}{\AtBeginDocument}
 %FMi \AtEndPreamble{\let\AfterPreamble\@firstofone}
 
-% last line no longer needed
+\let \AfterPreamble \AtBeginDocument
+
 
 
 % {<code>}





More information about the latex3-commits mailing list.