[latex3-commits] [git/LaTeX3-latex3-latex2e] gh479: Use \NewModuleRelease in lthooks and ltcmd (3c559325)

PhelypeOleinik phelype.oleinik at latex-project.org
Tue Mar 16 05:13:49 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh479
Link       : https://github.com/latex3/latex2e/commit/3c5593250c1bb0fe150e292e37d09f029e555ac5

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

commit 3c5593250c1bb0fe150e292e37d09f029e555ac5
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Tue Mar 16 01:13:49 2021 -0300

    Use \NewModuleRelease in lthooks and ltcmd


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

3c5593250c1bb0fe150e292e37d09f029e555ac5
 base/ltcmd.dtx                                   |  8 +++-----
 base/lthooks.dtx                                 |  7 +++----
 base/testfiles/github-0479.tlg                   | 13 +++++++------
 base/testfiles/tlb-rollback-004-often.luatex.tlg | 10 +++++++---
 base/testfiles/tlb-rollback-004-often.tlg        | 10 +++++++---
 base/testfiles/tlb-rollback-004-often.xetex.tlg  | 10 +++++++---
 6 files changed, 34 insertions(+), 24 deletions(-)

diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 26ce7522..7f52591f 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -85,8 +85,7 @@
 %<*2ekernel|latexrelease>
 %<latexrelease>\edef\@latexrelease at catcode@null{\the\catcode`\^^@ }
 %<latexrelease>\catcode`\^^@=12
-%<latexrelease>\IncludeInRelease{2021/05/01}%
-%<latexrelease>                 {\NewDocumentCommand}{Document commands}%
+%<latexrelease>\NewModuleRelease{2021/05/01}{ltcmd}%
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -4013,8 +4012,6 @@
 %
 %    \begin{macrocode}
 %</2ekernel|latexrelease>
-%<latexrelease>\EndIncludeInRelease
-%<latexrelease>\catcode`\^^@=\@latexrelease at catcode@null\relax
 %<latexrelease>
 %<latexrelease>\IncludeInRelease{2020/10/01}%
 %<latexrelease>                 {\NewDocumentCommand}{Document commands}%
@@ -4030,7 +4027,8 @@
 %<latexrelease>\IncludeInRelease{0000/00/00}%
 %<latexrelease>                 {\NewDocumentCommand}{Document commands}%
 %<latexrelease>
-%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\EndModuleRelease
+%<latexrelease>\catcode`\^^@=\@latexrelease at catcode@null\relax
 %    \end{macrocode}
 %
 % We need to stop DocStrip treating |@@| in a special way at this point.
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 216d1440..1c2a822b 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -1718,8 +1718,7 @@
 %    splitting.
 %    \begin{macrocode}
 %<*2ekernel|latexrelease>
-%<latexrelease>\IncludeInRelease{2020/10/01}%
-%<latexrelease>                 {\NewHook}{The hook management}%
+%<latexrelease>\NewModuleRelease{2020/10/01}{lthooks}
 %    \end{macrocode}
 %    
 %    \begin{macrocode}
@@ -4479,7 +4478,7 @@
 %                             to be for \cs{AddToHook} vice versa (gh/401)}
 %    \begin{macrocode}
 %</2ekernel|latexrelease>
-%<latexrelease>\EndIncludeInRelease
+%
 %<latexrelease>\IncludeInRelease{0000/00/00}%
 %<latexrelease>                 {\NewHook}{The hook management}%
 %<latexrelease>
@@ -4513,7 +4512,7 @@
 %<latexrelease>\long\def \IfHookExistsTF #1#2#3{#3}
 %<latexrelease>\long\def \IfHookEmptyTF #1#2#3{#2}
 %<latexrelease>
-%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\EndModuleRelease
 %    \end{macrocode}
 %
 %
diff --git a/base/testfiles/github-0479.tlg b/base/testfiles/github-0479.tlg
index 0a663614..906213b3 100644
--- a/base/testfiles/github-0479.tlg
+++ b/base/testfiles/github-0479.tlg
@@ -78,13 +78,14 @@ LaTeX Info: The control sequence `\smallbreak' is already robust on input line .
 LaTeX Info: The control sequence `\strut' is already robust on input line ...
 LaTeX Info: The control sequence `\underbar' is already robust on input line ....
 Already applied: [....-..-..] Make various commands robust on input line ...
-Skipping: [....-..-..] Document commands on input line ....
+BEGIN module: ltcmd (....-..-..) on input line ....
+Skipping module ltcmd on input line ....
 Applying: [....-..-..] Document commands on input line ....
-Already applied: [....-..-..] Document commands on input line ....
-Applying: [....-..-..] The hook management on input line ....
-LaTeX3 Warning: Scan mark \s__hook_mark already defined.
-\l__hook_labels_int=\count...
-Already applied: [....-..-..] The hook management on input line ....
+Applying: [....-..-..] Document commands on input line ....
+END module: ltcmd (....-..-..) on input line ....
+BEGIN module: lthooks (....-..-..) on input line ....
+Skipping module lthooks on input line ....
+END module: lthooks (....-..-..) on input line ....
 Applying: [....-..-..] Make commands robust on input line ....
 LaTeX Info: Redefining \pagebreak on input line ....
 LaTeX Info: Redefining \nopagebreak on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.luatex.tlg b/base/testfiles/tlb-rollback-004-often.luatex.tlg
index 01486798..586f047c 100644
--- a/base/testfiles/tlb-rollback-004-often.luatex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.luatex.tlg
@@ -89,11 +89,15 @@ LaTeX Info: The control sequence `\smallbreak' is already robust on input line .
 LaTeX Info: The control sequence `\strut' is already robust on input line ...
 LaTeX Info: The control sequence `\underbar' is already robust on input line ....
 Already applied: [....-..-..] Make various commands robust on input line ...
-Skipping: [....-..-..] Document commands on input line ....
+BEGIN module: ltcmd (....-..-..) on input line ....
+Skipping module ltcmd on input line ....
 Skipping: [....-..-..] Document commands on input line ....
 Applying: [....-..-..] Document commands on input line ....
-Skipping: [....-..-..] The hook management on input line ....
+END module: ltcmd (....-..-..) on input line ....
+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 ....
 Applying: [....-..-..] Make commands robust on input line ....
 LaTeX Info: Redefining \pagebreak on input line ....
 LaTeX Info: Redefining \nopagebreak on input line ....
@@ -793,7 +797,7 @@ Skipping: [....-..-..] Declaring file substitution on input line ....
 Skipping: [....-..-..] File substitution on input line ....
 Applying: [....-..-..] File substitution on input line ....
 Skipping: [....-..-..] Setting current file name on input line ....
-Skipping: [....-..-..] \set at curr@file  on input line ....
+Skipping: [....-..-..] Setting current file name on input line ....
 Applying: [....-..-..] Setting current file name on input line ....
 Already applied: [....-..-..] Setting current file name on input line ....
 Skipping: [....-..-..] Make file csname on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.tlg b/base/testfiles/tlb-rollback-004-often.tlg
index df24dbb6..56255036 100644
--- a/base/testfiles/tlb-rollback-004-often.tlg
+++ b/base/testfiles/tlb-rollback-004-often.tlg
@@ -78,11 +78,15 @@ LaTeX Info: The control sequence `\smallbreak' is already robust on input line .
 LaTeX Info: The control sequence `\strut' is already robust on input line ...
 LaTeX Info: The control sequence `\underbar' is already robust on input line ....
 Already applied: [....-..-..] Make various commands robust on input line ...
-Skipping: [....-..-..] Document commands on input line ....
+BEGIN module: ltcmd (....-..-..) on input line ....
+Skipping module ltcmd on input line ....
 Skipping: [....-..-..] Document commands on input line ....
 Applying: [....-..-..] Document commands on input line ....
-Skipping: [....-..-..] The hook management on input line ....
+END module: ltcmd (....-..-..) on input line ....
+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 ....
 Applying: [....-..-..] Make commands robust on input line ....
 LaTeX Info: Redefining \pagebreak on input line ....
 LaTeX Info: Redefining \nopagebreak on input line ....
@@ -781,7 +785,7 @@ Skipping: [....-..-..] Declaring file substitution on input line ....
 Skipping: [....-..-..] File substitution on input line ....
 Applying: [....-..-..] File substitution on input line ....
 Skipping: [....-..-..] Setting current file name on input line ....
-Skipping: [....-..-..] \set at curr@file  on input line ....
+Skipping: [....-..-..] Setting current file name on input line ....
 Applying: [....-..-..] Setting current file name on input line ....
 Already applied: [....-..-..] Setting current file name on input line ....
 Skipping: [....-..-..] Make file csname on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.xetex.tlg b/base/testfiles/tlb-rollback-004-often.xetex.tlg
index f931dec1..73e476cd 100644
--- a/base/testfiles/tlb-rollback-004-often.xetex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.xetex.tlg
@@ -78,11 +78,15 @@ LaTeX Info: The control sequence `\smallbreak' is already robust on input line .
 LaTeX Info: The control sequence `\strut' is already robust on input line ...
 LaTeX Info: The control sequence `\underbar' is already robust on input line ....
 Already applied: [....-..-..] Make various commands robust on input line ...
-Skipping: [....-..-..] Document commands on input line ....
+BEGIN module: ltcmd (....-..-..) on input line ....
+Skipping module ltcmd on input line ....
 Skipping: [....-..-..] Document commands on input line ....
 Applying: [....-..-..] Document commands on input line ....
-Skipping: [....-..-..] The hook management on input line ....
+END module: ltcmd (....-..-..) on input line ....
+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 ....
 Applying: [....-..-..] Make commands robust on input line ....
 LaTeX Info: Redefining \pagebreak on input line ....
 LaTeX Info: Redefining \nopagebreak on input line ....
@@ -782,7 +786,7 @@ Skipping: [....-..-..] Declaring file substitution on input line ....
 Skipping: [....-..-..] File substitution on input line ....
 Applying: [....-..-..] File substitution on input line ....
 Skipping: [....-..-..] Setting current file name on input line ....
-Skipping: [....-..-..] \set at curr@file  on input line ....
+Skipping: [....-..-..] Setting current file name on input line ....
 Applying: [....-..-..] Setting current file name on input line ....
 Already applied: [....-..-..] Setting current file name on input line ....
 Skipping: [....-..-..] Make file csname on input line ....





More information about the latex3-commits mailing list.