[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks-roolback: better rollback for lthooks (b4cce213)

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Aug 3 16:03:54 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : lthooks-roolback
Link       : https://github.com/latex3/latex2e/commit/b4cce213ce54edc25ebb2fa9a02b147b0404d50a

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

commit b4cce213ce54edc25ebb2fa9a02b147b0404d50a
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Aug 3 16:03:54 2020 +0200

    better rollback for lthooks


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

b4cce213ce54edc25ebb2fa9a02b147b0404d50a
 base/ltfinal.dtx | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

diff --git a/base/ltfinal.dtx b/base/ltfinal.dtx
index 68c42070..9a406085 100644
--- a/base/ltfinal.dtx
+++ b/base/ltfinal.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltfinal.dtx}
-             [2020-08-01 v2.2g LaTeX Kernel (Final Settings)]
+             [2020-08-03 v2.2h LaTeX Kernel (Final Settings)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltfinal.dtx}
@@ -1161,29 +1161,35 @@
 %<latexrelease>  \expandafter\endgroup\if at endpe\@doendpe\fi
 %<latexrelease>  \if at ignore\@ignorefalse\ignorespaces\fi}
 %<latexrelease>
-%<latexrelease>\DeclareDocumentCommand \NewHook             {m}{}
-%<latexrelease>\DeclareDocumentCommand \NewReversedHook     {m}{}
-%<latexrelease>\DeclareDocumentCommand \NewMirroredHookPair {mm}{}
+%<latexrelease>\def \NewHook#1{}
+%<latexrelease>\def \NewReversedHook#1{}
+%<latexrelease>\def \NewMirroredHookPair#1#2{}
+%<latexrelease>
+%<latexrelease>\long\def \AddToHook#1#2{}
+%<latexrelease>
+%<latexrelease>\def \AddToHookNext#1{\@gobble at AddToHook@args}
+%<latexrelease>\newcommand\@gobble at AddToHook@args[2][]{}
+%<latexrelease>
+%<latexrelease>\def\RemoveFromHook#1{\@gobble at RemoveFromHook@arg}
+%<latexrelease>\providecommandcommand\@gobble at RemoveFromHook@arg[1][]{}
 %<latexrelease>
-%<latexrelease>\DeclareDocumentCommand \AddToHookNext {m+m}{}
-%<latexrelease>\DeclareDocumentCommand \RemoveFromHook {mo}{}
 %<latexrelease>\def \UseHook        #1{}
 %<latexrelease>\def \UseOneTimeHook #1{}
 %<latexrelease>\def \ShowHook #1{}
 %<latexrelease>\let \DebugHookOn \@empty
 %<latexrelease>\let \DebugHookOff\@empty
 %<latexrelease>
-%<latexrelease>\DeclareDocumentCommand \DeclareHookRule {mmmm}{}
-%<latexrelease>\DeclareDocumentCommand \DeclareDefaultHookRule {mmm}{}
-%<latexrelease>\DeclareDocumentCommand \ClearHookRule {mmm}{}
+%<latexrelease>\def \DeclareHookRul#1#2#3#4{}
+%<latexrelease>\def \DeclareDefaultHookRule #1#2#3{}
+%<latexrelease>\def \ClearHookRule#1#2#3{}
 %    \end{macrocode}
 %    If the hook management is not provided we make the test for existence
 %    false and the test for empty true in the hope that this is most
 %    of the time reasonable. If not a package would need to guard
 %    against running in an old kernel.
 %    \begin{macrocode}
-%<latexrelease>\DeclareExpandableDocumentCommand \IfHookExistTF {mmm}{#3}
-%<latexrelease>\DeclareExpandableDocumentCommand \IfHookEmptyTF {mmm}{#2}
+%<latexrelease>\def \IfHookExistTF #1#2#3{#3}
+%<latexrelease>\def \IfHookEmptyTF #1#2#3{#2}
 %<latexrelease>
 %<latexrelease>\DeclareRobustCommand\AtBeginDocument{\g at addto@macro\@begindocumenthook}
 %<latexrelease>\DeclareRobustCommand\AtEndDocument{\g at addto@macro\@enddocumenthook}
@@ -1205,9 +1211,6 @@
 %<latexrelease>  \@expl at pop@filename@@}
 %<latexrelease>
 %<latexrelease>
-%<latexrelease>% next goes away again when etoolbox is updated ...
-%<latexrelease>\expandafter\let\csname ver at etoolbox.sty\endcsname\@undefined
-%<latexrelease>
 %<latexrelease>\def\document{\endgroup
 %<latexrelease>  \@expl at sys@load at backend@@
 %<latexrelease>  \ifx\@unusedoptionlist\@empty\else





More information about the latex3-commits mailing list.