[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/gh441: Update test files (43368960)
PhelypeOleinik
phelype.oleinik at latex-project.org
Thu Dec 17 18:50:15 CET 2020
Repository : https://github.com/latex3/latex2e
On branch : hotfix/gh441
Link : https://github.com/latex3/latex2e/commit/43368960ada1225dd4b79f506265b0ae5167475f
>---------------------------------------------------------------
commit 43368960ada1225dd4b79f506265b0ae5167475f
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Thu Dec 17 14:50:15 2020 -0300
Update test files
Added code to 'enddocument/end' hook
>---------------------------------------------------------------
43368960ada1225dd4b79f506265b0ae5167475f
base/testfiles-lthooks/lthooks-000.tlg | 6 ++++++
base/testfiles-lthooks/lthooks-001.tlg | 12 ++++++++++++
base/testfiles-lthooks/lthooks-002.tlg | 12 ++++++++++++
base/testfiles-lthooks/lthooks-003.tlg | 6 ++++++
base/testfiles-lthooks/lthooks-004.tlg | 6 ++++++
base/testfiles-lthooks/lthooks-005.tlg | 6 ++++++
base/testfiles-lthooks/lthooks-006.tlg | 6 ++++++
base/testfiles-lthooks/lthooks-007.tlg | 12 ++++++++++++
base/testfiles-lthooks/lthooks-008.tlg | 6 ++++++
base/testfiles-lthooks/lthooks-009.tlg | 6 ++++++
base/testfiles-lthooks/lthooks-011.tlg | 24 ++++++++++++++++++++++++
base/testfiles-lthooks/lthooks-013.tlg | 6 ++++++
base/testfiles-lthooks/lthooks-021.tlg | 6 ++++++
base/testfiles-lthooks/lthooks-legacy.tlg | 6 ++++++
base/testfiles-lthooks2/lthooks2-002.tlg | 15 +++++++++++++--
base/testfiles-lthooks2/lthooks2-005.tlg | 12 ++++++++++++
16 files changed, 145 insertions(+), 2 deletions(-)
diff --git a/base/testfiles-lthooks/lthooks-000.tlg b/base/testfiles-lthooks/lthooks-000.tlg
index f6aa354a..a29aeb92 100644
--- a/base/testfiles-lthooks/lthooks-000.tlg
+++ b/base/testfiles-lthooks/lthooks-000.tlg
@@ -25,6 +25,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -61,6 +66,7 @@ Data structure for label rules:
Handled code for firstaid
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-001.tlg b/base/testfiles-lthooks/lthooks-001.tlg
index ff3581ca..d01a4841 100644
--- a/base/testfiles-lthooks/lthooks-001.tlg
+++ b/base/testfiles-lthooks/lthooks-001.tlg
@@ -31,6 +31,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -75,6 +80,7 @@ Handled code for label1
Handled code for label2
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
@@ -137,6 +143,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -179,6 +190,7 @@ Data structure for label rules:
Handled code for label1
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-002.tlg b/base/testfiles-lthooks/lthooks-002.tlg
index 1db20efe..6958bb54 100644
--- a/base/testfiles-lthooks/lthooks-002.tlg
+++ b/base/testfiles-lthooks/lthooks-002.tlg
@@ -31,6 +31,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -75,6 +80,7 @@ Handled code for label1
Handled code for label2
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
@@ -139,6 +145,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -181,6 +192,7 @@ Data structure for label rules:
Handled code for label1
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-003.tlg b/base/testfiles-lthooks/lthooks-003.tlg
index 4ea69e66..b4d55a3d 100644
--- a/base/testfiles-lthooks/lthooks-003.tlg
+++ b/base/testfiles-lthooks/lthooks-003.tlg
@@ -84,6 +84,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -152,6 +157,7 @@ Handled code for label8
Handled code for label6
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-004.tlg b/base/testfiles-lthooks/lthooks-004.tlg
index 8b79e24a..84ed38ff 100644
--- a/base/testfiles-lthooks/lthooks-004.tlg
+++ b/base/testfiles-lthooks/lthooks-004.tlg
@@ -68,6 +68,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -127,6 +132,7 @@ Data structure for label rules:
====================
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-005.tlg b/base/testfiles-lthooks/lthooks-005.tlg
index 23de0ea1..d3f060a4 100644
--- a/base/testfiles-lthooks/lthooks-005.tlg
+++ b/base/testfiles-lthooks/lthooks-005.tlg
@@ -91,6 +91,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -159,6 +164,7 @@ Handled code for label8
Handled code for label6
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-006.tlg b/base/testfiles-lthooks/lthooks-006.tlg
index 21a5139a..ed84be04 100644
--- a/base/testfiles-lthooks/lthooks-006.tlg
+++ b/base/testfiles-lthooks/lthooks-006.tlg
@@ -64,6 +64,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -114,6 +119,7 @@ Handled code for label3
Handled code for label2
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-007.tlg b/base/testfiles-lthooks/lthooks-007.tlg
index 3c271311..a6ab8a49 100644
--- a/base/testfiles-lthooks/lthooks-007.tlg
+++ b/base/testfiles-lthooks/lthooks-007.tlg
@@ -65,6 +65,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -115,6 +120,7 @@ Handled code for label3
Handled code for label2
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
@@ -146,6 +152,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -194,6 +205,7 @@ Handled code for label2
Handled code for label3
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-008.tlg b/base/testfiles-lthooks/lthooks-008.tlg
index c2cbb857..5ad302ba 100644
--- a/base/testfiles-lthooks/lthooks-008.tlg
+++ b/base/testfiles-lthooks/lthooks-008.tlg
@@ -72,6 +72,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -109,6 +114,7 @@ Handled code for firstaid
All initialized (non-empty) hooks:
enddocument -> \typeout {foo}\typeout {bar}\typeout {from my package}\__hook_toplevel enddocument \__hook_next enddocument
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-009.tlg b/base/testfiles-lthooks/lthooks-009.tlg
index 03549201..4dea0f6f 100644
--- a/base/testfiles-lthooks/lthooks-009.tlg
+++ b/base/testfiles-lthooks/lthooks-009.tlg
@@ -31,6 +31,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -68,6 +73,7 @@ Handled code for firstaid
All initialized (non-empty) hooks:
sffamily -> \typeout {Std sffamily code}\__hook_toplevel sffamily \__hook_next sffamily
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-011.tlg b/base/testfiles-lthooks/lthooks-011.tlg
index 26b36c33..b1841a33 100644
--- a/base/testfiles-lthooks/lthooks-011.tlg
+++ b/base/testfiles-lthooks/lthooks-011.tlg
@@ -26,6 +26,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -73,6 +78,7 @@ Update code for hook 'zzz' on input line ...:
Update code for hook 'next_zzz' on input line ...:
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
@@ -105,6 +111,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -154,6 +165,7 @@ Update code for hook 'zzz' on input line ...:
Update code for hook 'next_zzz' on input line ...:
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
@@ -186,6 +198,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -237,6 +254,7 @@ Update code for hook 'zzz' on input line ...:
Update code for hook 'next_zzz' on input line ...:
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
@@ -269,6 +287,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -322,6 +345,7 @@ Update code for hook 'zzz' on input line ...:
Update code for hook 'next_zzz' on input line ...:
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-013.tlg b/base/testfiles-lthooks/lthooks-013.tlg
index 6f00775d..2649226b 100644
--- a/base/testfiles-lthooks/lthooks-013.tlg
+++ b/base/testfiles-lthooks/lthooks-013.tlg
@@ -80,6 +80,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -125,6 +130,7 @@ Update code for hook 'file/foo' on input line ...:
Update code for hook 'file/bar' on input line ...:
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-021.tlg b/base/testfiles-lthooks/lthooks-021.tlg
index 48b79139..bbd5da76 100644
--- a/base/testfiles-lthooks/lthooks-021.tlg
+++ b/base/testfiles-lthooks/lthooks-021.tlg
@@ -25,6 +25,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -61,6 +66,7 @@ Data structure for label rules:
Handled code for firstaid
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
diff --git a/base/testfiles-lthooks/lthooks-legacy.tlg b/base/testfiles-lthooks/lthooks-legacy.tlg
index bf59a473..2b721d9c 100644
--- a/base/testfiles-lthooks/lthooks-legacy.tlg
+++ b/base/testfiles-lthooks/lthooks-legacy.tlg
@@ -50,6 +50,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -85,6 +90,7 @@ All initialized (non-empty) hooks:
sffamily -> \typeout {legacy sffamily\on at line }\__hook_toplevel sffamily \__hook_next sffamily
ttfamily -> \typeout {legacy ttfamily\on at line }\__hook_toplevel ttfamily \__hook_next ttfamily
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
file/after/pgfpages.sty -> \__hook_toplevel file/after/pgfpages.sty \cs_gset_eq:NN \shipout \pgfpages at originalshipout \cs_set_eq:NN \pgfpages at originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages at interceptshipout \__hook_next file/after/pgfpages.sty
diff --git a/base/testfiles-lthooks2/lthooks2-002.tlg b/base/testfiles-lthooks2/lthooks2-002.tlg
index 35bf3ea2..b8ee692d 100644
--- a/base/testfiles-lthooks2/lthooks2-002.tlg
+++ b/base/testfiles-lthooks2/lthooks2-002.tlg
@@ -33,6 +33,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -69,6 +74,7 @@ Data structure for label rules:
Handled code for firstaid
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_toplevel shipout/firstpage \__hook_next shipout/firstpage
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
@@ -91,6 +97,11 @@ LaTeX Font Info: Checking defaults for U/cmr/m/n on input line ....
LaTeX Font Info: ... okay on input line ....
**** Add to hook enddocument/end (top-level) on input line ... <- \typeout {after preamble}
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
-> The hook 'enddocument':
> The hook is empty.
-> The hook 'enddocument/afterlastpage':
@@ -111,7 +122,7 @@ Update code for hook 'enddocument/end' on input line ...:
> kernel/filelist, kernel/warnings.
-> The hook 'enddocument/end':
> Code chunks:
-> ---
+> kernel/hooks -> \__hook_end_document_label_check:
> Document-level (top-level) code (executed last):
> -> \typeout {in preamble}\typeout {after preamble}
> Extra code for next invocation:
@@ -119,7 +130,7 @@ Update code for hook 'enddocument/end' on input line ...:
> Rules:
> ---
> Execution order:
-> ---.
+> kernel/hooks.
Without updates to etoolbox the order will get reversed:
(lthooks2-002.aux)
in preamble
diff --git a/base/testfiles-lthooks2/lthooks2-005.tlg b/base/testfiles-lthooks2/lthooks2-005.tlg
index f8090d60..ee560492 100644
--- a/base/testfiles-lthooks2/lthooks2-005.tlg
+++ b/base/testfiles-lthooks2/lthooks2-005.tlg
@@ -26,6 +26,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -57,6 +62,7 @@ Data structure for label rules:
Handled code for firstaid
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
file/after/pgfpages.sty -> \__hook_toplevel file/after/pgfpages.sty \cs_gset_eq:NN \shipout \pgfpages at originalshipout \cs_set_eq:NN \pgfpages at originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages at interceptshipout \__hook_next file/after/pgfpages.sty
@@ -87,6 +93,11 @@ Data structure for label rules:
Handled code for kernel/filelist
Handled code for kernel/warnings
Update code for hook 'enddocument/end' on input line ...:
+Code labels for sorting:
+ kernel/hooks
+Data structure for label rules:
+ kernel/hooks = 0 ->
+Handled code for kernel/hooks
Update code for hook 'shipout/before' on input line ...:
Update code for hook 'shipout/foreground' on input line ...:
Update code for hook 'shipout/background' on input line ...:
@@ -126,6 +137,7 @@ Handled code for my-package
Handled code for other-package
All initialized (non-empty) hooks:
enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_toplevel enddocument/info \__hook_next enddocument/info
+ enddocument/end -> \__hook_end_document_label_check: \__hook_toplevel enddocument/end \__hook_next enddocument/end
file/after/biditools.sty -> \__hook_toplevel file/after/biditools.sty \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid at bidi@document at patch \endgroup ##1\begingroup ##2\firstaid at bidi@document at patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid at bidi@document at patch \document \firstaid at bidi@document at patch }\AddToHook {enddocument/info}{\let \bidi at AfterEndDocumentCheckLabelsRerun \@firstofone \bidi at afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty
file/after/dinbrief.cls -> \__hook_toplevel file/after/dinbrief.cls \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls
file/after/pgfpages.sty -> \__hook_toplevel file/after/pgfpages.sty \cs_gset_eq:NN \shipout \pgfpages at originalshipout \cs_set_eq:NN \pgfpages at originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages at interceptshipout \__hook_next file/after/pgfpages.sty
More information about the latex3-commits
mailing list.