[latex3-commits] [latex3/latex2e] testmergearray: switch hook (0aba53e9)

github at latex-project.org github at latex-project.org
Sun Dec 24 13:07:38 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : testmergearray
Link       : https://github.com/latex3/latex2e/commit/0aba53e901651724a3585b0807688bfdc5af0f14

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

commit 0aba53e901651724a3585b0807688bfdc5af0f14
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Dec 24 13:07:38 2023 +0100

    switch hook


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

0aba53e901651724a3585b0807688bfdc5af0f14
 required/latex-lab/latex-lab-title.dtx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/required/latex-lab/latex-lab-title.dtx b/required/latex-lab/latex-lab-title.dtx
index e529f1c3..27d331f0 100644
--- a/required/latex-lab/latex-lab-title.dtx
+++ b/required/latex-lab/latex-lab-title.dtx
@@ -264,7 +264,7 @@
 % Now we redefine \cs{title} so that it stores the title, and processes
 % keys in the optional argument. We use \texttt{hyp} as module
 % name for the key as this means that it hyperref is loaded its definition
-% of \textt{pdftitle} will be used -- at some time probably this
+% of \texttt{pdftitle} will be used -- at some time probably this
 % should be moved out of hyperref so that we have only one definition.
 % 
 %    \begin{macrocode}
@@ -345,7 +345,7 @@
 % At last we set the title at the end of document 
 % if that hasn't happened yet:
 %    \begin{macrocode}
-\AddToHook{enddocument}
+\AddToHook{shipout/lastpage}
  {
    \tl_if_empty:eT{\GetDocumentProperties{hyperref/pdftitle}}
       { 
@@ -356,6 +356,7 @@
         \group_end:
       }
  }
+\DeclareHookRule{shipout/lastpage}{latex-lab-testphase-title}{before}{pdfmanagement-testphase}
 %</package>  
 %    \end{macrocode}
 





More information about the latex3-commits mailing list.