[latex3-commits] [git/LaTeX3-latex3-pdfresources] splitting: renamed pdf_pageobject_ref to pdf_object_pageref (8ee8ed1)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon Jul 6 11:38:16 CEST 2020


Repository : https://github.com/latex3/pdfresources
On branch  : splitting
Link       : https://github.com/latex3/pdfresources/commit/8ee8ed14b25fbc837b7810be982bc476fea66842

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

commit 8ee8ed14b25fbc837b7810be982bc476fea66842
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Jul 6 11:38:16 2020 +0200

    renamed pdf_pageobject_ref to pdf_object_pageref


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

8ee8ed14b25fbc837b7810be982bc476fea66842
 experiments/catalogue.tex | 16 ++++++++--------
 hgeneric-experimental.def |  6 +++---
 l3pdftools.dtx            |  8 ++++----
 pdfresources.dtx          |  2 +-
 4 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/experiments/catalogue.tex b/experiments/catalogue.tex
index 2887575..de134da 100644
--- a/experiments/catalogue.tex
+++ b/experiments/catalogue.tex
@@ -43,9 +43,9 @@ blblb
  % not good there should be only one ...
  %\pdfcatalog{/Lang (de-DE)}
  \exp_args:Nnx
- \__pdf_backend_catalog_gput:nn {Openaction}{[\pdf_pageobject_ref:n {2}~/FitH]}
+ \__pdf_backend_catalog_gput:nn {Openaction}{[\pdf_object_pageref:n {2}~/FitH]}
 
- %\pdfcatalog{/OpenAction~[\pdf_pageobject_ref:n {2}~/FitH]}
+ %\pdfcatalog{/OpenAction~[\pdf_object_pageref:n {2}~/FitH]}
 }
 xxx
 %\special{pdf: docview << /PageMode /UseThumbs >> }
@@ -62,9 +62,9 @@ xxx
 %\special{pdf:put @catalog << /PageLayout /TwoColumnRight >> }
 %\special{pdf:put @catalog << /PageMode /UseThumbs >> }
 %\special{pdf:docview <</OpenAction[@page2 /FitH]>>}
-%\special{pdf:put @catalog <</OpenAction[\pdf_pageobject_ref:n {2}~/FitH]>>}
+%\special{pdf:put @catalog <</OpenAction[\pdf_object_pageref:n {2}~/FitH]>>}
 \exp_args:Nnx
-\__pdf_backend_catalog_gput:nn {OpenAction}{[\pdf_pageobject_ref:n {2}~/FitH]}
+\__pdf_backend_catalog_gput:nn {OpenAction}{[\pdf_object_pageref:n {2}~/FitH]}
 }
 
 \bool_if:nT {\sys_if_engine_pdftex_p: && !\sys_if_output_pdf_p: }
@@ -76,21 +76,21 @@ xxx
   %\special{ps:~SDict~begin~mark~{Catalog}~<</PageMode  /UseThumbs>>~/PUT~pdfmark~end}
   %\special{ps:~SDict~begin~mark~{Catalog}~<</Lang~(en-UK)>>~/PUT~pdfmark~end}
   %\special{ps:~SDict~begin~mark~{Catalog}~<</Lang~(de-DE)>>~/PUT~pdfmark~end}
-  %\special{ps:~SDict~begin~mark~{Catalog}~<</OpenAction~[\pdf_pageobject_ref:n {2}~/FitH]>>~/PUT~pdfmark~end}
+  %\special{ps:~SDict~begin~mark~{Catalog}~<</OpenAction~[\pdf_object_pageref:n {2}~/FitH]>>~/PUT~pdfmark~end}
   \exp_args:Nnx
-\__pdf_backend_catalog_gput:nn {OpenAction}{[\pdf_pageobject_ref:n {2}~/FitH]}
+\__pdf_backend_catalog_gput:nn {OpenAction}{[\pdf_object_pageref:n {2}~/FitH]}
 %\pbs_special:n{~mark~{Catalog}~<<#1>>~/PUT~pdfmark}
 }
 
 \bool_if:NT {\sys_if_engine_luatex_p:}
 {
-%\pdfextension catalog {/OpenAction~[\pdf_pageobject_ref:n {2}~/FitH]} %openaction~goto~page 2 {/FitH}
+%\pdfextension catalog {/OpenAction~[\pdf_object_pageref:n {2}~/FitH]} %openaction~goto~page 2 {/FitH}
 \__pdf_backend_catalog_gput:nn {Lang}{(en-UK)}
  %\pdfcatalog{/Lang~(en-UK)}
  % not good there should be only one ...
  %\pdfcatalog{/Lang (de-DE)}
  \exp_args:Nnx
- \__pdf_backend_catalog_gput:nn {Openaction}{[\pdf_pageobject_ref:n {2}~/FitH]}
+ \__pdf_backend_catalog_gput:nn {Openaction}{[\pdf_object_pageref:n {2}~/FitH]}
 
 }
 \newpage blb
diff --git a/hgeneric-experimental.def b/hgeneric-experimental.def
index 15dd450..7db2719 100644
--- a/hgeneric-experimental.def
+++ b/hgeneric-experimental.def
@@ -1266,7 +1266,7 @@
          {
            \pdfcoredict_gput:nnx {Catalog} { OpenAction }
              {
-               [\pdf_pageobject_ref:n {\g__hyp_pdfstartpage_tl}~/\g__hyp_pdfstartview_tl]
+               [\pdf_object_pageref:n {\g__hyp_pdfstartpage_tl}~/\g__hyp_pdfstartview_tl]
              }
          }
      }
@@ -1282,7 +1282,7 @@
          {
            \pdfcoredict_gput:nnx {Catalog} { OpenAction }
              {
-               [\pdf_pageobject_ref:n {\g__hyp_pdfstartpage_tl}~/\g__hyp_pdfstartview_tl]
+               [\pdf_object_pageref:n {\g__hyp_pdfstartpage_tl}~/\g__hyp_pdfstartview_tl]
              }
          }
      }
@@ -1912,7 +1912,7 @@
       {
         \zref at ifrefcontainsprop{HyAnn@\the\HyAnn at Count}{pdf at abspage}
           {
-            /P~\pdf_pageobject_ref:n
+            /P~\pdf_object_pageref:n
                  {
                    \zref at extractdefault{HyAnn@\the\HyAnn at Count}{pdf at abspage}{1} %
                  }
diff --git a/l3pdftools.dtx b/l3pdftools.dtx
index 76cc1e4..9d9b536 100644
--- a/l3pdftools.dtx
+++ b/l3pdftools.dtx
@@ -194,9 +194,9 @@
 % engines are unclear.
 % \end{NOTE}
 % \begin{function}[EXP, added = 2019-08-18]
-%   {\pdf_pageobject_ref:n}
+%   {\pdf_object_pageref:n}
 %   \begin{syntax}
-%     \cs{pdf_pageobject_ref:n} \Arg{number}
+%     \cs{pdf_object_pageref:n} \Arg{number}
 %   \end{syntax}
 %   This returns the object reference of a page object. The \Arg{number} is
 %   the absolute page number. The count starts with one.
@@ -407,10 +407,10 @@
 %    \end{macrocode}
 %
 % \subsection{Reference to the page object}
-% \begin{macro}{ \pdf_pageobject_ref:n }
+% \begin{macro}{ \pdf_object_pageref:n }
 %    \begin{macrocode}
 %<*package>
-\cs_new:Npn \pdf_pageobject_ref:n #1 { \@@_backend_pageobject_ref:n { #1 }}
+\cs_new:Npn \pdf_object_pageref:n #1 { \@@_backend_pageobject_ref:n { #1 }}
 %</package>
 %    \end{macrocode}
 % \end{macro}
diff --git a/pdfresources.dtx b/pdfresources.dtx
index 9384984..14fcc65 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -1235,7 +1235,7 @@
 %<*package>
 %\cs_new_protected:Npn \pdf_docview:nn #1 #2
 %  {
-%    \pdfcoredict_gput:nnx {Catalog }{ OpenAction }{[\pdf_pageobject_ref:n {#1}~/#2]}
+%    \pdfcoredict_gput:nnx {Catalog }{ OpenAction }{[\pdf_object_pageref:n {#1}~/#2]}
 %  }
 %</package>
 %    \end{macrocode}





More information about the latex3-commits mailing list.