[latex3-commits] [git/LaTeX3-latex3-pdfresources] backendtest: moved xelatex (1e424d5)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon Aug 5 23:47:45 CEST 2019


Repository : https://github.com/latex3/pdfresources
On branch  : backendtest
Link       : https://github.com/latex3/pdfresources/commit/1e424d557161a83c819cad389d25e40617dabe37

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

commit 1e424d557161a83c819cad389d25e40617dabe37
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Aug 5 23:47:45 2019 +0200

    moved xelatex


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

1e424d557161a83c819cad389d25e40617dabe37
 experiments/xform-tests.tex | 13 ++++++++-----
 pdfresources.dtx            |  3 ++-
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/experiments/xform-tests.tex b/experiments/xform-tests.tex
index f3ac0c9..bcc56be 100644
--- a/experiments/xform-tests.tex
+++ b/experiments/xform-tests.tex
@@ -17,14 +17,17 @@
   %only for the test here
   \cs_new:Npn \xxx_pdfresources: {\tex_the:D \tex_pdfpageresources:D}
 }
+
+%dvips????
+\bool_if:nT {\sys_if_engine_pdftex_p: && !\sys_if_output_pdf_p: }
+{
+}
 \sys_if_engine_luatex:T
 {
    %only for the test here
   \cs_new:Npn \xxx_pdfresources: {\tex_the:D \tex_pdfvariable:D pageresources}
 }
 
-
-
 \sys_if_engine_xetex:T
 {
  \cs_new:Npn \xxx_pdfresources: {/ExtGState~@pgfextgs} 
@@ -35,15 +38,15 @@
 %correct g to c, is already in master ...
 \sys_if_engine_xetex:T
 {
- \cs_set:Npn \__pdf_backend_object_ref:n #1
-   { @pdf.obj \int_use:c { c__pdf_backend_object_ \tl_to_str:n {#1} _int } }
+ %\cs_set:Npn \__pdf_backend_object_ref:n #1
+ %  { @pdf.obj \int_use:c { c__pdf_backend_object_ \tl_to_str:n {#1} _int } }
 }
 
 %object for bdc test
 \pdf_object_new:nn   {objA}{dict}
 \pdf_object_write:nn {objA}{/Type/Artifact}
 
-{\color{green}A\pdf_xform_new:nnnn{FormA}{/ABC /CDE}{}{ZZZZZZZZZZZZZZ}B}\par
+{A\pdf_xform_new:nnnn{FormA}{/ABC /CDE}{}{ZZZZZZZZZZZZZZ}B}\par
 
 C\pdf_xform_use:n{FormA}D \par
 
diff --git a/pdfresources.dtx b/pdfresources.dtx
index 251fb78..326a645 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -992,7 +992,8 @@
 %     \cs{pdf_xform_use:n} \Arg{name}
 %   \end{syntax}
 %    This command uses (typesets) a previously created form XObject.
-%    If the surrounding color is different, it is injected in the XObject.
+%    If the surrounding color is different, it is injected in the XObject when the
+%    engine pdftex or luatex are used.
 %   \end{function}
 %   \begin{function}[EXP,added = 2019-08-05]
 %   {





More information about the latex3-commits mailing list