[latex3-commits] [git/LaTeX3-latex3-latex2e] ltcmdhooks: support for ltcmdhooks rollback (beec929a)
Frank Mittelbach
frank.mittelbach at latex-project.org
Mon Apr 19 15:49:36 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : ltcmdhooks
Link : https://github.com/latex3/latex2e/commit/beec929a93d92e281196f83d1afd55d60a72ebe5
>---------------------------------------------------------------
commit beec929a93d92e281196f83d1afd55d60a72ebe5
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Mon Apr 19 15:49:36 2021 +0200
support for ltcmdhooks rollback
>---------------------------------------------------------------
beec929a93d92e281196f83d1afd55d60a72ebe5
base/latexrelease.ins | 1 +
base/ltcmdhooks.dtx | 22 +++--
base/lthooks.dtx | 2 -
base/testfiles-lthooks/ltcmdhooks-010.lvt | 2 +-
base/testfiles/github-0479-often.luatex.tlg | 96 ++++++++++++----------
base/testfiles/github-0479-often.tlg | 5 ++
base/testfiles/github-0479-often.xetex.tlg | 5 ++
.../tlb-latexrelease-rollback-003-often.luatex.tlg | 74 ++++++++++-------
.../tlb-latexrelease-rollback-003-often.tlg | 10 +++
.../tlb-latexrelease-rollback-003-often.xetex.tlg | 10 +++
base/testfiles/tlb-rollback-004-often.luatex.tlg | 86 ++++++++++---------
base/testfiles/tlb-rollback-004-often.tlg | 5 ++
base/testfiles/tlb-rollback-004-often.xetex.tlg | 5 ++
base/update-lthooks-tests.sh | 3 +-
14 files changed, 200 insertions(+), 126 deletions(-)
diff --git a/base/latexrelease.ins b/base/latexrelease.ins
index 956145d2..0b65114a 100644
--- a/base/latexrelease.ins
+++ b/base/latexrelease.ins
@@ -95,6 +95,7 @@ extension .ins) which are part of the distribution.
\from{ltdefns.dtx} {latexrelease}%
\from{ltcmd.dtx} {latexrelease}%
\from{lthooks.dtx} {latexrelease}% L3 layer module
+ \from{ltcmdhooks.dtx} {latexrelease}% L3 layer module
\from{ltalloc.dtx} {latexrelease}% empty
\from{ltcntrl.dtx} {latexrelease}% empty
\from{lterror.dtx} {latexrelease}% empty
diff --git a/base/ltcmdhooks.dtx b/base/ltcmdhooks.dtx
index 65b7ce8c..25ec5dab 100644
--- a/base/ltcmdhooks.dtx
+++ b/base/ltcmdhooks.dtx
@@ -51,6 +51,9 @@
% \maketitle
%
%
+% \tableofcontents
+%
+%
% \section{Introduction}
%
% This file implements generic hooks for (arbitrary) commands.
@@ -234,9 +237,6 @@
%
% \section{The Implementation}
%
-% \begin{macrocode}
-%<*2ekernel>
-% \end{macrocode}
%
% \subsection{Execution plan}
%
@@ -279,10 +279,15 @@
% \end{enumerate}
%
% \begin{macrocode}
-\ExplSyntaxOn
%<@@=hook>
% \end{macrocode}
%
+% \begin{macrocode}
+%<*2ekernel|latexrelease>
+\ExplSyntaxOn
+%<latexrelease>\NewModuleRelease{2021/06/01}{ltcmdhooks}
+%<latexrelease> {The~hook~management~system~for~commands}
+% \end{macrocode}
%
% \subsection{Variables}
%
@@ -980,13 +985,18 @@
}
% \end{macrocode}
%
+%
% \begin{macrocode}
-%<@@=>
+%<latexrelease>\IncludeInRelease{0000/00/00}{lthooks}%
+%<latexrelease> {The~hook~management~system~for~commands}
+%<latexrelease>
+%<latexrelease>\EndModuleRelease
\ExplSyntaxOff
+%</2ekernel|latexrelease>
% \end{macrocode}
%
% \begin{macrocode}
-%<*2ekernel>
+%<@@=>
% \end{macrocode}
%
% \Finale
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 34d719f4..195ec60b 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -1727,8 +1727,6 @@
% \section{The Implementation}
%
%
-% \subsection{Loading further extensions}
-%
% \begin{macrocode}
%<@@=hook>
% \end{macrocode}
diff --git a/base/testfiles-lthooks/ltcmdhooks-010.lvt b/base/testfiles-lthooks/ltcmdhooks-010.lvt
index 90b8562a..c9c44235 100644
--- a/base/testfiles-lthooks/ltcmdhooks-010.lvt
+++ b/base/testfiles-lthooks/ltcmdhooks-010.lvt
@@ -54,7 +54,7 @@
\typeout{============================}
% State 4: just setup
-\__hook_setup_structure:n { just-setup-hook }
+\__hook_init_structure:n { just-setup-hook }
\test:nn { } { just-setup-hook }
\typeout{============================}
diff --git a/base/testfiles/github-0479-often.luatex.tlg b/base/testfiles/github-0479-often.luatex.tlg
index 90da6099..5026299b 100644
--- a/base/testfiles/github-0479-often.luatex.tlg
+++ b/base/testfiles/github-0479-often.luatex.tlg
@@ -45,9 +45,9 @@ Applying: [....-..-..] Pre-load expl3 on input line ....
Skipping: expl3 code already part of the format on input line ....
Already applied: [....-..-..] Pre-load expl3 on input line ....
Applying: [....-..-..] expl3 macros added for the ....-..-.. release on input l
-ine 1208.
+ine 1209.
Already applied: [....-..-..] expl3 macros added for the ....-..-.. release on
-input line 1220.
+input line 1221.
Applying: [....-..-..] Allow "par" in \typeout on input line ....
Already applied: [....-..-..] Allow "par" in \typeout on input line ....
Applying: [....-..-..] Make \@carcube long on input line ....
@@ -73,9 +73,9 @@ Already applied: [....-..-..] Undefine \@if at DeclareRobustCommand , \@if at newcomm
and , \@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCom
mand , \@show at newcommand on input line ....
Applying: [....-..-..] Leave commands undefined in \@ifundefined on input line
- 1579.
+ 1580.
Already applied: [....-..-..] Leave commands undefined in \@ifundefined on inp
-ut line 1607.
+ut line 1608.
Applying: [....-..-..] Add \string at makeletter on input line ....
Already applied: [....-..-..] Undefine \string at makeletter on input line ...
Applying: [....-..-..] Use primitive \- in Lua\LaTeX on input line ....
@@ -83,34 +83,34 @@ Already applied: [....-..-..] Use \hyphenchar in \- on input line ....
Already applied: [....-..-..] Use \hyphenchar in \- on input line ....
Applying: [....-..-..] Make various commands robust on input line ....
LaTeX Info: The control sequence `\allowbreak' is already robust on input line ...
-1669.
+1670.
LaTeX Info: The control sequence `\bigbreak' is already robust on input line ...
-70.
+71.
LaTeX Info: The control sequence `\break' is already robust on input line ...
LaTeX Info: The control sequence `\dotfill' is already robust on input line ...
-2.
+3.
LaTeX Info: The control sequence `\frenchspacing' is already robust on input li
-ne 1673.
+ne 1674.
LaTeX Info: The control sequence `\goodbreak' is already robust on input line ...
-674.
-LaTeX Info: The control sequence `\hrulefill' is already robust on input line ...
675.
+LaTeX Info: The control sequence `\hrulefill' is already robust on input line ...
+676.
LaTeX Info: The control sequence `\medbreak' is already robust on input line ...
-76.
+77.
LaTeX Info: The control sequence `\nobreak' is already robust on input line ...
-7.
+8.
LaTeX Info: The control sequence `\nonfrenchspacing' is already robust on input
- line 1678.
+ line 1679.
LaTeX Info: The control sequence `\obeylines' is already robust on input line ...
-679.
+680.
LaTeX Info: The control sequence `\obeyspaces' is already robust on input line ...
-1680.
+1681.
LaTeX Info: The control sequence `\slash' is already robust on input line ...
LaTeX Info: The control sequence `\smallbreak' is already robust on input line ...
-1682.
+1683.
LaTeX Info: The control sequence `\strut' is already robust on input line ...
LaTeX Info: The control sequence `\underbar' is already robust on input line ...
-84.
+85.
Already applied: [....-..-..] Make various commands robust on input line ...
BEGIN module: ltcmd (....-..-..) on input line ....
Document command parser.
@@ -122,6 +122,12 @@ BEGIN module: lthooks (....-..-..) on input line ....
Skipping module lthooks 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.
+END module: ltcmdhooks (....-..-..) on input line ....
BEGIN module: ltpara (....-..-..) on input line ....
Paragraph handling and hooks.
Skipping module ltpara on input line ....
@@ -141,13 +147,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 ...
-399.
+722.
Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5417.
+ line 5740.
Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5431.
+ line 5754.
Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5443.
+ line 5766.
Applying: [....-..-..] hyphenation after space hack on input line ....
Already applied: [....-..-..] hyphenation after space hack on input line ...
Applying: [....-..-..] \addvspace calc support on input line ....
@@ -187,7 +193,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 6171.
+e 6494.
Applying: [....-..-..] test for undeclared accent on input line ....
Already applied: [....-..-..] test for undeclared accent on input line ....
Applying: [....-..-..] Make commands robust on input line ....
@@ -214,7 +220,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 6504.
+ne 6827.
Applying: [....-..-..] Drop m in usefont on input line ....
LaTeX Info: Redefining \usefont on input line ....
Already applied: [....-..-..] Drop m in usefont on input line ....
@@ -229,7 +235,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 ...
-7.
+0.
Applying: [....-..-..] Series change rules on input line ....
Already applied: [....-..-..] Series change rules on input line ....
Skipping: [....-..-..] delay fontseries update on input line ....
@@ -343,7 +349,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 ...
-6.
+9.
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 +451,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 ...
-341.
+664.
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 ...
-440.
+763.
Applying: [....-..-..] Avoid almost zero length leaders on input line ....
Already applied: [....-..-..] Avoid almost zero length leaders on input line ...
-460.
+783.
Applying: [....-..-..] default units on input line ....
Already applied: [....-..-..] default units on input line ....
Applying: [....-..-..] default units on input line ....
@@ -463,18 +469,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 ...
-6.
+9.
LaTeX Info: The control sequence `\circle' is already robust on input line ...
-7.
+0.
LaTeX Info: The control sequence `\linethickness' is already robust on input li
-ne 10630.
+ne 10953.
LaTeX Info: The control sequence `\oval' is already robust on input line ...
LaTeX Info: The control sequence `\qbezier' is already robust on input line ...
-34.
+57.
LaTeX Info: The control sequence `\shortstack' is already robust on input line ...
-10635.
+10958.
LaTeX Info: The control sequence `\thinlines' is already robust on input line ...
-0636.
+0959.
Already applied: [....-..-..] Make commands robust on input line ....
Applying: [....-..-..] Make commands robust on input line ....
LaTeX Info: Redefining \title on input line ....
@@ -536,14 +542,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 ...
-1.
+4.
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 ...
-89.
+12.
Already applied: [....-..-..] \@pass at ptions on input line ....
Skipping: [....-..-..] filter unused option list on input line ....
Applying: [....-..-..] filter unused option list on input line ....
@@ -559,22 +565,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 ...
-576.
+899.
Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns on input line ...
-603.
+926.
Applying: [....-..-..] Hooks and unused options issue on input line ....
Already applied: [....-..-..] Hooks and unused options issue on input line ...
-4.
+7.
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 ...
-3.
+6.
Already applied: [....-..-..] Spaces in file names + optional arg on input line
- 11952.
+ 12275.
Already applied: [....-..-..] Spaces in file names + optional arg on input line
- 12083.
+ 12406.
Applying: [....-..-..] Hook management file on input line ....
Already applied: [....-..-..] Hook management file on input line ....
Applying: [....-..-..] File helpers on input line ....
@@ -646,7 +652,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 ...
-4.
+7.
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 ....
@@ -671,9 +677,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 ...
-9.
+2.
Already applied: [....-..-..] Start of XeTeX class allocator on input line ...
-6.
+9.
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 82a1d605..d2595ff3 100644
--- a/base/testfiles/github-0479-often.tlg
+++ b/base/testfiles/github-0479-often.tlg
@@ -88,6 +88,11 @@ BEGIN module: lthooks (....-..-..) on input line ....
Skipping module lthooks 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 ....
+END module: ltcmdhooks (....-..-..) on input line ....
BEGIN module: ltpara (....-..-..) on input line ....
Paragraph handling and hooks.
Skipping module ltpara on input line ....
diff --git a/base/testfiles/github-0479-often.xetex.tlg b/base/testfiles/github-0479-often.xetex.tlg
index 501cabeb..7c336595 100644
--- a/base/testfiles/github-0479-often.xetex.tlg
+++ b/base/testfiles/github-0479-often.xetex.tlg
@@ -88,6 +88,11 @@ BEGIN module: lthooks (....-..-..) on input line ....
Skipping module lthooks 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 ....
+END module: ltcmdhooks (....-..-..) on input line ....
BEGIN module: ltpara (....-..-..) on input line ....
Paragraph handling and hooks.
Skipping module ltpara 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 67f5eef4..e709904c 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
@@ -42,9 +42,9 @@ Skipping: [....-..-..] Roll forward support on input line ....
Skipping: [....-..-..] Pre-load expl3 on input line ....
Skipping: [....-..-..] Pre-load expl3 on input line ....
Skipping: [....-..-..] expl3 macros added for the ....-..-.. release on input l
-ine 1208.
+ine 1209.
Applying: [....-..-..] expl3 macros added for the ....-..-.. release on input l
-ine 1220.
+ine 1221.
Skipping: [....-..-..] Allow "par" in \typeout on input line ....
Applying: [....-..-..] Allow "par" in \typeout on input line ....
Skipping: [....-..-..] Make \@carcube long on input line ....
@@ -70,9 +70,9 @@ Applying: [....-..-..] Undefine \@if at DeclareRobustCommand , \@if at newcommand , \
@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand ,
\@show at newcommand on input line ....
Skipping: [....-..-..] Leave commands undefined in \@ifundefined on input line
- 1579.
+ 1580.
Applying: [....-..-..] Leave commands undefined in \@ifundefined on input line
- 1607.
+ 1608.
Skipping: [....-..-..] Add \string at makeletter on input line ....
Applying: [....-..-..] Undefine \string at makeletter on input line ....
Skipping: [....-..-..] Use primitive \- in Lua\LaTeX on input line ....
@@ -90,6 +90,12 @@ BEGIN module: lthooks (....-..-..) on input line ....
Skipping module lthooks 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.
+END module: ltcmdhooks (....-..-..) on input line ....
BEGIN module: ltpara (....-..-..) on input line ....
Paragraph handling and hooks.
Skipping module ltpara on input line ....
@@ -105,13 +111,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 ...
-399.
+722.
Skipping: [....-..-..] hyphenation and nobreak after space hack on input line ...
-417.
+740.
Skipping: [....-..-..] hyphenation and nobreak after space hack on input line ...
-431.
+754.
Applying: [....-..-..] hyphenation and nobreak after space hack on input line ...
-443.
+766.
Skipping: [....-..-..] hyphenation after space hack on input line ....
Applying: [....-..-..] hyphenation after space hack on input line ....
Skipping: [....-..-..] \addvspace calc support on input line ....
@@ -427,7 +433,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 ...
-89.
+12.
Applying: [....-..-..] \@pass at ptions on input line ....
Skipping: [....-..-..] filter unused option list on input line ....
Applying: [....-..-..] filter unused option list on input line ....
@@ -451,7 +457,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 ...
-3.
+6.
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 ....
@@ -571,9 +577,9 @@ Skipping: [....-..-..] Roll forward support on input line ....
Skipping: [....-..-..] Pre-load expl3 on input line ....
Skipping: [....-..-..] Pre-load expl3 on input line ....
Skipping: [....-..-..] expl3 macros added for the ....-..-.. release on input l
-ine 1208.
+ine 1209.
Applying: [....-..-..] expl3 macros added for the ....-..-.. release on input l
-ine 1220.
+ine 1221.
Skipping: [....-..-..] Allow "par" in \typeout on input line ....
Applying: [....-..-..] Allow "par" in \typeout on input line ....
Skipping: [....-..-..] Make \@carcube long on input line ....
@@ -599,9 +605,9 @@ Applying: [....-..-..] Undefine \@if at DeclareRobustCommand , \@if at newcommand , \
@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand ,
\@show at newcommand on input line ....
Applying: [....-..-..] Leave commands undefined in \@ifundefined on input line
- 1579.
+ 1580.
Already applied: [....-..-..] Leave commands undefined in \@ifundefined on inp
-ut line 1607.
+ut line 1608.
Skipping: [....-..-..] Add \string at makeletter on input line ....
Applying: [....-..-..] Undefine \string at makeletter on input line ....
Skipping: [....-..-..] Use primitive \- in Lua\LaTeX on input line ....
@@ -620,6 +626,12 @@ BEGIN module: lthooks (....-..-..) on input line ....
Skipping module lthooks 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.
+END module: ltcmdhooks (....-..-..) on input line ....
BEGIN module: ltpara (....-..-..) on input line ....
Paragraph handling and hooks.
Skipping module ltpara on input line ....
@@ -640,13 +652,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 ...
-399.
+722.
Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5417.
+ line 5740.
Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5431.
+ line 5754.
Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5443.
+ line 5766.
Applying: [....-..-..] hyphenation after space hack on input line ....
Already applied: [....-..-..] hyphenation after space hack on input line ...
Skipping: [....-..-..] \addvspace calc support on input line ....
@@ -712,7 +724,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 6504.
+ne 6827.
Skipping: [....-..-..] Drop m in usefont on input line ....
Applying: [....-..-..] Drop m in usefont on input line ....
LaTeX Info: Redefining \usefont on input line ....
@@ -727,7 +739,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 ...
-7.
+0.
Skipping: [....-..-..] Series change rules on input line ....
Applying: [....-..-..] Series change rules on input line ....
Skipping: [....-..-..] delay fontseries update on input line ....
@@ -832,7 +844,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 ...
-6.
+9.
Applying: [....-..-..] Setup visible space for \verb on input line ....
\@verbvisiblespacebox=\box...
Already applied: [....-..-..] Setup visible space for \verb on input line ...
@@ -928,16 +940,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 ...
-341.
+664.
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 ...
-440.
+763.
Applying: [....-..-..] Avoid almost zero length leaders on input line ....
Already applied: [....-..-..] Avoid almost zero length leaders on input line ...
-460.
+783.
Skipping: [....-..-..] default units on input line ....
Applying: [....-..-..] default units on input line ....
Skipping: [....-..-..] default units on input line ....
@@ -1012,7 +1024,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 ...
-89.
+12.
Applying: [....-..-..] \@pass at ptions on input line ....
Skipping: [....-..-..] filter unused option list on input line ....
Applying: [....-..-..] filter unused option list on input line ....
@@ -1029,7 +1041,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 ...
-603.
+926.
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 ....
@@ -1037,10 +1049,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 ...
-3.
+6.
Applying: [....-..-..] Spaces in file names + optional arg on input line ...
Already applied: [....-..-..] Spaces in file names + optional arg on input line
- 12083.
+ 12406.
Skipping: [....-..-..] Hook management file on input line ....
Applying: [....-..-..] Hook management file on input line ....
Skipping: [....-..-..] File helpers on input line ....
@@ -1113,7 +1125,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 ...
-4.
+7.
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 ....
@@ -1138,9 +1150,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 ...
-9.
+2.
Already applied: [....-..-..] Start of XeTeX class allocator on input line ...
-6.
+9.
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 66636433..4c578fcc 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
@@ -73,6 +73,11 @@ BEGIN module: lthooks (....-..-..) on input line ....
Skipping module lthooks 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 ....
+END module: ltcmdhooks (....-..-..) on input line ....
BEGIN module: ltpara (....-..-..) on input line ....
Paragraph handling and hooks.
Skipping module ltpara on input line ....
@@ -571,6 +576,11 @@ BEGIN module: lthooks (....-..-..) on input line ....
Skipping module lthooks 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 ....
+END module: ltcmdhooks (....-..-..) on input line ....
BEGIN module: ltpara (....-..-..) on input line ....
Paragraph handling and hooks.
Skipping module ltpara 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 53ccfb4e..9eb8c7d2 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
@@ -73,6 +73,11 @@ BEGIN module: lthooks (....-..-..) on input line ....
Skipping module lthooks 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 ....
+END module: ltcmdhooks (....-..-..) on input line ....
BEGIN module: ltpara (....-..-..) on input line ....
Paragraph handling and hooks.
Skipping module ltpara on input line ....
@@ -580,6 +585,11 @@ BEGIN module: lthooks (....-..-..) on input line ....
Skipping module lthooks 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 ....
+END module: ltcmdhooks (....-..-..) on input line ....
BEGIN module: ltpara (....-..-..) on input line ....
Paragraph handling and hooks.
Skipping module ltpara on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.luatex.tlg b/base/testfiles/tlb-rollback-004-often.luatex.tlg
index 0de5e9aa..e48c4034 100644
--- a/base/testfiles/tlb-rollback-004-often.luatex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.luatex.tlg
@@ -45,9 +45,9 @@ Skipping: [....-..-..] Pre-load expl3 on input line ....
Applying: [....-..-..] Pre-load expl3 on input line ....
(../expl3.ltx)
Skipping: [....-..-..] expl3 macros added for the ....-..-.. release on input l
-ine 1208.
+ine 1209.
Applying: [....-..-..] expl3 macros added for the ....-..-.. release on input l
-ine 1220.
+ine 1221.
Skipping: [....-..-..] Allow "par" in \typeout on input line ....
Applying: [....-..-..] Allow "par" in \typeout on input line ....
Skipping: [....-..-..] Make \@carcube long on input line ....
@@ -73,9 +73,9 @@ Applying: [....-..-..] Undefine \@if at DeclareRobustCommand , \@if at newcommand , \
@copy at DeclareRobustCommand , \@copy at newcommand , \@show at DeclareRobustCommand ,
\@show at newcommand on input line ....
Applying: [....-..-..] Leave commands undefined in \@ifundefined on input line
- 1579.
+ 1580.
Already applied: [....-..-..] Leave commands undefined in \@ifundefined on inp
-ut line 1607.
+ut line 1608.
Skipping: [....-..-..] Add \string at makeletter on input line ....
Applying: [....-..-..] Undefine \string at makeletter on input line ....
Skipping: [....-..-..] Use primitive \- in Lua\LaTeX on input line ....
@@ -84,34 +84,34 @@ LaTeX Info: Redefining \- on input line ....
Already applied: [....-..-..] Use \hyphenchar in \- on input line ....
Applying: [....-..-..] Make various commands robust on input line ....
LaTeX Info: The control sequence `\allowbreak' is already robust on input line ...
-1669.
+1670.
LaTeX Info: The control sequence `\bigbreak' is already robust on input line ...
-70.
+71.
LaTeX Info: The control sequence `\break' is already robust on input line ...
LaTeX Info: The control sequence `\dotfill' is already robust on input line ...
-2.
+3.
LaTeX Info: The control sequence `\frenchspacing' is already robust on input li
-ne 1673.
+ne 1674.
LaTeX Info: The control sequence `\goodbreak' is already robust on input line ...
-674.
-LaTeX Info: The control sequence `\hrulefill' is already robust on input line ...
675.
+LaTeX Info: The control sequence `\hrulefill' is already robust on input line ...
+676.
LaTeX Info: The control sequence `\medbreak' is already robust on input line ...
-76.
+77.
LaTeX Info: The control sequence `\nobreak' is already robust on input line ...
-7.
+8.
LaTeX Info: The control sequence `\nonfrenchspacing' is already robust on input
- line 1678.
+ line 1679.
LaTeX Info: The control sequence `\obeylines' is already robust on input line ...
-679.
+680.
LaTeX Info: The control sequence `\obeyspaces' is already robust on input line ...
-1680.
+1681.
LaTeX Info: The control sequence `\slash' is already robust on input line ...
LaTeX Info: The control sequence `\smallbreak' is already robust on input line ...
-1682.
+1683.
LaTeX Info: The control sequence `\strut' is already robust on input line ...
LaTeX Info: The control sequence `\underbar' is already robust on input line ...
-84.
+85.
Already applied: [....-..-..] Make various commands robust on input line ...
BEGIN module: ltcmd (....-..-..) on input line ....
Document command parser.
@@ -123,6 +123,12 @@ BEGIN module: lthooks (....-..-..) on input line ....
Skipping module lthooks 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.
+END module: ltcmdhooks (....-..-..) on input line ....
BEGIN module: ltpara (....-..-..) on input line ....
Paragraph handling and hooks.
Skipping module ltpara on input line ....
@@ -142,13 +148,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 ...
-399.
+722.
Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5417.
+ line 5740.
Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5431.
+ line 5754.
Already applied: [....-..-..] hyphenation and nobreak after space hack on input
- line 5443.
+ line 5766.
Applying: [....-..-..] hyphenation after space hack on input line ....
Already applied: [....-..-..] hyphenation after space hack on input line ...
Skipping: [....-..-..] \addvspace calc support on input line ....
@@ -214,7 +220,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 6504.
+ne 6827.
Applying: [....-..-..] Drop m in usefont on input line ....
LaTeX Info: Redefining \usefont on input line ....
Already applied: [....-..-..] Drop m in usefont on input line ....
@@ -229,7 +235,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 ...
-7.
+0.
Applying: [....-..-..] Series change rules on input line ....
Already applied: [....-..-..] Series change rules on input line ....
Skipping: [....-..-..] delay fontseries update on input line ....
@@ -342,7 +348,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 ...
-6.
+9.
Applying: [....-..-..] Setup visible space for \verb on input line ....
LaTeX Info: Redefining \asciispace on input line ....
LaTeX Info: Redefining \verbvisiblespace on input line ....
@@ -439,16 +445,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 ...
-341.
+664.
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 ...
-440.
+763.
Applying: [....-..-..] Avoid almost zero length leaders on input line ....
Already applied: [....-..-..] Avoid almost zero length leaders on input line ...
-460.
+783.
Skipping: [....-..-..] default units on input line ....
Applying: [....-..-..] default units on input line ....
Skipping: [....-..-..] default units on input line ....
@@ -457,18 +463,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 ...
-6.
+9.
LaTeX Info: The control sequence `\circle' is already robust on input line ...
-7.
+0.
LaTeX Info: The control sequence `\linethickness' is already robust on input li
-ne 10630.
+ne 10953.
LaTeX Info: The control sequence `\oval' is already robust on input line ...
LaTeX Info: The control sequence `\qbezier' is already robust on input line ...
-34.
+57.
LaTeX Info: The control sequence `\shortstack' is already robust on input line ...
-10635.
+10958.
LaTeX Info: The control sequence `\thinlines' is already robust on input line ...
-0636.
+0959.
Already applied: [....-..-..] Make commands robust on input line ....
Applying: [....-..-..] Make commands robust on input line ....
LaTeX Info: Redefining \title on input line ....
@@ -536,7 +542,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 ...
-89.
+12.
Applying: [....-..-..] \@pass at ptions on input line ....
Skipping: [....-..-..] filter unused option list on input line ....
Applying: [....-..-..] filter unused option list on input line ....
@@ -553,7 +559,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 ...
-603.
+926.
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 ....
@@ -561,10 +567,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 ...
-3.
+6.
Applying: [....-..-..] Spaces in file names + optional arg on input line ...
Already applied: [....-..-..] Spaces in file names + optional arg on input line
- 12083.
+ 12406.
Skipping: [....-..-..] Hook management file on input line ....
Applying: [....-..-..] Hook management file on input line ....
Skipping: [....-..-..] File helpers on input line ....
@@ -637,7 +643,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 ...
-4.
+7.
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 ....
@@ -662,9 +668,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 ...
-9.
+2.
Already applied: [....-..-..] Start of XeTeX class allocator on input line ...
-6.
+9.
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 b5118066..163475e1 100644
--- a/base/testfiles/tlb-rollback-004-often.tlg
+++ b/base/testfiles/tlb-rollback-004-often.tlg
@@ -88,6 +88,11 @@ BEGIN module: lthooks (....-..-..) on input line ....
Skipping module lthooks 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 ....
+END module: ltcmdhooks (....-..-..) on input line ....
BEGIN module: ltpara (....-..-..) on input line ....
Paragraph handling and hooks.
Skipping module ltpara on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.xetex.tlg b/base/testfiles/tlb-rollback-004-often.xetex.tlg
index d6dd04f2..c2038245 100644
--- a/base/testfiles/tlb-rollback-004-often.xetex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.xetex.tlg
@@ -88,6 +88,11 @@ BEGIN module: lthooks (....-..-..) on input line ....
Skipping module lthooks 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 ....
+END module: ltcmdhooks (....-..-..) on input line ....
BEGIN module: ltpara (....-..-..) on input line ....
Paragraph handling and hooks.
Skipping module ltpara on input line ....
diff --git a/base/update-lthooks-tests.sh b/base/update-lthooks-tests.sh
index bb1fffdf..85f669a3 100644
--- a/base/update-lthooks-tests.sh
+++ b/base/update-lthooks-tests.sh
@@ -8,7 +8,8 @@ l3build save -cconfig-lthooks \
ltcmdhooks-006 \
ltcmdhooks-007 \
ltcmdhooks-008 \
- ltcmdhooks-009
+ ltcmdhooks-009 \
+ ltcmdhooks-010
#exit
More information about the latex3-commits
mailing list.