[latex3-commits] [git/LaTeX3-latex3-pdfresources] resources-end-run: Move PageResources_obj_gpush to end_run (a1a5268)

Marcel Fabian Krüger tex at 2krueger.de
Thu Jul 15 14:27:07 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : resources-end-run
Link       : https://github.com/latex3/pdfresources/commit/a1a5268e6aa492baef79fb9d4c20d7bb43f244c0

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

commit a1a5268e6aa492baef79fb9d4c20d7bb43f244c0
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Thu Jul 15 03:20:47 2021 +0200

    Move PageResources_obj_gpush to end_run


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

a1a5268e6aa492baef79fb9d4c20d7bb43f244c0
 l3backend-testphase.dtx | 8 --------
 l3pdfmanagement.dtx     | 9 +--------
 2 files changed, 1 insertion(+), 16 deletions(-)

diff --git a/l3backend-testphase.dtx b/l3backend-testphase.dtx
index b877ce8..c864281 100644
--- a/l3backend-testphase.dtx
+++ b/l3backend-testphase.dtx
@@ -201,20 +201,12 @@
       {
         \g__kernel_pdfmanagement_thispage_shipout_code_tl
       }
-    \tl_gput_left:Nn\@kernel at after@shipout at lastpage
-      {
-        \g__kernel_pdfmanagement_lastpage_shipout_code_tl
-      }
   }
   {
     \hook_gput_code:nnn{shipout/background}{pdf}
       {
         \g__kernel_pdfmanagement_thispage_shipout_code_tl
       }
-    \hook_gput_code:nnn {shipout/lastpage} {pdf}
-      {
-        \g__kernel_pdfmanagement_lastpage_shipout_code_tl
-      }
   }
 
 %</drivers>
diff --git a/l3pdfmanagement.dtx b/l3pdfmanagement.dtx
index 15156e9..269fdc1 100644
--- a/l3pdfmanagement.dtx
+++ b/l3pdfmanagement.dtx
@@ -672,18 +672,11 @@
        }
   }
 
-\tl_gset:Nn \g__kernel_pdfmanagement_lastpage_shipout_code_tl
-  {
-    \bool_if:NT \g_@@_active_bool
-       {
-         \__pdf_backend_PageResources_obj_gpush:          %ExtGState etc
-       }
-  }
-
 \tl_gset:Nn \g__kernel_pdfmanagement_end_run_code_tl
   {
     \bool_if:NT \g_@@_active_bool
        {
+         \__pdf_backend_PageResources_obj_gpush:          %ExtGState etc
          \@@_Pages_gpush:            %pagesattr
          \@@_Info_gpush:             %pdfinfo
          \@@_Catalog_gpush:





More information about the latex3-commits mailing list.