[latex3-commits] [git/LaTeX3-latex3-latex2e] ltcmdhooks: more rollback stuff (774c6c41)

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Apr 19 18:17:25 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : ltcmdhooks
Link       : https://github.com/latex3/latex2e/commit/774c6c4121507553a7fdc90f3834be39fd472967

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

commit 774c6c4121507553a7fdc90f3834be39fd472967
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Apr 19 18:17:25 2021 +0200

    more rollback stuff


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

774c6c4121507553a7fdc90f3834be39fd472967
 base/lthooks.dtx                                   | 60 +++++++++++++++++-----
 base/testfiles/github-0479-often.luatex.tlg        | 60 +++++++++++-----------
 base/testfiles/github-0479-often.tlg               |  2 +
 base/testfiles/github-0479-often.xetex.tlg         |  2 +
 .../tlb-latexrelease-rollback-003-often.luatex.tlg | 54 ++++++++++---------
 .../tlb-latexrelease-rollback-003-often.tlg        |  4 ++
 .../tlb-latexrelease-rollback-003-often.xetex.tlg  |  4 ++
 base/testfiles/tlb-rollback-004-often.luatex.tlg   | 50 +++++++++---------
 base/testfiles/tlb-rollback-004-often.tlg          |  2 +
 base/testfiles/tlb-rollback-004-often.xetex.tlg    |  2 +
 10 files changed, 149 insertions(+), 91 deletions(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 195ec60b..9ff81c5d 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -2645,8 +2645,9 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{\@@_try_declaring_generic_hook:nnn}
-% \begin{macro}{\@@_try_declaring_generic_next_hook:nn}
+% \begin{macro}{\@@_try_declaring_generic_hook:nnn,
+%               \@@_try_declaring_generic_next_hook:nn}
+%
 %   These entry-level macros just pass the arguments along to the
 %   common \cs{@@_try_declaring_generic_hook:nNNnn} with the right
 %   functions to execute when some action is to be taken.
@@ -2673,13 +2674,14 @@
       \hook_gput_next_code:nn \@@_gput_next_do:nn
   }
 %    \end{macrocode}
+% \end{macro}
 %
-% \begin{macro}{
-%     \@@_try_declaring_generic_hook:nNNnn,
-%     \@@_try_declaring_generic_hook_split:nNNnn
-%   }
-% \begin{macro}[TF]{\@@_try_declaring_generic_hook:wn}
-%   \cs{@@_try_declaring_generic_hook:nNNnn} now splits the hook name
+%
+% \begin{macro}{\@@_try_declaring_generic_hook:nNNnn,
+%               \@@_try_declaring_generic_hook_split:nNNnn}
+%
+%   \cs{@@_try_declaring_generic_hook:nNNnn}
+%   now splits the hook name
 %   at the first \texttt{/} (if any) and first checks if it is a
 %   file-specific hook (they require some normalization) using
 %   \cs{@@_if_file_hook:wTF}. If not then check it is one of a
@@ -2707,8 +2709,14 @@
       { #3 } {#1}
   }
 %    \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}[TF]{\@@_try_declaring_generic_hook:wn}
 %
 %    \begin{macrocode}
+%<latexrelease>\IncludeInRelease{2021/06/01}%
+%<latexrelease>         {\@@_try_declaring_generic_hook:wn}{Support~cmd~hooks}
 \prg_new_protected_conditional:Npnn \@@_try_declaring_generic_hook:wn
     #1 / #2 / #3 / #4 \scan_stop: #5 { TF }
   {
@@ -2725,8 +2733,8 @@
 %    declaring the hook.
 %
 %    For some commands this will not be possible, in which case
-%    \cs{@@_patch_cmd_or_delay:Nnn} will generate an appropriate error
-%    message.
+%    \cs{@@_patch_cmd_or_delay:Nnn} (defined in \texttt{ltcmdhooks})
+%    will generate an appropriate error message.
 %    \begin{macrocode}
                 \str_if_eq:nnT {#1} { cmd }
                   { \@@_try_put_cmd_hook:n {#5} }
@@ -2751,10 +2759,36 @@
           { \prg_return_false: }
       }
   }
+%<latexrelease>\EndIncludeInRelease
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+%<latexrelease>\IncludeInRelease{2020/10/01}%
+%<latexrelease>         {\@@_try_declaring_generic_hook:wn}{Support~cmd~hooks}
+%<latexrelease>
+%<latexrelease>\prg_new_protected_conditional:Npnn \__hook_try_declaring_generic_hook:wn
+%<latexrelease>    #1 / #2 / #3 / #4 \scan_stop: #5 { TF }
+%<latexrelease>  {
+%<latexrelease>    \tl_if_empty:nTF {#2}
+%<latexrelease>      { \prg_return_false: }
+%<latexrelease>      {
+%<latexrelease>        \prop_if_in:NnTF \c__hook_generics_prop {#1}
+%<latexrelease>          {
+%<latexrelease>            \@@_if_declared:nF {#5} { \hook_new:n {#5} }
+%<latexrelease>            \prop_if_in:NnTF \c__hook_generics_reversed_ii_prop {#2}
+%<latexrelease>              { \tl_gset:cn { g__hook_#5_reversed_tl } { - } }
+%<latexrelease>              {
+%<latexrelease>                \prop_if_in:NnT \c__hook_generics_reversed_iii_prop {#3}
+%<latexrelease>                  { \tl_gset:cn { g__hook_#5_reversed_tl } { - } }
+%<latexrelease>              }
+%<latexrelease>            \prg_return_true:
+%<latexrelease>          }
+%<latexrelease>          { \prg_return_false: }
+%<latexrelease>      }
+%<latexrelease>  }
+%<latexrelease>
+%<latexrelease>\EndIncludeInRelease
 %    \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
 % \end{macro}
 %
 % \begin{macro}[pTF]{\@@_if_file_hook:w}
diff --git a/base/testfiles/github-0479-often.luatex.tlg b/base/testfiles/github-0479-often.luatex.tlg
index 5026299b..54300f32 100644
--- a/base/testfiles/github-0479-often.luatex.tlg
+++ b/base/testfiles/github-0479-often.luatex.tlg
@@ -120,13 +120,15 @@ END module: ltcmd (....-..-..) on input line ....
 BEGIN module: lthooks (....-..-..) on input line ....
               The hook management system.
 Skipping module lthooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
+Applying: [....-..-..] Support cmd hooks on input line ....
 Skipping: [....-..-..] The hook management on input line ....
 END module: lthooks (....-..-..) on input line ....
 BEGIN module: ltcmdhooks (....-..-..) on input line ....
               The hook management system for commands.
 Skipping module ltcmdhooks on input line ....
 Applying: [....-..-..] The hook management system for commands on input line ...
-03.
+31.
 END module: ltcmdhooks (....-..-..) on input line ....
 BEGIN module: ltpara (....-..-..) on input line ....
               Paragraph handling and hooks.
@@ -147,13 +149,13 @@ Already applied: [....-..-..] Add calc support on input line ....
 Applying: [....-..-..] \newline calc support on input line ....
 Already applied: [....-..-..] \newline calc support on input line ....
 Applying: [....-..-..] hyphenation and nobreak after space hack on input line ...
-722.
+750.
 Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5740.
+ line 5768.
 Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5754.
+ line 5782.
 Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5766.
+ line 5794.
 Applying: [....-..-..] hyphenation after space hack on input line ....
 Already applied: [....-..-..] hyphenation after space hack on input line ...
 Applying: [....-..-..] \addvspace calc support on input line ....
@@ -193,7 +195,7 @@ Already applied: [....-..-..] Quote file names on input line ....
 Already applied: [....-..-..] Quote file names on input line ....
 Applying: [....-..-..] Do not load missing file immediately on input line ...
 Already applied: [....-..-..] Do not load missing file immediately on input lin
-e 6494.
+e 6522.
 Applying: [....-..-..] test for undeclared accent on input line ....
 Already applied: [....-..-..] test for undeclared accent on input line ....
 Applying: [....-..-..] Make commands robust on input line ....
@@ -220,7 +222,7 @@ Already applied: [....-..-..] Maybe drop one m on input line ....
 Applying: [....-..-..] Arbitrary units in \DeclareMathSizes  on input line ...
 .
 Already applied: [....-..-..] Arbitrary units in \DeclareMathSizes  on input li
-ne 6827.
+ne 6855.
 Applying: [....-..-..] Drop m in usefont on input line ....
 LaTeX Info: Redefining \usefont on input line ....
 Already applied: [....-..-..] Drop m in usefont on input line ....
@@ -235,7 +237,7 @@ Already applied: [....-..-..] Font substitution in preamble on input line ....
 Applying: [....-..-..] XeTeX support for \showhyphens  on input line ....
 LaTeX Info: Redefining \showhyphens on input line ....
 Already applied: [....-..-..] XeTeX support for \showhyphens  on input line ...
-0.
+8.
 Applying: [....-..-..] Series change rules on input line ....
 Already applied: [....-..-..] Series change rules on input line ....
 Skipping: [....-..-..] delay fontseries update on input line ....
@@ -349,7 +351,7 @@ Already applied: [....-..-..] Make commands robust on input line ....
 Already applied: [....-..-..] Make commands robust on input line ....
 Applying: [....-..-..] Disable hyphenation in verbatim on input line ....
 Already applied: [....-..-..] Disable hyphenation in verbatim on input line ...
-9.
+7.
 Applying: [....-..-..] Setup visible space for \verb  on input line ....
 LaTeX Info: Redefining \asciispace on input line ....
 LaTeX Info: Redefining \verbvisiblespace on input line ....
@@ -451,16 +453,16 @@ Applying: [....-..-..] default units on input line ...
 Already applied: [....-..-..] default units on input line ....
 Applying: [....-..-..] Avoid almost zero length leaders on input line ....
 Already applied: [....-..-..] Avoid almost zero length leaders on input line ...
-664.
+692.
 Applying: [....-..-..] default units on input line ....
 Already applied: [....-..-..] default units on input line ....
 Already applied: [....-..-..] default units on input line ....
 Applying: [....-..-..] Avoid almost zero length leaders on input line ....
 Already applied: [....-..-..] Avoid almost zero length leaders on input line ...
-763.
+791.
 Applying: [....-..-..] Avoid almost zero length leaders on input line ....
 Already applied: [....-..-..] Avoid almost zero length leaders on input line ...
-783.
+811.
 Applying: [....-..-..] default units on input line ....
 Already applied: [....-..-..] default units on input line ....
 Applying: [....-..-..] default units on input line ....
@@ -469,18 +471,18 @@ Applying: [....-..-..] default units on input line ...
 Already applied: [....-..-..] default units on input line ....
 Applying: [....-..-..] Make commands robust on input line ....
 LaTeX Info: The control sequence `\bezier' is already robust on input line ...
-9.
+7.
 LaTeX Info: The control sequence `\circle' is already robust on input line ...
-0.
+8.
 LaTeX Info: The control sequence `\linethickness' is already robust on input li
-ne 10953.
+ne 10981.
 LaTeX Info: The control sequence `\oval' is already robust on input line ...
 LaTeX Info: The control sequence `\qbezier' is already robust on input line ...
-57.
+85.
 LaTeX Info: The control sequence `\shortstack' is already robust on input line ...
-10958.
+10986.
 LaTeX Info: The control sequence `\thinlines' is already robust on input line ...
-0959.
+0987.
 Already applied: [....-..-..] Make commands robust on input line ....
 Applying: [....-..-..] Make commands robust on input line ....
 LaTeX Info: Redefining \title on input line ....
@@ -542,14 +544,14 @@ Applying: [....-..-..] Spaces in option clash check on input line ....
 Already applied: [....-..-..] Spaces in option clash check on input line ...
 Applying: [....-..-..] Check name with \strcmp  on input line ....
 Already applied: [....-..-..] Undo: check name with \strcmp  on input line ...
-4.
+2.
 Applying: [....-..-..] Allow for package substitution on input line ....
 Already applied: [....-..-..] Protection for package info on input line ...
 Already applied: [....-..-..] Protection for package info on input line ...
 Applying: [....-..-..] Track \ProvidesPackage  on input line ....
 Skipping: [....-..-..] Raw option lists on input line ....
 Applying: [....-..-..] Add file replacement in \@pass at ptions  on input line ...
-12.
+40.
 Already applied: [....-..-..] \@pass at ptions  on input line ....
 Skipping: [....-..-..] filter unused option list on input line ....
 Applying: [....-..-..] filter unused option list on input line ....
@@ -565,22 +567,22 @@ Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ...
-899.
+927.
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ...
-926.
+954.
 Applying: [....-..-..] Hooks and unused options issue on input line ....
 Already applied: [....-..-..] Hooks and unused options issue on input line ...
-7.
+5.
 Applying: [....-..-..] Use hook system on input line ....
 LaTeX Info: Redefining \AtBeginDocument on input line ....
 LaTeX Info: Redefining \AtEndDocument on input line ....
 Already applied: [....-..-..] Use hook system on input line ....
 Applying: [....-..-..] Define \q at curr@file directly (gh/220) on input line ...
-6.
+4.
 Already applied: [....-..-..] Spaces in file names + optional arg on input line
- 12275.
+ 12303.
 Already applied: [....-..-..] Spaces in file names + optional arg on input line
- 12406.
+ 12434.
 Applying: [....-..-..] Hook management file on input line ....
 Already applied: [....-..-..] Hook management file on input line ....
 Applying: [....-..-..] File helpers on input line ....
@@ -652,7 +654,7 @@ Applying: [....-..-..] float order in 2-column on input line ....
 Already applied: [....-..-..] float order in 2-column on input line ....
 Applying: [....-..-..] Reset language for hyphenation on input line ....
 Already applied: [....-..-..] Reset language for hyphenation on input line ...
-7.
+5.
 Applying: [....-..-..] float order in 2-column on input line ....
 Already applied: [....-..-..] float order in 2-column on input line ....
 Applying: [....-..-..] float order in 2-column on input line ....
@@ -677,9 +679,9 @@ Applying: [....-..-..] Extended Allocation on input line ....
 Already applied: [....-..-..] Extended Allocation on input line ....
 Applying: [....-..-..] Start of XeTeX class allocator on input line ....
 Already applied: [....-..-..] Start of XeTeX class allocator on input line ...
-2.
+0.
 Already applied: [....-..-..] Start of XeTeX class allocator on input line ...
-9.
+7.
 Applying: [....-..-..] XeTeX character classes on input line ....
 Already applied: [....-..-..] XeTeX character classes on input line ....
 Applying: [....-..-..] Save language for hyphenation on input line ....
diff --git a/base/testfiles/github-0479-often.tlg b/base/testfiles/github-0479-often.tlg
index d2595ff3..a6ddb620 100644
--- a/base/testfiles/github-0479-often.tlg
+++ b/base/testfiles/github-0479-often.tlg
@@ -86,6 +86,8 @@ END module: ltcmd (....-..-..) on input line ....
 BEGIN module: lthooks (....-..-..) on input line ....
               The hook management system.
 Skipping module lthooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
+Applying: [....-..-..] Support cmd hooks on input line ....
 Skipping: [....-..-..] The hook management on input line ....
 END module: lthooks (....-..-..) on input line ....
 BEGIN module: ltcmdhooks (....-..-..) on input line ....
diff --git a/base/testfiles/github-0479-often.xetex.tlg b/base/testfiles/github-0479-often.xetex.tlg
index 7c336595..f6f995af 100644
--- a/base/testfiles/github-0479-often.xetex.tlg
+++ b/base/testfiles/github-0479-often.xetex.tlg
@@ -86,6 +86,8 @@ END module: ltcmd (....-..-..) on input line ....
 BEGIN module: lthooks (....-..-..) on input line ....
               The hook management system.
 Skipping module lthooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
+Applying: [....-..-..] Support cmd hooks on input line ....
 Skipping: [....-..-..] The hook management on input line ....
 END module: lthooks (....-..-..) on input line ....
 BEGIN module: ltcmdhooks (....-..-..) on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
index e709904c..0dc3d8d4 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
@@ -88,13 +88,15 @@ END module: ltcmd (....-..-..) on input line ....
 BEGIN module: lthooks (....-..-..) on input line ....
               The hook management system.
 Skipping module lthooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
 Applying: [....-..-..] The hook management on input line ....
 END module: lthooks (....-..-..) on input line ....
 BEGIN module: ltcmdhooks (....-..-..) on input line ....
               The hook management system for commands.
 Skipping module ltcmdhooks on input line ....
 Applying: [....-..-..] The hook management system for commands on input line ...
-03.
+31.
 END module: ltcmdhooks (....-..-..) on input line ....
 BEGIN module: ltpara (....-..-..) on input line ....
               Paragraph handling and hooks.
@@ -111,13 +113,13 @@ Applying: [....-..-..] Add calc support on input line ....
 Skipping: [....-..-..] \newline calc support on input line ....
 Applying: [....-..-..] \newline calc support on input line ....
 Skipping: [....-..-..] hyphenation and nobreak after space hack on input line ...
-722.
+750.
 Skipping: [....-..-..] hyphenation and nobreak after space hack on input line ...
-740.
+768.
 Skipping: [....-..-..] hyphenation and nobreak after space hack on input line ...
-754.
+782.
 Applying: [....-..-..] hyphenation and nobreak after space hack on input line ...
-766.
+794.
 Skipping: [....-..-..] hyphenation after space hack on input line ....
 Applying: [....-..-..] hyphenation after space hack on input line ....
 Skipping: [....-..-..] \addvspace calc support on input line ....
@@ -433,7 +435,7 @@ Applying: [....-..-..] Protection for package info on input line ....
 Applying: [....-..-..] Track \ProvidesPackage  on input line ....
 Skipping: [....-..-..] Raw option lists on input line ....
 Skipping: [....-..-..] Add file replacement in \@pass at ptions  on input line ...
-12.
+40.
 Applying: [....-..-..] \@pass at ptions  on input line ....
 Skipping: [....-..-..] filter unused option list on input line ....
 Applying: [....-..-..] filter unused option list on input line ....
@@ -457,7 +459,7 @@ Applying: [....-..-..] Use hook system on input line ...
 LaTeX Info: Redefining \AtBeginDocument on input line ....
 LaTeX Info: Redefining \AtEndDocument on input line ....
 Skipping: [....-..-..] Define \q at curr@file directly (gh/220) on input line ...
-6.
+4.
 Skipping: [....-..-..] Spaces in file names + optional arg on input line ...
 Applying: [....-..-..] Spaces in file names + optional arg on input line ...
 Skipping: [....-..-..] Hook management file on input line ....
@@ -624,13 +626,15 @@ END module: ltcmd (....-..-..) on input line ....
 BEGIN module: lthooks (....-..-..) on input line ....
               The hook management system.
 Skipping module lthooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
 Applying: [....-..-..] The hook management on input line ....
 END module: lthooks (....-..-..) on input line ....
 BEGIN module: ltcmdhooks (....-..-..) on input line ....
               The hook management system for commands.
 Skipping module ltcmdhooks on input line ....
 Applying: [....-..-..] The hook management system for commands on input line ...
-03.
+31.
 END module: ltcmdhooks (....-..-..) on input line ....
 BEGIN module: ltpara (....-..-..) on input line ....
               Paragraph handling and hooks.
@@ -652,13 +656,13 @@ Applying: [....-..-..] Add calc support on input line ....
 Skipping: [....-..-..] \newline calc support on input line ....
 Applying: [....-..-..] \newline calc support on input line ....
 Applying: [....-..-..] hyphenation and nobreak after space hack on input line ...
-722.
+750.
 Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5740.
+ line 5768.
 Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5754.
+ line 5782.
 Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5766.
+ line 5794.
 Applying: [....-..-..] hyphenation after space hack on input line ....
 Already applied: [....-..-..] hyphenation after space hack on input line ...
 Skipping: [....-..-..] \addvspace calc support on input line ....
@@ -724,7 +728,7 @@ Applying: [....-..-..] Maybe drop one m on input line ...
 Applying: [....-..-..] Arbitrary units in \DeclareMathSizes  on input line ...
 .
 Already applied: [....-..-..] Arbitrary units in \DeclareMathSizes  on input li
-ne 6827.
+ne 6855.
 Skipping: [....-..-..] Drop m in usefont on input line ....
 Applying: [....-..-..] Drop m in usefont on input line ....
 LaTeX Info: Redefining \usefont on input line ....
@@ -739,7 +743,7 @@ Already applied: [....-..-..] Font substitution in preamble on input line ....
 Applying: [....-..-..] XeTeX support for \showhyphens  on input line ....
 LaTeX Info: Redefining \showhyphens on input line ....
 Already applied: [....-..-..] XeTeX support for \showhyphens  on input line ...
-0.
+8.
 Skipping: [....-..-..] Series change rules on input line ....
 Applying: [....-..-..] Series change rules on input line ....
 Skipping: [....-..-..] delay fontseries update on input line ....
@@ -844,7 +848,7 @@ LaTeX Info: Redefining \raggedleft on input line ....
 Already applied: [....-..-..] Make commands robust on input line ....
 Applying: [....-..-..] Disable hyphenation in verbatim on input line ....
 Already applied: [....-..-..] Disable hyphenation in verbatim on input line ...
-9.
+7.
 Applying: [....-..-..] Setup visible space for \verb  on input line ....
 \@verbvisiblespacebox=\box...
 Already applied: [....-..-..] Setup visible space for \verb  on input line ...
@@ -940,16 +944,16 @@ Skipping: [....-..-..] default units on input line ...
 Applying: [....-..-..] default units on input line ....
 Applying: [....-..-..] Avoid almost zero length leaders on input line ....
 Already applied: [....-..-..] Avoid almost zero length leaders on input line ...
-664.
+692.
 Skipping: [....-..-..] default units on input line ....
 Applying: [....-..-..] default units on input line ....
 Already applied: [....-..-..] default units on input line ....
 Applying: [....-..-..] Avoid almost zero length leaders on input line ....
 Already applied: [....-..-..] Avoid almost zero length leaders on input line ...
-763.
+791.
 Applying: [....-..-..] Avoid almost zero length leaders on input line ....
 Already applied: [....-..-..] Avoid almost zero length leaders on input line ...
-783.
+811.
 Skipping: [....-..-..] default units on input line ....
 Applying: [....-..-..] default units on input line ....
 Skipping: [....-..-..] default units on input line ....
@@ -1024,7 +1028,7 @@ Applying: [....-..-..] Protection for package info on input line ....
 Applying: [....-..-..] Track \ProvidesPackage  on input line ....
 Skipping: [....-..-..] Raw option lists on input line ....
 Skipping: [....-..-..] Add file replacement in \@pass at ptions  on input line ...
-12.
+40.
 Applying: [....-..-..] \@pass at ptions  on input line ....
 Skipping: [....-..-..] filter unused option list on input line ....
 Applying: [....-..-..] filter unused option list on input line ....
@@ -1041,7 +1045,7 @@ Applying: [....-..-..] Unused options issue on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ...
-926.
+954.
 Skipping: [....-..-..] Hooks and unused options issue on input line ....
 Applying: [....-..-..] Hooks and unused options issue on input line ....
 Skipping: [....-..-..] Use hook system on input line ....
@@ -1049,10 +1053,10 @@ Applying: [....-..-..] Use hook system on input line ....
 LaTeX Info: Redefining \AtBeginDocument on input line ....
 LaTeX Info: Redefining \AtEndDocument on input line ....
 Skipping: [....-..-..] Define \q at curr@file directly (gh/220) on input line ...
-6.
+4.
 Applying: [....-..-..] Spaces in file names + optional arg on input line ...
 Already applied: [....-..-..] Spaces in file names + optional arg on input line
- 12406.
+ 12434.
 Skipping: [....-..-..] Hook management file on input line ....
 Applying: [....-..-..] Hook management file on input line ....
 Skipping: [....-..-..] File helpers on input line ....
@@ -1125,7 +1129,7 @@ Applying: [....-..-..] float order in 2-column on input line ....
 Already applied: [....-..-..] float order in 2-column on input line ....
 Applying: [....-..-..] Reset language for hyphenation on input line ....
 Already applied: [....-..-..] Reset language for hyphenation on input line ...
-7.
+5.
 Applying: [....-..-..] float order in 2-column on input line ....
 Already applied: [....-..-..] float order in 2-column on input line ....
 Applying: [....-..-..] float order in 2-column on input line ....
@@ -1150,9 +1154,9 @@ Applying: [....-..-..] Extended Allocation on input line ....
 Already applied: [....-..-..] Extended Allocation on input line ....
 Applying: [....-..-..] Start of XeTeX class allocator on input line ....
 Already applied: [....-..-..] Start of XeTeX class allocator on input line ...
-2.
+0.
 Already applied: [....-..-..] Start of XeTeX class allocator on input line ...
-9.
+7.
 Applying: [....-..-..] XeTeX character classes on input line ....
 Already applied: [....-..-..] XeTeX character classes on input line ....
 Applying: [....-..-..] Save language for hyphenation on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
index 4c578fcc..8b8e5aad 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
@@ -71,6 +71,8 @@ END module: ltcmd (....-..-..) on input line ....
 BEGIN module: lthooks (....-..-..) on input line ....
               The hook management system.
 Skipping module lthooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
 Applying: [....-..-..] The hook management on input line ....
 END module: lthooks (....-..-..) on input line ....
 BEGIN module: ltcmdhooks (....-..-..) on input line ....
@@ -574,6 +576,8 @@ END module: ltcmd (....-..-..) on input line ....
 BEGIN module: lthooks (....-..-..) on input line ....
               The hook management system.
 Skipping module lthooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
 Applying: [....-..-..] The hook management on input line ....
 END module: lthooks (....-..-..) on input line ....
 BEGIN module: ltcmdhooks (....-..-..) on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
index 9eb8c7d2..65fba7f3 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
@@ -71,6 +71,8 @@ END module: ltcmd (....-..-..) on input line ....
 BEGIN module: lthooks (....-..-..) on input line ....
               The hook management system.
 Skipping module lthooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
 Applying: [....-..-..] The hook management on input line ....
 END module: lthooks (....-..-..) on input line ....
 BEGIN module: ltcmdhooks (....-..-..) on input line ....
@@ -583,6 +585,8 @@ END module: ltcmd (....-..-..) on input line ....
 BEGIN module: lthooks (....-..-..) on input line ....
               The hook management system.
 Skipping module lthooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
 Applying: [....-..-..] The hook management on input line ....
 END module: lthooks (....-..-..) on input line ....
 BEGIN module: ltcmdhooks (....-..-..) on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.luatex.tlg b/base/testfiles/tlb-rollback-004-often.luatex.tlg
index e48c4034..0a090ecf 100644
--- a/base/testfiles/tlb-rollback-004-often.luatex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.luatex.tlg
@@ -121,13 +121,15 @@ END module: ltcmd (....-..-..) on input line ....
 BEGIN module: lthooks (....-..-..) on input line ....
               The hook management system.
 Skipping module lthooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
 Applying: [....-..-..] The hook management on input line ....
 END module: lthooks (....-..-..) on input line ....
 BEGIN module: ltcmdhooks (....-..-..) on input line ....
               The hook management system for commands.
 Skipping module ltcmdhooks on input line ....
 Applying: [....-..-..] The hook management system for commands on input line ...
-03.
+31.
 END module: ltcmdhooks (....-..-..) on input line ....
 BEGIN module: ltpara (....-..-..) on input line ....
               Paragraph handling and hooks.
@@ -148,13 +150,13 @@ Applying: [....-..-..] Add calc support on input line ....
 Skipping: [....-..-..] \newline calc support on input line ....
 Applying: [....-..-..] \newline calc support on input line ....
 Applying: [....-..-..] hyphenation and nobreak after space hack on input line ...
-722.
+750.
 Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5740.
+ line 5768.
 Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5754.
+ line 5782.
 Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5766.
+ line 5794.
 Applying: [....-..-..] hyphenation after space hack on input line ....
 Already applied: [....-..-..] hyphenation after space hack on input line ...
 Skipping: [....-..-..] \addvspace calc support on input line ....
@@ -220,7 +222,7 @@ Already applied: [....-..-..] Maybe drop one m on input line ....
 Applying: [....-..-..] Arbitrary units in \DeclareMathSizes  on input line ...
 .
 Already applied: [....-..-..] Arbitrary units in \DeclareMathSizes  on input li
-ne 6827.
+ne 6855.
 Applying: [....-..-..] Drop m in usefont on input line ....
 LaTeX Info: Redefining \usefont on input line ....
 Already applied: [....-..-..] Drop m in usefont on input line ....
@@ -235,7 +237,7 @@ Already applied: [....-..-..] Font substitution in preamble on input line ....
 Applying: [....-..-..] XeTeX support for \showhyphens  on input line ....
 LaTeX Info: Redefining \showhyphens on input line ....
 Already applied: [....-..-..] XeTeX support for \showhyphens  on input line ...
-0.
+8.
 Applying: [....-..-..] Series change rules on input line ....
 Already applied: [....-..-..] Series change rules on input line ....
 Skipping: [....-..-..] delay fontseries update on input line ....
@@ -348,7 +350,7 @@ LaTeX Info: Redefining \raggedleft on input line ....
 Already applied: [....-..-..] Make commands robust on input line ....
 Applying: [....-..-..] Disable hyphenation in verbatim on input line ....
 Already applied: [....-..-..] Disable hyphenation in verbatim on input line ...
-9.
+7.
 Applying: [....-..-..] Setup visible space for \verb  on input line ....
 LaTeX Info: Redefining \asciispace on input line ....
 LaTeX Info: Redefining \verbvisiblespace on input line ....
@@ -445,16 +447,16 @@ Skipping: [....-..-..] default units on input line ...
 Applying: [....-..-..] default units on input line ....
 Applying: [....-..-..] Avoid almost zero length leaders on input line ....
 Already applied: [....-..-..] Avoid almost zero length leaders on input line ...
-664.
+692.
 Skipping: [....-..-..] default units on input line ....
 Applying: [....-..-..] default units on input line ....
 Already applied: [....-..-..] default units on input line ....
 Applying: [....-..-..] Avoid almost zero length leaders on input line ....
 Already applied: [....-..-..] Avoid almost zero length leaders on input line ...
-763.
+791.
 Applying: [....-..-..] Avoid almost zero length leaders on input line ....
 Already applied: [....-..-..] Avoid almost zero length leaders on input line ...
-783.
+811.
 Skipping: [....-..-..] default units on input line ....
 Applying: [....-..-..] default units on input line ....
 Skipping: [....-..-..] default units on input line ....
@@ -463,18 +465,18 @@ Skipping: [....-..-..] default units on input line ...
 Applying: [....-..-..] default units on input line ....
 Applying: [....-..-..] Make commands robust on input line ....
 LaTeX Info: The control sequence `\bezier' is already robust on input line ...
-9.
+7.
 LaTeX Info: The control sequence `\circle' is already robust on input line ...
-0.
+8.
 LaTeX Info: The control sequence `\linethickness' is already robust on input li
-ne 10953.
+ne 10981.
 LaTeX Info: The control sequence `\oval' is already robust on input line ...
 LaTeX Info: The control sequence `\qbezier' is already robust on input line ...
-57.
+85.
 LaTeX Info: The control sequence `\shortstack' is already robust on input line ...
-10958.
+10986.
 LaTeX Info: The control sequence `\thinlines' is already robust on input line ...
-0959.
+0987.
 Already applied: [....-..-..] Make commands robust on input line ....
 Applying: [....-..-..] Make commands robust on input line ....
 LaTeX Info: Redefining \title on input line ....
@@ -542,7 +544,7 @@ Already applied: [....-..-..] Protection for package info on input line ....
 Applying: [....-..-..] Track \ProvidesPackage  on input line ....
 Skipping: [....-..-..] Raw option lists on input line ....
 Skipping: [....-..-..] Add file replacement in \@pass at ptions  on input line ...
-12.
+40.
 Applying: [....-..-..] \@pass at ptions  on input line ....
 Skipping: [....-..-..] filter unused option list on input line ....
 Applying: [....-..-..] filter unused option list on input line ....
@@ -559,7 +561,7 @@ Applying: [....-..-..] Unused options issue on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ...
-926.
+954.
 Skipping: [....-..-..] Hooks and unused options issue on input line ....
 Applying: [....-..-..] Hooks and unused options issue on input line ....
 Skipping: [....-..-..] Use hook system on input line ....
@@ -567,10 +569,10 @@ Applying: [....-..-..] Use hook system on input line ...
 LaTeX Info: Redefining \AtBeginDocument on input line ....
 LaTeX Info: Redefining \AtEndDocument on input line ....
 Skipping: [....-..-..] Define \q at curr@file directly (gh/220) on input line ...
-6.
+4.
 Applying: [....-..-..] Spaces in file names + optional arg on input line ...
 Already applied: [....-..-..] Spaces in file names + optional arg on input line
- 12406.
+ 12434.
 Skipping: [....-..-..] Hook management file on input line ....
 Applying: [....-..-..] Hook management file on input line ....
 Skipping: [....-..-..] File helpers on input line ....
@@ -643,7 +645,7 @@ Applying: [....-..-..] float order in 2-column on input line ....
 Already applied: [....-..-..] float order in 2-column on input line ....
 Applying: [....-..-..] Reset language for hyphenation on input line ....
 Already applied: [....-..-..] Reset language for hyphenation on input line ...
-7.
+5.
 Applying: [....-..-..] float order in 2-column on input line ....
 Already applied: [....-..-..] float order in 2-column on input line ....
 Applying: [....-..-..] float order in 2-column on input line ....
@@ -668,9 +670,9 @@ Applying: [....-..-..] Extended Allocation on input line ....
 Already applied: [....-..-..] Extended Allocation on input line ....
 Applying: [....-..-..] Start of XeTeX class allocator on input line ....
 Already applied: [....-..-..] Start of XeTeX class allocator on input line ...
-2.
+0.
 Already applied: [....-..-..] Start of XeTeX class allocator on input line ...
-9.
+7.
 Applying: [....-..-..] XeTeX character classes on input line ....
 Already applied: [....-..-..] XeTeX character classes on input line ....
 Applying: [....-..-..] Save language for hyphenation on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.tlg b/base/testfiles/tlb-rollback-004-often.tlg
index 163475e1..76a9daad 100644
--- a/base/testfiles/tlb-rollback-004-often.tlg
+++ b/base/testfiles/tlb-rollback-004-often.tlg
@@ -86,6 +86,8 @@ END module: ltcmd (....-..-..) on input line ....
 BEGIN module: lthooks (....-..-..) on input line ....
               The hook management system.
 Skipping module lthooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
 Applying: [....-..-..] The hook management on input line ....
 END module: lthooks (....-..-..) on input line ....
 BEGIN module: ltcmdhooks (....-..-..) on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.xetex.tlg b/base/testfiles/tlb-rollback-004-often.xetex.tlg
index c2038245..a4b7b8fb 100644
--- a/base/testfiles/tlb-rollback-004-often.xetex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.xetex.tlg
@@ -86,6 +86,8 @@ END module: ltcmd (....-..-..) on input line ....
 BEGIN module: lthooks (....-..-..) on input line ....
               The hook management system.
 Skipping module lthooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
+Skipping: [....-..-..] Support cmd hooks on input line ....
 Applying: [....-..-..] The hook management on input line ....
 END module: lthooks (....-..-..) on input line ....
 BEGIN module: ltcmdhooks (....-..-..) on input line ....





More information about the latex3-commits mailing list.