[latex3-commits] [l3svn] branch master updated: Avoid \dim_use:N \box_...

noreply at latex-project.org noreply at latex-project.org
Tue Mar 22 13:00:52 CET 2016


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

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  23824b3   Avoid \dim_use:N \box_...
23824b3 is described below

commit 23824b322d959ccc9553ddb2f66c338d3206f8ea
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Mar 22 12:00:19 2016 +0000

    Avoid \dim_use:N \box_...
    
    This is probably wrong, so shopuld be done differently!
    Various other places may also want adjustment.
---
 l3kernel/l3candidates.dtx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index 16f49ee..c38d55d 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -2012,14 +2012,14 @@
 \cs_new_protected:Npn \@@_set_bounding:N #1
   {
     \prop_put:Nnx \l_@@_bounding_prop { tl }
-      { { 0 pt } { \dim_use:N \box_ht:N #1 } }
+      { { 0 pt } { \dim_eval:n { \box_ht:N #1 } } }
     \prop_put:Nnx \l_@@_bounding_prop { tr }
-      { { \dim_use:N \box_wd:N #1 } { \dim_use:N \box_ht:N #1 } }
-    \dim_set:Nn \l_@@_internal_dim { - \box_dp:N #1 }
+      { { \dim_eval:n { \box_wd:N #1 } } { \dim_eval:n { \box_ht:N #1 } } }
+    \dim_set:Nn \l_@@_internal_dim { -\box_dp:N #1 }
     \prop_put:Nnx \l_@@_bounding_prop { bl }
       { { 0 pt } { \dim_use:N \l_@@_internal_dim } }
     \prop_put:Nnx \l_@@_bounding_prop { br }
-      { { \dim_use:N \box_wd:N #1 } { \dim_use:N \l_@@_internal_dim } }
+      { { \dim_eval:n { \box_wd:N #1 } } { \dim_use:N \l_@@_internal_dim } }
   }
 %    \end{macrocode}
 % \end{macro}

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


More information about the latex3-commits mailing list