[latex3-commits] [git/LaTeX3-latex3-latex3] master: xbox: Drop internal boxes after use (94d39b0e3)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Aug 24 11:18:59 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/94d39b0e3feb0a60101d293bcf053a9e5f46a825

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

commit 94d39b0e3feb0a60101d293bcf053a9e5f46a825
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Aug 24 10:17:27 2020 +0100

    xbox: Drop internal boxes after use


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

94d39b0e3feb0a60101d293bcf053a9e5f46a825
 l3trial/xbox/xbox.dtx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/l3trial/xbox/xbox.dtx b/l3trial/xbox/xbox.dtx
index 84ebe36b0..7ec6d181f 100644
--- a/l3trial/xbox/xbox.dtx
+++ b/l3trial/xbox/xbox.dtx
@@ -538,7 +538,7 @@
     \@@_via_internal_box:nn {#3}
       {
         \hbox_to_wd:nn {#1}
-          { \@@_hposition:nn {#2} { \hbox_unpack:N \l_@@_internal_box } }
+          { \@@_hposition:nn {#2} { \hbox_unpack_drop:N \l_@@_internal_box } }
       }
   }
 %    \end{macrocode}
@@ -576,10 +576,10 @@
     \@@_via_internal_box:nn {#4}
       {
         \hbox_set:Nn \l_@@_internal_box
-          { \box_move_up:nn {#1} { \box_use:N \l_@@_internal_box } }
+          { \box_move_up:nn {#1} { \box_use_drop:N \l_@@_internal_box } }
         \box_set_ht:Nn \l_@@_internal_box {#2}
         \box_set_dp:Nn \l_@@_internal_box {#3}
-        \box_use:N \l_@@_internal_box
+        \box_use_drop:N \l_@@_internal_box
       }
   }
 %    \end{macrocode}
@@ -664,7 +664,7 @@
       \hbox_set:Nn \l_@@_internal_box {#2}
       \hbox:n
         {
-          \box_use:N \l__box_internal_box
+          \box_use_drop:N \l__box_internal_box
           \kern_horizontal:n { -\box_wd:N \l_@@_internal_box - #1 }
           \box_move_down:nn { \box_dp:N \l_@@_internal_box }
             {





More information about the latex3-commits mailing list.