[latex3-commits] [git/LaTeX3-latex3-latex3] main: Tidy up some "graphics" duplication (d98abd66f)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Apr 6 20:00:14 CEST 2022


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/d98abd66f7ea4f99e132217bce68e96f8b603b6d

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

commit d98abd66f7ea4f99e132217bce68e96f8b603b6d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Apr 6 19:00:14 2022 +0100

    Tidy up some "graphics" duplication


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

d98abd66f7ea4f99e132217bce68e96f8b603b6d
 l3backend/l3backend-graphics.dtx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/l3backend/l3backend-graphics.dtx b/l3backend/l3backend-graphics.dtx
index 926259813..769ac513c 100644
--- a/l3backend/l3backend-graphics.dtx
+++ b/l3backend/l3backend-graphics.dtx
@@ -218,7 +218,7 @@
   {
     \exp_args:Ne \@@_backend_getbb_auxiii:n
       { \@@_backend_dequote:w #1 " #1 " \s_@@_stop }
-    \int_const:cn { c_@@_graphics_ #1 \l_@@_graphics_attr_tl _int }
+    \int_const:cn { c_@@_ #1 \l_@@_graphics_attr_tl _int }
       { \tex_the:D \tex_pdflastximage:D }
     \@@_bb_save:x { #1 \l_@@_graphics_attr_tl }
   }
@@ -267,7 +267,7 @@
 \cs_new_protected:Npn \@@_backend_include_jpg:n #1
   {
     \tex_pdfrefximage:D
-      \int_use:c { c_@@_graphics_ #1 \l_@@_graphics_attr_tl _int }
+      \int_use:c { c_@@_ #1 \l_@@_graphics_attr_tl _int }
   }
 \cs_new_eq:NN \@@_backend_include_jpeg:n \@@_backend_include_jpg:n
 \cs_new_eq:NN \@@_backend_include_pdf:n \@@_backend_include_jpg:n
@@ -459,10 +459,10 @@
   }
 \cs_new_protected:Npn \@@_backend_include_auxii:nnn #1#2#3
   {
-    \int_if_exist:cTF { c_@@_graphics_ #2#1 _int }
+    \int_if_exist:cTF { c_@@_ #2#1 _int }
       {
         \__kernel_backend_literal:x
-          { pdf:usexobj~@graphic \int_use:c { c_@@_graphics_ #2#1 _int } }
+          { pdf:usexobj~@graphic \int_use:c { c_@@_ #2#1 _int } }
       }
       { \@@_backend_include_auxiii:nnn {#2} {#1} {#3} }
   }
@@ -476,11 +476,11 @@
 \cs_new_protected:Npn \@@_backend_include_auxiii:nnn #1#2#3
   {
     \int_gincr:N \g_@@_track_int
-    \int_const:cn { c_@@_graphics_ #1#2 _int } { \g_@@_track_int }
+    \int_const:cn { c_@@_ #1#2 _int } { \g_@@_track_int }
     \__kernel_backend_literal:x
       {
         pdf:#3~
-        @graphic \int_use:c { c_@@_graphics_ #1#2 _int } ~
+        @graphic \int_use:c { c_@@_ #1#2 _int } ~
         \int_compare:nNnT \l_@@_page_int > 1
           { page ~ \int_use:N \l_@@_page_int \c_space_tl }
         \tl_if_empty:NF \l_@@_pagebox_tl





More information about the latex3-commits mailing list.