[latex3-commits] [git/LaTeX3-latex3-latex3] master: xbox: Create the correct internal box (550d971ee)

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


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/550d971ee4f22749d7836ef206f0533e14bae1d7

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

commit 550d971ee4f22749d7836ef206f0533e14bae1d7
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Aug 24 10:17:33 2020 +0100

    xbox: Create the correct internal box


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

550d971ee4f22749d7836ef206f0533e14bae1d7
 l3trial/xbox/testfiles/xbox000.tlg        |  1 +
 l3trial/xbox/testfiles/xbox001.luatex.tlg | 10 +++++-----
 l3trial/xbox/testfiles/xbox001.ptex.tlg   | 10 +++++-----
 l3trial/xbox/testfiles/xbox001.tlg        | 10 +++++-----
 l3trial/xbox/testfiles/xbox001.uptex.tlg  | 10 +++++-----
 l3trial/xbox/testfiles/xbox001.xetex.tlg  | 10 +++++-----
 l3trial/xbox/xbox.dtx                     |  7 +++++++
 7 files changed, 33 insertions(+), 25 deletions(-)

diff --git a/l3trial/xbox/testfiles/xbox000.tlg b/l3trial/xbox/testfiles/xbox000.tlg
index 8430179bd..15e99e44c 100644
--- a/l3trial/xbox/testfiles/xbox000.tlg
+++ b/l3trial/xbox/testfiles/xbox000.tlg
@@ -8,4 +8,5 @@ Package: xbox ....-..-.. L3 Experimental document level boxes
 \l__xbox_depth_dim=\dimen...
 \l__xbox_width_dim=\dimen...
 \l__xbox_totalheight_dim=\dimen...
+\l__hbox_internal_box=\box...
 )
diff --git a/l3trial/xbox/testfiles/xbox001.luatex.tlg b/l3trial/xbox/testfiles/xbox001.luatex.tlg
index 32ba47360..2fb2925e0 100644
--- a/l3trial/xbox/testfiles/xbox001.luatex.tlg
+++ b/l3trial/xbox/testfiles/xbox001.luatex.tlg
@@ -6,17 +6,17 @@ TEST 1: \newsavebox
 ============================================================
 Defining \myboxa on line ...
 \myboxa=\box...
-> \myboxa=\char"4D.
+> \myboxa=\char"4E.
 <argument> \newsavebox {\myboxa }\show \myboxa 
                                     \begingroup \newsavebox {\myboxb }\show \my
 l. ...  }
 Defining \myboxb on line ...
 \myboxb=\box...
-> \myboxb=\char"4E.
+> \myboxb=\char"4F.
 <argument> ...begingroup \newsavebox {\myboxb }\show \myboxb 
                                                   \endgroup \show \myboxb \n...
 l. ...  }
-> \myboxb=\char"4E.
+> \myboxb=\char"4F.
 <argument> ...\myboxb }\show \myboxb \endgroup \show \myboxb 
                                                   \newsavebox {\myboxa }\sho...
 l. ...  }
@@ -28,10 +28,10 @@ This is a coding error.
 LaTeX has been asked to create a new control sequence '\myboxa' but this name
 has already been used elsewhere.
 The current meaning is:
-  \char"4D
+  \char"4E
 Defining \myboxa on line ...
 \myboxa=\box...
-> \myboxa=\char"4F.
+> \myboxa=\char"50.
 <argument> ...ow \myboxb \newsavebox {\myboxa }\show \myboxa 
 l. ...  }
 ============================================================
diff --git a/l3trial/xbox/testfiles/xbox001.ptex.tlg b/l3trial/xbox/testfiles/xbox001.ptex.tlg
index f0b37f339..b3ad6faaa 100644
--- a/l3trial/xbox/testfiles/xbox001.ptex.tlg
+++ b/l3trial/xbox/testfiles/xbox001.ptex.tlg
@@ -6,17 +6,17 @@ TEST 1: \newsavebox
 ============================================================
 Defining \myboxa on line ...
 \myboxa=\box...
-> \myboxa=\char"4F.
+> \myboxa=\char"50.
 <argument> \newsavebox {\myboxa }\show \myboxa 
                                                \begingroup \newsavebox {\myb...
 l. ...  }
 Defining \myboxb on line ...
 \myboxb=\box...
-> \myboxb=\char"50.
+> \myboxb=\char"51.
 <argument> ...\newsavebox {\myboxb }\show \myboxb 
                                                   \endgroup \show \myboxb \n...
 l. ...  }
-> \myboxb=\char"50.
+> \myboxb=\char"51.
 <argument> ...how \myboxb \endgroup \show \myboxb 
                                                   \newsavebox {\myboxa }\sho...
 l. ...  }
@@ -28,10 +28,10 @@ This is a coding error.
 LaTeX has been asked to create a new control sequence '\myboxa' but this name
 has already been used elsewhere.
 The current meaning is:
-  \char"4F
+  \char"50
 Defining \myboxa on line ...
 \myboxa=\box...
-> \myboxa=\char"51.
+> \myboxa=\char"52.
 <argument> ...\newsavebox {\myboxa }\show \myboxa 
 l. ...  }
 ============================================================
diff --git a/l3trial/xbox/testfiles/xbox001.tlg b/l3trial/xbox/testfiles/xbox001.tlg
index 39c773b83..9a8e1d80e 100644
--- a/l3trial/xbox/testfiles/xbox001.tlg
+++ b/l3trial/xbox/testfiles/xbox001.tlg
@@ -6,17 +6,17 @@ TEST 1: \newsavebox
 ============================================================
 Defining \myboxa on line ...
 \myboxa=\box...
-> \myboxa=\char"4D.
+> \myboxa=\char"4E.
 <argument> \newsavebox {\myboxa }\show \myboxa 
                                                \begingroup \newsavebox {\myb...
 l. ...  }
 Defining \myboxb on line ...
 \myboxb=\box...
-> \myboxb=\char"4E.
+> \myboxb=\char"4F.
 <argument> ...\newsavebox {\myboxb }\show \myboxb 
                                                   \endgroup \show \myboxb \n...
 l. ...  }
-> \myboxb=\char"4E.
+> \myboxb=\char"4F.
 <argument> ...how \myboxb \endgroup \show \myboxb 
                                                   \newsavebox {\myboxa }\sho...
 l. ...  }
@@ -28,10 +28,10 @@ This is a coding error.
 LaTeX has been asked to create a new control sequence '\myboxa' but this name
 has already been used elsewhere.
 The current meaning is:
-  \char"4D
+  \char"4E
 Defining \myboxa on line ...
 \myboxa=\box...
-> \myboxa=\char"4F.
+> \myboxa=\char"50.
 <argument> ...\newsavebox {\myboxa }\show \myboxa 
 l. ...  }
 ============================================================
diff --git a/l3trial/xbox/testfiles/xbox001.uptex.tlg b/l3trial/xbox/testfiles/xbox001.uptex.tlg
index f0b37f339..b3ad6faaa 100644
--- a/l3trial/xbox/testfiles/xbox001.uptex.tlg
+++ b/l3trial/xbox/testfiles/xbox001.uptex.tlg
@@ -6,17 +6,17 @@ TEST 1: \newsavebox
 ============================================================
 Defining \myboxa on line ...
 \myboxa=\box...
-> \myboxa=\char"4F.
+> \myboxa=\char"50.
 <argument> \newsavebox {\myboxa }\show \myboxa 
                                                \begingroup \newsavebox {\myb...
 l. ...  }
 Defining \myboxb on line ...
 \myboxb=\box...
-> \myboxb=\char"50.
+> \myboxb=\char"51.
 <argument> ...\newsavebox {\myboxb }\show \myboxb 
                                                   \endgroup \show \myboxb \n...
 l. ...  }
-> \myboxb=\char"50.
+> \myboxb=\char"51.
 <argument> ...how \myboxb \endgroup \show \myboxb 
                                                   \newsavebox {\myboxa }\sho...
 l. ...  }
@@ -28,10 +28,10 @@ This is a coding error.
 LaTeX has been asked to create a new control sequence '\myboxa' but this name
 has already been used elsewhere.
 The current meaning is:
-  \char"4F
+  \char"50
 Defining \myboxa on line ...
 \myboxa=\box...
-> \myboxa=\char"51.
+> \myboxa=\char"52.
 <argument> ...\newsavebox {\myboxa }\show \myboxa 
 l. ...  }
 ============================================================
diff --git a/l3trial/xbox/testfiles/xbox001.xetex.tlg b/l3trial/xbox/testfiles/xbox001.xetex.tlg
index e6b81a10d..17fc55f96 100644
--- a/l3trial/xbox/testfiles/xbox001.xetex.tlg
+++ b/l3trial/xbox/testfiles/xbox001.xetex.tlg
@@ -6,17 +6,17 @@ TEST 1: \newsavebox
 ============================================================
 Defining \myboxa on line ...
 \myboxa=\box...
-> \myboxa=\char"4D.
+> \myboxa=\char"4E.
 <argument> \newsavebox {\myboxa }\show \myboxa 
                                                \begingroup \newsavebox {\myb...
 l. ...  }
 Defining \myboxb on line ...
 \myboxb=\box...
-> \myboxb=\char"4E.
+> \myboxb=\char"4F.
 <argument> ...\newsavebox {\myboxb }\show \myboxb 
                                                   \endgroup \show \myboxb \n...
 l. ...  }
-> \myboxb=\char"4E.
+> \myboxb=\char"4F.
 <argument> ...how \myboxb \endgroup \show \myboxb 
                                                   \newsavebox {\myboxa }\sho...
 l. ...  }
@@ -28,10 +28,10 @@ This is a coding error.
 LaTeX has been asked to create a new control sequence '\myboxa' but this name
 has already been used elsewhere.
 The current meaning is:
-  \char"4D
+  \char"4E
 Defining \myboxa on line ...
 \myboxa=\box...
-> \myboxa=\char"4F.
+> \myboxa=\char"50.
 <argument> ...\newsavebox {\myboxa }\show \myboxa 
 l. ...  }
 ============================================================
diff --git a/l3trial/xbox/xbox.dtx b/l3trial/xbox/xbox.dtx
index 7ec6d181f..0b0258973 100644
--- a/l3trial/xbox/xbox.dtx
+++ b/l3trial/xbox/xbox.dtx
@@ -593,6 +593,13 @@
 %<@@=hbox>
 %    \end{macrocode}
 %
+% \begin{variable}{\l_@@_internal_box}
+%   Internal box used to typeset material for measuring up.
+%    \begin{macrocode}
+\box_new:N \l_@@_internal_box
+%    \end{macrocode}
+% \end{variable}
+%
 % \begin{macro}{\hbox_frame:nnn}
 % \begin{macro}{\@@_frame:nnn, \@@_frame:ffn}
 %   Framing a box requires the depth is known, so there has to be an





More information about the latex3-commits mailing list.