diff --git a/base/testfiles-lthooks/lthooks-000.tlg b/base/testfiles-lthooks/lthooks-000.tlg index 39229174c..50c44d840 100644 --- a/base/testfiles-lthooks/lthooks-000.tlg +++ b/base/testfiles-lthooks/lthooks-000.tlg @@ -64,8 +64,8 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty No file lthooks-000.aux. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line .... LaTeX Font Info: ... okay on input line .... diff --git a/base/testfiles-lthooks/lthooks-001.tlg b/base/testfiles-lthooks/lthooks-001.tlg index f300a79e6..13a78dd7d 100644 --- a/base/testfiles-lthooks/lthooks-001.tlg +++ b/base/testfiles-lthooks/lthooks-001.tlg @@ -78,8 +78,8 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foobar\__hook_next xxx The property list \g__hook_xxx_code_prop contains the pairs (without outer braces): @@ -182,7 +182,7 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foo\__hook_next xxx The hook xxx contains the rules: diff --git a/base/testfiles-lthooks/lthooks-002.tlg b/base/testfiles-lthooks/lthooks-002.tlg index 19310126a..89c92155f 100644 --- a/base/testfiles-lthooks/lthooks-002.tlg +++ b/base/testfiles-lthooks/lthooks-002.tlg @@ -78,8 +78,8 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foobar\__hook_next xxx **** Add to hook xxx (top-level) on input line ... <- baz The property list \g__hook_xxx_code_prop contains the pairs (without outer @@ -186,7 +186,7 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foobaz\__hook_next xxx The hook xxx contains the rules: diff --git a/base/testfiles-lthooks/lthooks-003.tlg b/base/testfiles-lthooks/lthooks-003.tlg index 582e2360b..8e0eba0c7 100644 --- a/base/testfiles-lthooks/lthooks-003.tlg +++ b/base/testfiles-lthooks/lthooks-003.tlg @@ -155,6 +155,6 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foo1 foo9 foo3 foo2 foo7 foo4 foo5 foo8 foo6\__hook_next xxx diff --git a/base/testfiles-lthooks/lthooks-004.tlg b/base/testfiles-lthooks/lthooks-004.tlg index 600db7012..11775f564 100644 --- a/base/testfiles-lthooks/lthooks-004.tlg +++ b/base/testfiles-lthooks/lthooks-004.tlg @@ -130,6 +130,6 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foo4\__hook_next xxx diff --git a/base/testfiles-lthooks/lthooks-005.tlg b/base/testfiles-lthooks/lthooks-005.tlg index 9abfc28b9..630a5eb45 100644 --- a/base/testfiles-lthooks/lthooks-005.tlg +++ b/base/testfiles-lthooks/lthooks-005.tlg @@ -162,6 +162,6 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foo1 foo9 foo3 foo2 foo7 foo4 foo5 foo8 foo6\__hook_next xxx diff --git a/base/testfiles-lthooks/lthooks-006.tlg b/base/testfiles-lthooks/lthooks-006.tlg index a983b2c9f..b365a5c7d 100644 --- a/base/testfiles-lthooks/lthooks-006.tlg +++ b/base/testfiles-lthooks/lthooks-006.tlg @@ -117,6 +117,6 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foo1 foo3 foo2\__hook_next xxx diff --git a/base/testfiles-lthooks/lthooks-007.tlg b/base/testfiles-lthooks/lthooks-007.tlg index ec3c2a7e6..f4ce7a5bd 100644 --- a/base/testfiles-lthooks/lthooks-007.tlg +++ b/base/testfiles-lthooks/lthooks-007.tlg @@ -118,8 +118,8 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foo1 foo3\__hook_next xxx Update code for hook 'begindocument' on input line ...: Update code for hook 'begindocument/before' on input line ...: @@ -197,6 +197,6 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foo1 foo3\__hook_next xxx diff --git a/base/testfiles-lthooks/lthooks-008.tlg b/base/testfiles-lthooks/lthooks-008.tlg index 5c86d1951..385a4225e 100644 --- a/base/testfiles-lthooks/lthooks-008.tlg +++ b/base/testfiles-lthooks/lthooks-008.tlg @@ -120,8 +120,8 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty No file lthooks-008.aux. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line .... LaTeX Font Info: ... okay on input line .... diff --git a/base/testfiles-lthooks/lthooks-009.tlg b/base/testfiles-lthooks/lthooks-009.tlg index 527d9417d..fa50373fd 100644 --- a/base/testfiles-lthooks/lthooks-009.tlg +++ b/base/testfiles-lthooks/lthooks-009.tlg @@ -71,8 +71,8 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty No file lthooks-009.aux. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line .... LaTeX Font Info: ... okay on input line .... diff --git a/base/testfiles-lthooks/lthooks-011.tlg b/base/testfiles-lthooks/lthooks-011.tlg index ec9e05722..801b41548 100644 --- a/base/testfiles-lthooks/lthooks-011.tlg +++ b/base/testfiles-lthooks/lthooks-011.tlg @@ -76,8 +76,8 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foo\__hook_next xxx **** Add to hook xxx (rear) on input line ... <- bar Update code for hook 'begindocument' on input line ...: @@ -157,8 +157,8 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foobar\__hook_next xxx **** Add to hook xxx (labels) on input line ... <- baz Update code for hook 'begindocument' on input line ...: @@ -240,8 +240,8 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foobarbaz\__hook_next xxx **** Add to hook xxx (return) on input line ... <- boom Update code for hook 'begindocument' on input line ...: @@ -325,6 +325,6 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty xxx -> foobarbazboom\__hook_next xxx diff --git a/base/testfiles-lthooks/lthooks-013.tlg b/base/testfiles-lthooks/lthooks-013.tlg index 968c985aa..b8d13d547 100644 --- a/base/testfiles-lthooks/lthooks-013.tlg +++ b/base/testfiles-lthooks/lthooks-013.tlg @@ -154,8 +154,8 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty env/itemize/begin -> \typeout {env itemize first}\typeout {begin env itemize}\__hook_next env/itemize/begin env/itemize/end -> \typeout {end env itemize}\__hook_next env/itemize/end file/foo -> \typeout {file foo}\__hook_next file/foo diff --git a/base/testfiles-lthooks/lthooks-021.tlg b/base/testfiles-lthooks/lthooks-021.tlg index 2ea10cb31..7fa353829 100644 --- a/base/testfiles-lthooks/lthooks-021.tlg +++ b/base/testfiles-lthooks/lthooks-021.tlg @@ -64,8 +64,8 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty No file lthooks-021.aux. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line .... LaTeX Font Info: ... okay on input line .... diff --git a/base/testfiles-lthooks/lthooks-legacy.tlg b/base/testfiles-lthooks/lthooks-legacy.tlg index 5f5b388d7..6acfa482d 100644 --- a/base/testfiles-lthooks/lthooks-legacy.tlg +++ b/base/testfiles-lthooks/lthooks-legacy.tlg @@ -89,8 +89,8 @@ All initialized (non-empty) hooks: enddocument/info -> \@dofilelist \@enddocument@kernel@warnings \__hook_next enddocument/info file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty legacy defaultfamily on input line ... (../l3backend-dvips.def File: l3backend-dvips.def ....-..-.. L3 backend support: dvips diff --git a/base/testfiles-lthooks2/lthooks2-002.tlg b/base/testfiles-lthooks2/lthooks2-002.tlg index 1a3165889..b7632bb87 100644 --- a/base/testfiles-lthooks2/lthooks2-002.tlg +++ b/base/testfiles-lthooks2/lthooks2-002.tlg @@ -84,8 +84,8 @@ All initialized (non-empty) hooks: shipout/firstpage -> \__kernel_backend_literal:n {header=l3backend-dvips.pro}\__hook_next shipout/firstpage file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty (lthooks2-002.aux) LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line .... LaTeX Font Info: ... okay on input line .... diff --git a/base/testfiles-lthooks2/lthooks2-005.tlg b/base/testfiles-lthooks2/lthooks2-005.tlg index b22e04ffe..c70310df0 100644 --- a/base/testfiles-lthooks2/lthooks2-005.tlg +++ b/base/testfiles-lthooks2/lthooks2-005.tlg @@ -59,8 +59,8 @@ All initialized (non-empty) hooks: enddocument/info -> \@dofilelist \@enddocument@kernel@warnings \__hook_next enddocument/info file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty **** Add to hook some-hook (other-package) on input line ... <- code from other-package, Update code for hook 'begindocument' on input line ...: Update code for hook 'begindocument/before' on input line ...: @@ -128,6 +128,6 @@ All initialized (non-empty) hooks: enddocument/info -> \@dofilelist \@enddocument@kernel@warnings \__hook_next enddocument/info file/after/biditools.sty -> \FirstAidNeededT {biditools}{sty}{....-..-.. v... Programming tools for bidi package}{ \def \firstaid@bidi@document@patch \endgroup ##1\begingroup ##2\firstaid@bidi@document@patch {\unexpanded {##1##2}}\edef \document {\expandafter \firstaid@bidi@document@patch \document \firstaid@bidi@document@patch }\AddToHook {enddocument/info}{\let \bidi@AfterEndDocumentCheckLabelsRerun \@firstofone \bidi@afterenddocumentchecklabelsrerunhook }} \__hook_next file/after/biditools.sty file/after/dinbrief.cls -> \FirstAidNeededT {dinbrief}{cls}{....-..-.. LaTeX2e class}{\AddToHook {env/document/begin}{\begingroup }}\__hook_next file/after/dinbrief.cls - file/after/pgfpages.sty -> \FirstAidNeededT {pgfpages}{sty}{....-..-.. ver 0.02}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfpages.sty - file/after/pgfmorepages.sty -> \FirstAidNeededT {pgfmorepages}{sty}{....-..-..v...ultiplepagemanipulation}{\cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout }\__hook_next file/after/pgfmorepages.sty + file/after/pgfpages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfpages.sty + file/after/pgfmorepages.sty -> \cs_gset_eq:NN \shipout \pgfpages@originalshipout \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout \__hook_next file/after/pgfmorepages.sty some-hook -> code to run when other-package is loaded,code from other-package,\__hook_next some-hook