[latex3-commits] [git/LaTeX3-latex3-pdfresources] reworking-annot: rename temp box (fa00a14)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun Jan 17 23:51:35 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : reworking-annot
Link       : https://github.com/latex3/pdfresources/commit/fa00a14e59352bd19904b94ac640c9a979550d11

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

commit fa00a14e59352bd19904b94ac640c9a979550d11
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Jan 17 23:51:35 2021 +0100

    rename temp box


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

fa00a14e59352bd19904b94ac640c9a979550d11
 l3backend-pdf-extra.dtx | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/l3backend-pdf-extra.dtx b/l3backend-pdf-extra.dtx
index e7dd4be..2c59bbc 100644
--- a/l3backend-pdf-extra.dtx
+++ b/l3backend-pdf-extra.dtx
@@ -89,13 +89,13 @@
     \__kernel_backend_literal:x { dvipdfmx:config~C~ 0x10 }
 %</dvipdfmx|xdvipdfmx>
 %    \end{macrocode}
-% \begin{variable}{\g_@@_tmpa_prop, \l_@@_tmpa_tl, \l_@@_tmpa_box }
+% \begin{variable}{\g_@@_tmpa_prop, \l_@@_tmpa_tl, \l_@@_backend_tmpa_box }
 % Some scratch variables
 %    \begin{macrocode}
 %<*drivers>
 \prop_new:N \g_@@_tmpa_prop
 \tl_new:N   \l_@@_tmpa_tl
-\box_new:N  \l_@@_tmpa_box
+\box_new:N  \l_@@_backend_tmpa_box
 %</drivers>
 %    \end{macrocode}
 % \end{variable}
@@ -1137,7 +1137,7 @@
 % #3 resources
 % #4 content, not necessarily a box!
   {
-    \hbox_set:Nn \l_@@_tmpa_box
+    \hbox_set:Nn \l_@@_backend_tmpa_box
       {
         \bool_set_true:N \l_@@_backend_xform_bool
         \prop_gclear:c {\pdfdict_name:n { g_@@_Core/Xform/Resources/Properties }}
@@ -1146,13 +1146,13 @@
     %store the dimensions
     \tl_const:cx
       { c_@@_backend_xform_wd_ \tl_to_str:n {#1} _tl }
-      { \tex_the:D \box_wd:N \l_@@_tmpa_box }
+      { \tex_the:D \box_wd:N \l_@@_backend_tmpa_box }
     \tl_const:cx
       { c_@@_backend_xform_ht_ \tl_to_str:n {#1} _tl }
-      { \tex_the:D \box_ht:N \l_@@_tmpa_box }
+      { \tex_the:D \box_ht:N \l_@@_backend_tmpa_box }
     \tl_const:cx
       { c_@@_backend_xform_dp_ \tl_to_str:n {#1} _tl }
-      { \tex_the:D \box_dp:N \l_@@_tmpa_box }
+      { \tex_the:D \box_dp:N \l_@@_backend_tmpa_box }
     %% do we need to test if #2 and #3 are empty??
     \tex_immediate:D \tex_pdfxform:D
       ~  attr      ~ { #2 }
@@ -1192,7 +1192,7 @@
             /ColorSpace~ \pdf_object_ref:n { Page/Resources/ColorSpace }
           }
       }
-      \l_@@_tmpa_box
+      \l_@@_backend_tmpa_box
    \int_const:cn
      { c_@@_backend_xform_ \tl_to_str:n {#1} _int }
      { \tex_pdflastxform:D }
@@ -1219,7 +1219,7 @@
 % #3 resources
 % #4 content, not necessarily a box!
   {
-    \hbox_set:Nn \l_@@_tmpa_box
+    \hbox_set:Nn \l_@@_backend_tmpa_box
       {
         \bool_set_true:N \l_@@_backend_xform_bool
         \prop_gclear:c { \pdfdict_name:n { g_@@_Core/Xform/Resources/Properties } }
@@ -1227,13 +1227,13 @@
       }
     \tl_const:cx
       { c_@@_backend_xform_wd_ \tl_to_str:n {#1} _tl }
-      { \tex_the:D \box_wd:N \l_@@_tmpa_box }
+      { \tex_the:D \box_wd:N \l_@@_backend_tmpa_box }
     \tl_const:cx
       { c_@@_backend_xform_ht_ \tl_to_str:n {#1} _tl }
-      { \tex_the:D \box_ht:N \l_@@_tmpa_box }
+      { \tex_the:D \box_ht:N \l_@@_backend_tmpa_box }
     \tl_const:cx
       { c_@@_backend_xform_dp_ \tl_to_str:n {#1} _tl }
-      { \tex_the:D \box_dp:N \l_@@_tmpa_box }
+      { \tex_the:D \box_dp:N \l_@@_backend_tmpa_box }
     %% do we need to test if #2 and #3 are empty??
     \tex_immediate:D \tex_pdfxform:D
       ~  attr      ~ { #2 }
@@ -1272,7 +1272,7 @@
             /ColorSpace~ \pdf_object_ref:n { Page/Resources/ColorSpace }
           }
       }
-      \l_@@_tmpa_box
+      \l_@@_backend_tmpa_box
       \int_const:cn
         { c_@@_backend_xform_ \tl_to_str:n {#1} _int }
         { \tex_pdflastxform:D }
@@ -1384,17 +1384,17 @@
 
     \cs_new_protected:Npn \@@_backend_xform_use:n #1
      {
-       \hbox_set:Nn \l_@@_tmpa_box
+       \hbox_set:Nn \l_@@_backend_tmpa_box
          {
            \@@_backend:x
              {
                uxobj~ \@@_backend_xform_ref:n { #1 }
              }
          }
-       \box_set_wd:Nn  \l_@@_tmpa_box { \pdf_xform_wd:n { #1 } }
-       \box_set_ht:Nn  \l_@@_tmpa_box { \pdf_xform_ht:n { #1 } }
-       \box_set_dp:Nn  \l_@@_tmpa_box { \pdf_xform_dp:n { #1 } }
-       \box_use_drop:N \l_@@_tmpa_box
+       \box_set_wd:Nn  \l_@@_backend_tmpa_box { \pdf_xform_wd:n { #1 } }
+       \box_set_ht:Nn  \l_@@_backend_tmpa_box { \pdf_xform_ht:n { #1 } }
+       \box_set_dp:Nn  \l_@@_backend_tmpa_box { \pdf_xform_dp:n { #1 } }
+       \box_use_drop:N \l_@@_backend_tmpa_box
      }
 %</dvipdfmx|xdvipdfmx>
 %<*dvisvgm>





More information about the latex3-commits mailing list.