[latex3-commits] [git/LaTeX3-latex3-latex3] main: Correct treatment of # in graphics caching code (0e9d02831)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Apr 6 13:57:24 CEST 2022


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

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

commit 0e9d028319c1f7761fb6d3a731e24e7c78fee5e1
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Apr 6 12:01:20 2022 +0100

    Correct treatment of # in graphics caching code


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

0e9d028319c1f7761fb6d3a731e24e7c78fee5e1
 l3experimental/l3graphics/l3graphics.dtx | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/l3experimental/l3graphics/l3graphics.dtx b/l3experimental/l3graphics/l3graphics.dtx
index 6591b697f..647b13d11 100644
--- a/l3experimental/l3graphics/l3graphics.dtx
+++ b/l3experimental/l3graphics/l3graphics.dtx
@@ -365,16 +365,13 @@
               ##1 ~ \c_colon_str \s_@@_stop
           }
       }
-    \exp_not:n
-      {
-        \ior_close:N \l_@@_internal_ior
-        \dim_compare:nNnF \l_@@_llx_dim = { 0pt }
-          { \dim_const:cn { c_@@_ #3#4 _llx_dim } { \l_@@_llx_dim } }
-        \dim_compare:nNnF \l_@@_lly_dim = { 0pt }
-          { \dim_const:cn { c_@@_ #3#4 _lly_dim } { \l_@@_lly_dim } }
-        \dim_const:cn { c_@@_ #3#4 _urx_dim } { \l_@@_urx_dim }
-        \dim_const:cn { c_@@_ #3#4 _ury_dim } { \l_@@_ury_dim }
-      }
+    \ior_close:N \exp_not:N \l_@@_internal_ior
+    \exp_not:N \dim_compare:nNnF \exp_not:N \l_@@_llx_dim = { 0pt }
+      { \dim_const:cn { c_@@_ #3#4 _llx_dim } { \exp_not:N \l_@@_llx_dim } }
+    \exp_not:N \dim_compare:nNnF \exp_not:N \l_@@_lly_dim = { 0pt }
+      { \dim_const:cn { c_@@_ #3#4 _lly_dim } { \exp_not:N \l_@@_lly_dim } }
+    \dim_const:cn { c_@@_ #3#4 _urx_dim } { \exp_not:N \l_@@_urx_dim }
+    \dim_const:cn { c_@@_ #3#4 _ury_dim } { \exp_not:N \l_@@_ury_dim }
   }
 \use:x
   {





More information about the latex3-commits mailing list.