[latex3-commits] [git/LaTeX3-latex3-pdfresources] splitting: correct protected (b62b979)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Jul 15 15:24:16 CEST 2020


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

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

commit b62b979a8d94f78b864367aae8b8a6fc1f2231e0
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Jul 15 15:24:16 2020 +0200

    correct protected


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

b62b979a8d94f78b864367aae8b8a6fc1f2231e0
 l3backend-pdf-extra.dtx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/l3backend-pdf-extra.dtx b/l3backend-pdf-extra.dtx
index 3951aea..3367489 100644
--- a/l3backend-pdf-extra.dtx
+++ b/l3backend-pdf-extra.dtx
@@ -1206,7 +1206,7 @@
 %nearly identical but not completely ...
 \sys_if_engine_luatex:T
   {
-    \cs_new:Npn \@@_backend_xform_new:nnnn #1 #2 #3 #4
+    \cs_new_protected:Npn \@@_backend_xform_new:nnnn #1 #2 #3 #4
     % #1 name
     % #2 attributes
     % #3 resources
@@ -1271,7 +1271,7 @@
             { \tex_pdflastxform:D }
       }
 
-    \cs_new:Npn \@@_backend_xform_use:n #1
+    \cs_new_protected:Npn \@@_backend_xform_use:n #1 %protected as with xelatex
       {
         \tex_pdfrefxform:D \int_use:c
           {
@@ -1294,7 +1294,7 @@
    % as the object reference and the size is often wanted on the current page.
    % so we need to allocate a box - but probably they won't be thousands xform
    % in a document so it shouldn't matter.
-    \cs_new:Npn \@@_backend_xform_new:nnnn #1 #2 #3 #4
+    \cs_new_protected:Npn \@@_backend_xform_new:nnnn #1 #2 #3 #4
     % #1 name
     % #2 attributes
     % #3 resources
@@ -1375,7 +1375,7 @@
         @pdf.xform \int_use:c { c_@@_backend_xform_ \tl_to_str:n {#1} _int }
       }
 
-    \cs_new:Npn \@@_backend_xform_use:n #1
+    \cs_new_protected:Npn \@@_backend_xform_use:n #1
      {
        \hbox_set:Nn \l_@@_tmpa_box
          {
@@ -1392,8 +1392,8 @@
 %</dvipdfmx|xdvipdfmx>
 %<*dvisvgm>
 % unclear what it should do!!
-\cs_new:Npn \@@_backend_xform_new:nnnn #1 #2 #3 #4 {}
-\cs_new:Npn \@@_backend_xform_use:n #1 {}
+\cs_new_protected:Npn \@@_backend_xform_new:nnnn #1 #2 #3 #4 {}
+\cs_new_protected:Npn \@@_backend_xform_use:n #1 {}
 \cs_new:Npn \@@_backend_xform_ref:n {}
 %</dvisvgm>
 %<*drivers>





More information about the latex3-commits mailing list.