[latex3-commits] [git/LaTeX3-latex3-pdfresources] test-new-hooks: removed backend defitiion, is now in l3backend (3c43a6b)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed May 20 19:13:56 CEST 2020


Repository : https://github.com/latex3/pdfresources
On branch  : test-new-hooks
Link       : https://github.com/latex3/pdfresources/commit/3c43a6bdd4c34deb58ec7780e0174dc164a6d1ac

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

commit 3c43a6bdd4c34deb58ec7780e0174dc164a6d1ac
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed May 20 19:13:56 2020 +0200

    removed backend defitiion, is now in l3backend


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

3c43a6bdd4c34deb58ec7780e0174dc164a6d1ac
 pdfresources.dtx | 46 +---------------------------------------------
 1 file changed, 1 insertion(+), 45 deletions(-)

diff --git a/pdfresources.dtx b/pdfresources.dtx
index bfaeec6..0adb7f9 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -368,53 +368,9 @@
 %   This returns the object reference of a page object. The \Arg{number} is
 %   the absolute page number. The count starts with one.
 % \end{function}
-% \begin{macro}{ \@@_backend_pageobject_ref:n }
+% \begin{macro}{ \pdf_pageobject_ref:n }
 %    \begin{macrocode}
-% command is in git.
-\cs_if_free:NT \@@_backend_pageobject_ref:n
-  {
-  %pdftex
-  \bool_if:nT {\sys_if_engine_pdftex_p: && \sys_if_output_pdf_p:}
-    {
-      \cs_new:Npn \@@_backend_pageobject_ref:n #1
-        {
-          \tex_pdfpageref:D #1 ~ \c_space_tl 0 ~ R
-        }
-    }
-  %luatex
-  \sys_if_engine_luatex:T
-    {
-      \cs_new:Npn \@@_backend_pageobject_ref:n #1
-        {
-          \tex_pdffeedback:D~pageref #1 ~ \c_space_tl 0 ~ R
-        }
-    }
-  %dvips
-  \bool_if:nT {\sys_if_engine_pdftex_p: && !\sys_if_output_pdf_p: }
-    {
-      \cs_new:Npn \@@_backend_pageobject_ref:n #1
-        {
-          {Page#1}
-        }
-    }
-
-  %xetex
-  \sys_if_engine_xetex:T
-    {
-      \cs_new:Npn \@@_backend_pageobject_ref:n #1
-        {
-          @page#1
-        }
-    }
-  }
 \cs_new:Npn \pdf_pageobject_ref:n #1 { \@@_backend_pageobject_ref:n { #1 }}
-
-%% no idea here, so ...
-%\cs_new_protected:Npn \pdf_thispageobject_ref:N #1
-% {
-%
-% }
-%
 %    \end{macrocode}
 % \end{macro}
 % \section{Module pdfdict}





More information about the latex3-commits mailing list.