[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks: docu in some intermediate state needing special support (96394f68)

Frank Mittelbach frank.mittelbach at latex-project.org
Sat Jul 11 19:57:34 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : lthooks
Link       : https://github.com/latex3/latex2e/commit/96394f68ccc83c83860a10310b5e8ef031fed77e

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

commit 96394f68ccc83c83860a10310b5e8ef031fed77e
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Sat Jul 11 19:57:34 2020 +0200

    docu in some intermediate state needing special support


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

96394f68ccc83c83860a10310b5e8ef031fed77e
 base/lthooks.dtx | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index eba27fd7..9546323e 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -17,8 +17,8 @@
 % for those people who are interested or want to report an issue.
 %
 %    \begin{macrocode}
-\providecommand\lthooksversion{v0.8t}
-\providecommand\lthooksdate{2020/07/10}
+\providecommand\lthooksversion{v0.8u}
+\providecommand\lthooksdate{2020/07/11}
 %    \end{macrocode}
 %
 %<*driver>
@@ -3326,6 +3326,7 @@
 %    \end{macrocode}
 %    
 %    \begin{macrocode}
+  \@kernel at after@env at document@begin
   \ifx\@unusedoptionlist\@empty\else
     \@latex at warning@no at line{Unused global option(s):^^J%
             \@spaces[\@unusedoptionlist]}%
@@ -3398,19 +3399,22 @@
 %  \end{macro}
 %
 %
-%  \begin{macro}{\@kernel at hook@begindocument}
+%  \begin{macro}{\@kernel at after@env at document@begin,\@kernel at hook@begindocument}
 %    
 %    \begin{macrocode}
-\edef\@kernel at hook@begindocument{%
-%    \begin{macrocode}
+\edef \@kernel at after@env at document@begin{%
   \expandafter\let
   \expandafter\noexpand\csname
        g__hook_env/document/begin_code_tl\endcsname
   \noexpand\@empty}
 %    \end{macrocode}
-%    
+%    \begin{macrocode}
+\let\@kernel at hook@begindocument\@empty
 %    \end{macrocode}
+%    
 %  \end{macro}
+%
+%
 % \section{Hooks in \cs{enddocument}}
 %
 %





More information about the latex3-commits mailing list.