[latex3-commits] [l3svn] 04/04: Protection from expansion

noreply at latex-project.org noreply at latex-project.org
Sun Sep 10 18:29:48 CEST 2017


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit db0952c7ebbedb26414a85c720f6c3576153ae5e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Sep 10 16:42:03 2017 +0100

    Protection from expansion
---
 l3trial/l3image/l3image.dtx |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/l3trial/l3image/l3image.dtx b/l3trial/l3image/l3image.dtx
index 448baca..c70dc6b 100644
--- a/l3trial/l3image/l3image.dtx
+++ b/l3trial/l3image/l3image.dtx
@@ -309,13 +309,16 @@
               ##1 ~ \c_colon_str \exp_not:N \q_stop
           }
       }
-    \ior_close:N \exp_not:N \l_@@_tmp_ior
-    \dim_compare:nNnF \l__image_llx_dim = { 0pt }
-      { \dim_const:cn { c_@@_ #3#4 _llx_dim } { \l__image_llx_dim } }
-    \dim_if_zero:nNnF \l__image_lly_dim = { 0pt }
-      { \dim_const:cn { c_@@_ #3#4 _lly_dim } { \l__image_lly_dim } }
-    \dim_const:cn { c_@@_ #3#4 _urx_dim } { \l__image_urx_dim }
-    \dim_const:cn { c_@@_ #3#4 _ury_dim } { \l__image_ury_dim }
+    \exp_not:n
+      {
+        \ior_close:N \exp_not:N \l_@@_tmp_ior
+        \dim_compare:nNnF \l__image_llx_dim = { 0pt }
+          { \dim_const:cn { c_@@_ #3#4 _llx_dim } { \l__image_llx_dim } }
+        \dim_if_zero:nNnF \l__image_lly_dim = { 0pt }
+          { \dim_const:cn { c_@@_ #3#4 _lly_dim } { \l__image_lly_dim } }
+        \dim_const:cn { c_@@_ #3#4 _urx_dim } { \l__image_urx_dim }
+        \dim_const:cn { c_@@_ #3#4 _ury_dim } { \l__image_ury_dim }
+      }
   }
 \use:x
   {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list