[latex3-commits] [git/LaTeX3-latex3-pdfresources] backendtest: some renaming (248ce5b)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Jun 11 20:30:07 CEST 2019


Repository : https://github.com/latex3/pdfresources
On branch  : backendtest
Link       : https://github.com/latex3/pdfresources/commit/248ce5bed24e2d098e274bead73377c8e67f1d17

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

commit 248ce5bed24e2d098e274bead73377c8e67f1d17
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Jun 11 20:30:07 2019 +0200

    some renaming


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

248ce5bed24e2d098e274bead73377c8e67f1d17
 pdfresources.dtx |   27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/pdfresources.dtx b/pdfresources.dtx
index 6996b7c..551d4c2 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -301,6 +301,19 @@
 %
 %
 % \section{Management code}
+% \subsection{Pathes}
+%  /Pages           %w,  \pagesattr
+%  /PageN           %w,  \pageattr
+%  /PageN/Resources %nw? \pageresources
+%  /PageN/Resources/ExtGState
+%  /PageN/Resources/ColorSpace
+%  /PageN/Resources/Pattern
+%  /PageN/Resources/Shading
+%  /PageN/Resources/Properties
+%  /Info           %w, \pdfinfo
+%  /Catalog/OCProperties
+%  /Catalog/OutputIntents
+%
 % \subsection{page wise managment in shipouthook}
 % For now until expl3/kernel interface exists code is added with atbegshi:
 %    \begin{macrocode}
@@ -309,19 +322,25 @@
  {
   \AtBeginShipoutAddToBox
   {
-   \@@_shipout_hook_code:
+   \@@_shipout_code:
   }
  }
 \int_new:N \g_@@_abspage_int
-\cs_new_protected:Npn \@@_shipout_hook_code:
+\cs_new_protected:Npn \@@_shipout_code:
  {
   \int_gincr:N \g_@@_abspage_int
+  \@@_everypage_shipout_code:V \g_@@_abspage_int
   \int_compare:nNnT { \g_@@_abspage_int }={\zref at extractdefault{LastPage}{abspage}{0}}
   {
-   \@@_lastpage_hook_code:
+   \@@_lastpage_shipout_code:
   }
  }
-\cs_new_protected:Npn \@@_lastpage_hook_code:
+\cs_new_protected:Npn \@@_everypage_shipout_code:n
+ {
+
+ }
+\cs_generate_variant:Nn \@@_everypage_shipout_code:n {V}
+\cs_new_protected:Npn \@@_lastpage_shipout_code:
  {
    \@@_pagesattr_gpush:
  }





More information about the latex3-commits mailing list