[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/pgfpages: of course first aid shows in the hook tests :-( (15b1f8c4)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Oct 28 16:45:19 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : hotfix/pgfpages
Link       : https://github.com/latex3/latex2e/commit/15b1f8c47a141eb1de9b4afc7dc345de6d75482e

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

commit 15b1f8c47a141eb1de9b4afc7dc345de6d75482e
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Oct 28 16:45:19 2020 +0100

    of course first aid shows in the hook tests :-(


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

15b1f8c47a141eb1de9b4afc7dc345de6d75482e
 base/testfiles-lthooks/lthooks-000.tlg    |  7 +++++++
 base/testfiles-lthooks/lthooks-001.tlg    | 15 +++++++++++++++
 base/testfiles-lthooks/lthooks-002.tlg    | 15 +++++++++++++++
 base/testfiles-lthooks/lthooks-003.tlg    |  8 ++++++++
 base/testfiles-lthooks/lthooks-004.tlg    |  8 ++++++++
 base/testfiles-lthooks/lthooks-005.tlg    |  8 ++++++++
 base/testfiles-lthooks/lthooks-006.tlg    |  8 ++++++++
 base/testfiles-lthooks/lthooks-007.tlg    | 15 +++++++++++++++
 base/testfiles-lthooks/lthooks-008.tlg    | 10 +++++++++-
 base/testfiles-lthooks/lthooks-009.tlg    |  7 +++++++
 base/testfiles-lthooks/lthooks-011.tlg    | 28 ++++++++++++++++++++++++++++
 base/testfiles-lthooks/lthooks-013.tlg    |  7 +++++++
 base/testfiles-lthooks/lthooks-021.tlg    |  7 +++++++
 base/testfiles-lthooks/lthooks-legacy.tlg |  7 +++++++
 base/testfiles-lthooks2/lthooks2-002.tlg  |  7 +++++++
 base/testfiles-lthooks2/lthooks2-005.tlg  | 14 ++++++++++++++
 16 files changed, 170 insertions(+), 1 deletion(-)

diff --git a/base/testfiles-lthooks/lthooks-000.tlg b/base/testfiles-lthooks/lthooks-000.tlg
index d38c5094..f0729389 100644
--- a/base/testfiles-lthooks/lthooks-000.tlg
+++ b/base/testfiles-lthooks/lthooks-000.tlg
@@ -47,11 +47,18 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 All initialized (non-empty) hooks:
  enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_next enddocument/info  
  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 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 -> \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 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  
 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 d1f4df7a..417f989b 100644
--- a/base/testfiles-lthooks/lthooks-001.tlg
+++ b/base/testfiles-lthooks/lthooks-001.tlg
@@ -53,6 +53,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
 Code labels for sorting:
  label1 and label2
@@ -66,6 +72,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 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 -> \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 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  
  xxx -> foobar\__hook_next xxx  
 The property list \g__hook_xxx_code_prop contains the pairs (without outer
 braces):
@@ -95,6 +102,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
 >  {shipout/lastpage}
 >  {file/after/biditools.sty}
 >  {file/after/dinbrief.cls}
+>  {file/after/pgfpages.sty}
 >  {xxx}.
 Update code for hook 'begindocument' on input line ...:
 Update code for hook 'begindocument/before' on input line ...:
@@ -143,6 +151,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
 Code labels for sorting:
  label1
@@ -154,5 +168,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 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 -> \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 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  
  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 6c830059..a81a3748 100644
--- a/base/testfiles-lthooks/lthooks-002.tlg
+++ b/base/testfiles-lthooks/lthooks-002.tlg
@@ -53,6 +53,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
 Code labels for sorting:
  label1 and label2
@@ -66,6 +72,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 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 -> \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 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  
  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
@@ -97,6 +104,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
 >  {shipout/lastpage}
 >  {file/after/biditools.sty}
 >  {file/after/dinbrief.cls}
+>  {file/after/pgfpages.sty}
 >  {xxx}.
 Update code for hook 'begindocument' on input line ...:
 Update code for hook 'begindocument/before' on input line ...:
@@ -145,6 +153,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
 Code labels for sorting:
  label1 and top-level
@@ -158,5 +172,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 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 -> \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 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  
  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 71fde7e5..3d95a439 100644
--- a/base/testfiles-lthooks/lthooks-003.tlg
+++ b/base/testfiles-lthooks/lthooks-003.tlg
@@ -45,6 +45,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
 >  {shipout/lastpage}
 >  {file/after/biditools.sty}
 >  {file/after/dinbrief.cls}
+>  {file/after/pgfpages.sty}
 >  {xxx}.
 The hook xxx contains the rules:
 >  {label3|label1}  =>  {>}
@@ -104,6 +105,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
   normal rule label3|label1: > found
   normal rule label6|label4: > found
@@ -141,4 +148,5 @@ 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 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 -> \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 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  
  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 0b784d7a..a43b982f 100644
--- a/base/testfiles-lthooks/lthooks-004.tlg
+++ b/base/testfiles-lthooks/lthooks-004.tlg
@@ -35,6 +35,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
 >  {shipout/lastpage}
 >  {file/after/biditools.sty}
 >  {file/after/dinbrief.cls}
+>  {file/after/pgfpages.sty}
 >  {xxx}.
 The hook xxx contains the rules:
 >  {label2|label1}  =>  {>}
@@ -88,6 +89,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
   normal rule label2|label1: > found
   normal rule label3|label1: < found
@@ -116,4 +123,5 @@ 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 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 -> \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 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  
  xxx ->  foo4\__hook_next xxx  
diff --git a/base/testfiles-lthooks/lthooks-005.tlg b/base/testfiles-lthooks/lthooks-005.tlg
index 27738f1f..c30f2877 100644
--- a/base/testfiles-lthooks/lthooks-005.tlg
+++ b/base/testfiles-lthooks/lthooks-005.tlg
@@ -52,6 +52,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
 >  {shipout/lastpage}
 >  {file/after/biditools.sty}
 >  {file/after/dinbrief.cls}
+>  {file/after/pgfpages.sty}
 >  {xxx}.
 The hook xxx contains the rules:
 >  {label3|label1}  =>  {>}
@@ -111,6 +112,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
   normal rule label3|label1: > found
   normal rule label6|label4: > found
@@ -148,4 +155,5 @@ 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 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 -> \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 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  
  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 013b840e..f716415f 100644
--- a/base/testfiles-lthooks/lthooks-006.tlg
+++ b/base/testfiles-lthooks/lthooks-006.tlg
@@ -33,6 +33,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
 >  {shipout/lastpage}
 >  {file/after/biditools.sty}
 >  {file/after/dinbrief.cls}
+>  {file/after/pgfpages.sty}
 >  {xxx}.
 The hook xxx contains the rules:
 >  {label2|label1}  =>  {xW}
@@ -84,6 +85,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
   normal rule label2|label1: xW found
 Package hooks Warning: Labels `label2' and `label1' are incompatible in hook
@@ -103,4 +110,5 @@ 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 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 -> \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 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  
  xxx ->  foo1 foo3 foo2\__hook_next xxx  
diff --git a/base/testfiles-lthooks/lthooks-007.tlg b/base/testfiles-lthooks/lthooks-007.tlg
index fbf71a36..9a5232fd 100644
--- a/base/testfiles-lthooks/lthooks-007.tlg
+++ b/base/testfiles-lthooks/lthooks-007.tlg
@@ -33,6 +33,7 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
 >  {shipout/lastpage}
 >  {file/after/biditools.sty}
 >  {file/after/dinbrief.cls}
+>  {file/after/pgfpages.sty}
 >  {xxx}.
 The hook xxx contains the rules:
 >  {label2|label1}  =>  {<-}
@@ -85,6 +86,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
   normal rule label2|label1: <- found
 ---> Drop 'label2' code from \g__hook_xxx_code_prop because of 'label1'
@@ -104,6 +111,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 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 -> \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 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  
  xxx ->  foo1 foo3\__hook_next xxx  
 Update code for hook 'begindocument' on input line ...:
 Update code for hook 'begindocument/before' on input line ...:
@@ -152,6 +160,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
   normal rule label2|label1: <- found
 ---> Drop 'label2' code from \g__hook_xxx_code_prop because of 'label1'
@@ -169,4 +183,5 @@ 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 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 -> \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 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  
  xxx ->  foo1 foo3\__hook_next xxx  
diff --git a/base/testfiles-lthooks/lthooks-008.tlg b/base/testfiles-lthooks/lthooks-008.tlg
index c16950ad..6ac640dd 100644
--- a/base/testfiles-lthooks/lthooks-008.tlg
+++ b/base/testfiles-lthooks/lthooks-008.tlg
@@ -36,7 +36,8 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
 >  {shipout/firstpage}
 >  {shipout/lastpage}
 >  {file/after/biditools.sty}
->  {file/after/dinbrief.cls}.
+>  {file/after/dinbrief.cls}
+>  {file/after/pgfpages.sty}.
 The hook enddocument contains the rules:
 >  {top-level|label1}  =>  {<}
 >  {top-level|label2}  =>  {>}
@@ -100,12 +101,19 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 All initialized (non-empty) hooks:
  enddocument -> \typeout {bar}\typeout {from my package}\typeout {legacy before hook code loaded}\typeout {legacy after hook code loaded code}\typeout {baz}\typeout {on top-level}\typeout {foo}\__hook_next enddocument  
  enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_next enddocument/info  
  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 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 -> \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 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  
 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 f315aaa9..e2df5e22 100644
--- a/base/testfiles-lthooks/lthooks-009.tlg
+++ b/base/testfiles-lthooks/lthooks-009.tlg
@@ -53,12 +53,19 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 All initialized (non-empty) hooks:
  sffamily -> \typeout {Std sffamily code}\__hook_next sffamily  
  enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_next enddocument/info  
  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 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 -> \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 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  
 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 22ce05e0..404ef815 100644
--- a/base/testfiles-lthooks/lthooks-011.tlg
+++ b/base/testfiles-lthooks/lthooks-011.tlg
@@ -48,6 +48,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
 Code labels for sorting:
  front
@@ -64,6 +70,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 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 -> \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 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  
  xxx -> foo\__hook_next xxx  
 **** Add to hook xxx (rear) on input line ... <- bar
 Update code for hook 'begindocument' on input line ...:
@@ -113,6 +120,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
 Code labels for sorting:
  front and rear
@@ -131,6 +144,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 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 -> \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 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  
  xxx -> foobar\__hook_next xxx  
 **** Add to hook xxx (labels) on input line ... <- baz
 Update code for hook 'begindocument' on input line ...:
@@ -180,6 +194,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
 Code labels for sorting:
  front, rear and labels
@@ -200,6 +220,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 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 -> \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 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  
  xxx -> foobarbaz\__hook_next xxx  
 **** Add to hook xxx (return) on input line ... <- boom
 Update code for hook 'begindocument' on input line ...:
@@ -249,6 +270,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'xxx' on input line ...:
 Code labels for sorting:
  front, rear, labels and return
@@ -271,4 +298,5 @@ 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 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 -> \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 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  
  xxx -> foobarbazboom\__hook_next xxx  
diff --git a/base/testfiles-lthooks/lthooks-013.tlg b/base/testfiles-lthooks/lthooks-013.tlg
index 6d08e87a..e6b04344 100644
--- a/base/testfiles-lthooks/lthooks-013.tlg
+++ b/base/testfiles-lthooks/lthooks-013.tlg
@@ -110,6 +110,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'env/itemize/begin' on input line ...:
   normal rule top-level|foo: > found
 Code labels for sorting:
@@ -142,6 +148,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 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 -> \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 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  
  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 8850c8b8..6611f81a 100644
--- a/base/testfiles-lthooks/lthooks-021.tlg
+++ b/base/testfiles-lthooks/lthooks-021.tlg
@@ -47,11 +47,18 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 All initialized (non-empty) hooks:
  enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_next enddocument/info  
  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 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 -> \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 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  
 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 5c98ab15..26d2c5f4 100644
--- a/base/testfiles-lthooks/lthooks-legacy.tlg
+++ b/base/testfiles-lthooks/lthooks-legacy.tlg
@@ -69,6 +69,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 All initialized (non-empty) hooks:
  begindocument -> \typeout {FOO}\typeout {legacy begindocument\on at line }\__hook_next begindocument  
  rmfamily -> \typeout {legacy rmfamily\on at line }\__hook_next rmfamily  
@@ -77,6 +83,7 @@ All initialized (non-empty) hooks:
  enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_next enddocument/info  
  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 -> \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 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  
 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 8113aadc..ee321e59 100644
--- a/base/testfiles-lthooks2/lthooks2-002.tlg
+++ b/base/testfiles-lthooks2/lthooks2-002.tlg
@@ -66,12 +66,19 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 All initialized (non-empty) hooks:
  enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_next enddocument/info  
  enddocument/end -> \typeout {in preamble}\__hook_next enddocument/end  
  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 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 -> \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 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  
 (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 4fe1f86e..c85b5d0c 100644
--- a/base/testfiles-lthooks2/lthooks2-005.tlg
+++ b/base/testfiles-lthooks2/lthooks2-005.tlg
@@ -43,10 +43,17 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 All initialized (non-empty) hooks:
  enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_next enddocument/info  
  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 -> \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 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  
 **** 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 ...:
@@ -90,6 +97,12 @@ Code labels for sorting:
 Data structure for label rules:
  firstaid = 0 -> 
 Handled code for firstaid
+Update code for hook 'file/after/pgfpages.sty' on input line ...:
+Code labels for sorting:
+ firstaid
+Data structure for label rules:
+ firstaid = 0 -> 
+Handled code for firstaid
 Update code for hook 'some-hook' on input line ...:
 Code labels for sorting:
  my-package and other-package
@@ -102,4 +115,5 @@ All initialized (non-empty) hooks:
  enddocument/info -> \@dofilelist \@enddocument at kernel@warnings \__hook_next enddocument/info  
  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 -> \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 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  
  some-hook -> code to run when other-package is loaded,code from other-package,\__hook_next some-hook  





More information about the latex3-commits mailing list.