[latex3-commits] [git/LaTeX3-latex3-latex3] master: xbox: Better lrbox test (3de2bf2ea)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Aug 26 09:00:38 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/3de2bf2ea6adde29a34dc0a2754fe00a01ce408e

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

commit 3de2bf2ea6adde29a34dc0a2754fe00a01ce408e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Aug 26 08:00:34 2020 +0100

    xbox: Better lrbox test


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

3de2bf2ea6adde29a34dc0a2754fe00a01ce408e
 l3trial/xbox/testfiles/xbox001.luatex.tlg | 55 +++++++++++++------------------
 l3trial/xbox/testfiles/xbox001.lvt        |  6 +++-
 l3trial/xbox/testfiles/xbox001.ptex.tlg   | 55 ++++++++++++++-----------------
 l3trial/xbox/testfiles/xbox001.tlg        | 53 +++++++++++++----------------
 l3trial/xbox/testfiles/xbox001.uptex.tlg  | 55 ++++++++++++++-----------------
 l3trial/xbox/testfiles/xbox001.xetex.tlg  | 53 +++++++++++++----------------
 6 files changed, 119 insertions(+), 158 deletions(-)

diff --git a/l3trial/xbox/testfiles/xbox001.luatex.tlg b/l3trial/xbox/testfiles/xbox001.luatex.tlg
index fa1de92c9..74de6d7a4 100644
--- a/l3trial/xbox/testfiles/xbox001.luatex.tlg
+++ b/l3trial/xbox/testfiles/xbox001.luatex.tlg
@@ -566,48 +566,37 @@ l. ...  }
 TEST 7: lrbox
 ============================================================
 > \box...=
-\hbox(6.83331+2.22223)x167.2214, direction TLT
+\hbox(6.83331+0.0)x123.52777, direction TLT
 .\pdfcolorstack 0 push {0 g 0 G}
 .\OT1/cmr/m/n/10 S
 .\OT1/cmr/m/n/10 o
 .\OT1/cmr/m/n/10 m
 .\OT1/cmr/m/n/10 e
 .\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
-.\OT1/cmr/m/n/10 c
-.\OT1/cmr/m/n/10 o
-.\OT1/cmr/m/n/10 n
-.\discretionary (penalty 50)
-..< \OT1/cmr/m/n/10 -
-..= \kern-0.27779 (font)
-.\OT1/cmr/m/n/10 t
-.\OT1/cmr/m/n/10 e
-.\OT1/cmr/m/n/10 n
-.\kern-0.27779 (font)
-.\OT1/cmr/m/n/10 t
-.\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
 .\hbox(0.0+0.0)x0.0, direction TLT
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 n
-.\OT1/cmtt/m/n/10 c
-.\OT1/cmtt/m/n/10 l
-.\OT1/cmtt/m/n/10 u
-.\OT1/cmtt/m/n/10 d
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 n
-.\OT1/cmtt/m/n/10 g
-.\penalty 10000
-.\glue(\spaceskip) 5.24995
-.\OT1/cmtt/m/n/10 #
-.\penalty 10000
-.\glue(\spaceskip) 5.24995
-.\OT1/cmtt/m/n/10 v
+.\OT1/cmtt/m/n/10 t
 .\OT1/cmtt/m/n/10 e
-.\OT1/cmtt/m/n/10 r
-.\OT1/cmtt/m/n/10 b
-.\OT1/cmtt/m/n/10 a
+.\OT1/cmtt/m/n/10 x
 .\OT1/cmtt/m/n/10 t
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 m
+.\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+.\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+.\hbox(6.83331+0.0)x69.19458, direction TLT
+..\pdfcolorstack 0 push {0 g 0 G}
+..\OT1/cmr/m/n/10 S
+..\OT1/cmr/m/n/10 o
+..\OT1/cmr/m/n/10 m
+..\OT1/cmr/m/n/10 e
+..\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+..\OT1/cmr/m/n/10 m
+..\OT1/cmr/m/n/10 o
+..\OT1/cmr/m/n/10 r
+..\OT1/cmr/m/n/10 e
+..\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+..\OT1/cmr/m/n/10 t
+..\OT1/cmr/m/n/10 e
+..\OT1/cmr/m/n/10 x
+..\OT1/cmr/m/n/10 t
+..\pdfcolorstack 0 pop
 .\pdfcolorstack 0 pop
 ! OK.
 <argument> \myboxa 
diff --git a/l3trial/xbox/testfiles/xbox001.lvt b/l3trial/xbox/testfiles/xbox001.lvt
index 6d0316d34..0b42758a1 100644
--- a/l3trial/xbox/testfiles/xbox001.lvt
+++ b/l3trial/xbox/testfiles/xbox001.lvt
@@ -100,7 +100,11 @@
 
 % Has to be before the coming test!
 \begin{lrbox}{\myboxa}
-  Some content \verb|including # verbatim|
+  Some \verb"text"
+  \begin{lrbox}{\myboxb}
+    Some more text
+  \end{lrbox}
+  \usebox\myboxb
 \end{lrbox}
 \TEST{lrbox}
   {%
diff --git a/l3trial/xbox/testfiles/xbox001.ptex.tlg b/l3trial/xbox/testfiles/xbox001.ptex.tlg
index 647ba1377..16da71a88 100644
--- a/l3trial/xbox/testfiles/xbox001.ptex.tlg
+++ b/l3trial/xbox/testfiles/xbox001.ptex.tlg
@@ -606,7 +606,7 @@ l. ...  }
 TEST 7: lrbox
 ============================================================
 > \box...=
-\hbox(6.83331+2.22223)x167.2214
+\hbox(6.83331+0.0)x123.52777
 .\special{color push gray 0}
 .\special{ps:SDict begin /color.sc { } def end}
 .\special{ps:SDict begin /color.fc { } def end}
@@ -615,39 +615,32 @@ TEST 7: lrbox
 .\OT1/cmr/m/n/10 m
 .\OT1/cmr/m/n/10 e
 .\glue 3.33333 plus 1.66666 minus 1.11111
-.\OT1/cmr/m/n/10 c
-.\OT1/cmr/m/n/10 o
-.\OT1/cmr/m/n/10 n
-.\kern-0.27779
-.\OT1/cmr/m/n/10 t
-.\OT1/cmr/m/n/10 e
-.\OT1/cmr/m/n/10 n
-.\kern-0.27779
-.\OT1/cmr/m/n/10 t
-.\glue 3.33333 plus 1.66666 minus 1.11111
 .\hbox(0.0+0.0)x0.0
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 n
-.\OT1/cmtt/m/n/10 c
-.\OT1/cmtt/m/n/10 l
-.\OT1/cmtt/m/n/10 u
-.\OT1/cmtt/m/n/10 d
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 n
-.\OT1/cmtt/m/n/10 g
-.\penalty 10000
-.\glue 5.24995
-.\OT1/cmtt/m/n/10 #
-.\penalty 10000
-.\glue 5.24995
-.\OT1/cmtt/m/n/10 v
+.\OT1/cmtt/m/n/10 t
 .\OT1/cmtt/m/n/10 e
-.\OT1/cmtt/m/n/10 r
-.\OT1/cmtt/m/n/10 b
-.\OT1/cmtt/m/n/10 a
+.\OT1/cmtt/m/n/10 x
 .\OT1/cmtt/m/n/10 t
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 m
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\hbox(6.83331+0.0)x69.19458
+..\special{color push gray 0}
+..\special{ps:SDict begin /color.sc { } def end}
+..\special{ps:SDict begin /color.fc { } def end}
+..\OT1/cmr/m/n/10 S
+..\OT1/cmr/m/n/10 o
+..\OT1/cmr/m/n/10 m
+..\OT1/cmr/m/n/10 e
+..\glue 3.33333 plus 1.66666 minus 1.11111
+..\OT1/cmr/m/n/10 m
+..\OT1/cmr/m/n/10 o
+..\OT1/cmr/m/n/10 r
+..\OT1/cmr/m/n/10 e
+..\glue 3.33333 plus 1.66666 minus 1.11111
+..\OT1/cmr/m/n/10 t
+..\OT1/cmr/m/n/10 e
+..\OT1/cmr/m/n/10 x
+..\OT1/cmr/m/n/10 t
+..\special{color pop}
 .\special{color pop}
 ! OK.
 <argument> \myboxa 
diff --git a/l3trial/xbox/testfiles/xbox001.tlg b/l3trial/xbox/testfiles/xbox001.tlg
index 49e2cddf9..fb7cb703f 100644
--- a/l3trial/xbox/testfiles/xbox001.tlg
+++ b/l3trial/xbox/testfiles/xbox001.tlg
@@ -562,46 +562,37 @@ l. ...  }
 TEST 7: lrbox
 ============================================================
 > \box...=
-\hbox(6.83331+2.22223)x167.2214
+\hbox(6.83331+0.0)x123.52777
 .\pdfcolorstack 0 push {0 g 0 G}
 .\OT1/cmr/m/n/10 S
 .\OT1/cmr/m/n/10 o
 .\OT1/cmr/m/n/10 m
 .\OT1/cmr/m/n/10 e
 .\glue 3.33333 plus 1.66666 minus 1.11111
-.\OT1/cmr/m/n/10 c
-.\OT1/cmr/m/n/10 o
-.\OT1/cmr/m/n/10 n
-.\kern-0.27779
-.\OT1/cmr/m/n/10 t
-.\OT1/cmr/m/n/10 e
-.\OT1/cmr/m/n/10 n
-.\kern-0.27779
-.\OT1/cmr/m/n/10 t
-.\glue 3.33333 plus 1.66666 minus 1.11111
 .\hbox(0.0+0.0)x0.0
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 n
-.\OT1/cmtt/m/n/10 c
-.\OT1/cmtt/m/n/10 l
-.\OT1/cmtt/m/n/10 u
-.\OT1/cmtt/m/n/10 d
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 n
-.\OT1/cmtt/m/n/10 g
-.\penalty 10000
-.\glue 5.24995
-.\OT1/cmtt/m/n/10 #
-.\penalty 10000
-.\glue 5.24995
-.\OT1/cmtt/m/n/10 v
+.\OT1/cmtt/m/n/10 t
 .\OT1/cmtt/m/n/10 e
-.\OT1/cmtt/m/n/10 r
-.\OT1/cmtt/m/n/10 b
-.\OT1/cmtt/m/n/10 a
+.\OT1/cmtt/m/n/10 x
 .\OT1/cmtt/m/n/10 t
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 m
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\hbox(6.83331+0.0)x69.19458
+..\pdfcolorstack 0 push {0 g 0 G}
+..\OT1/cmr/m/n/10 S
+..\OT1/cmr/m/n/10 o
+..\OT1/cmr/m/n/10 m
+..\OT1/cmr/m/n/10 e
+..\glue 3.33333 plus 1.66666 minus 1.11111
+..\OT1/cmr/m/n/10 m
+..\OT1/cmr/m/n/10 o
+..\OT1/cmr/m/n/10 r
+..\OT1/cmr/m/n/10 e
+..\glue 3.33333 plus 1.66666 minus 1.11111
+..\OT1/cmr/m/n/10 t
+..\OT1/cmr/m/n/10 e
+..\OT1/cmr/m/n/10 x
+..\OT1/cmr/m/n/10 t
+..\pdfcolorstack 0 pop
 .\pdfcolorstack 0 pop
 ! OK.
 <argument> \myboxa 
diff --git a/l3trial/xbox/testfiles/xbox001.uptex.tlg b/l3trial/xbox/testfiles/xbox001.uptex.tlg
index 647ba1377..16da71a88 100644
--- a/l3trial/xbox/testfiles/xbox001.uptex.tlg
+++ b/l3trial/xbox/testfiles/xbox001.uptex.tlg
@@ -606,7 +606,7 @@ l. ...  }
 TEST 7: lrbox
 ============================================================
 > \box...=
-\hbox(6.83331+2.22223)x167.2214
+\hbox(6.83331+0.0)x123.52777
 .\special{color push gray 0}
 .\special{ps:SDict begin /color.sc { } def end}
 .\special{ps:SDict begin /color.fc { } def end}
@@ -615,39 +615,32 @@ TEST 7: lrbox
 .\OT1/cmr/m/n/10 m
 .\OT1/cmr/m/n/10 e
 .\glue 3.33333 plus 1.66666 minus 1.11111
-.\OT1/cmr/m/n/10 c
-.\OT1/cmr/m/n/10 o
-.\OT1/cmr/m/n/10 n
-.\kern-0.27779
-.\OT1/cmr/m/n/10 t
-.\OT1/cmr/m/n/10 e
-.\OT1/cmr/m/n/10 n
-.\kern-0.27779
-.\OT1/cmr/m/n/10 t
-.\glue 3.33333 plus 1.66666 minus 1.11111
 .\hbox(0.0+0.0)x0.0
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 n
-.\OT1/cmtt/m/n/10 c
-.\OT1/cmtt/m/n/10 l
-.\OT1/cmtt/m/n/10 u
-.\OT1/cmtt/m/n/10 d
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 n
-.\OT1/cmtt/m/n/10 g
-.\penalty 10000
-.\glue 5.24995
-.\OT1/cmtt/m/n/10 #
-.\penalty 10000
-.\glue 5.24995
-.\OT1/cmtt/m/n/10 v
+.\OT1/cmtt/m/n/10 t
 .\OT1/cmtt/m/n/10 e
-.\OT1/cmtt/m/n/10 r
-.\OT1/cmtt/m/n/10 b
-.\OT1/cmtt/m/n/10 a
+.\OT1/cmtt/m/n/10 x
 .\OT1/cmtt/m/n/10 t
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 m
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\hbox(6.83331+0.0)x69.19458
+..\special{color push gray 0}
+..\special{ps:SDict begin /color.sc { } def end}
+..\special{ps:SDict begin /color.fc { } def end}
+..\OT1/cmr/m/n/10 S
+..\OT1/cmr/m/n/10 o
+..\OT1/cmr/m/n/10 m
+..\OT1/cmr/m/n/10 e
+..\glue 3.33333 plus 1.66666 minus 1.11111
+..\OT1/cmr/m/n/10 m
+..\OT1/cmr/m/n/10 o
+..\OT1/cmr/m/n/10 r
+..\OT1/cmr/m/n/10 e
+..\glue 3.33333 plus 1.66666 minus 1.11111
+..\OT1/cmr/m/n/10 t
+..\OT1/cmr/m/n/10 e
+..\OT1/cmr/m/n/10 x
+..\OT1/cmr/m/n/10 t
+..\special{color pop}
 .\special{color pop}
 ! OK.
 <argument> \myboxa 
diff --git a/l3trial/xbox/testfiles/xbox001.xetex.tlg b/l3trial/xbox/testfiles/xbox001.xetex.tlg
index 89f5d718d..4c67f7a52 100644
--- a/l3trial/xbox/testfiles/xbox001.xetex.tlg
+++ b/l3trial/xbox/testfiles/xbox001.xetex.tlg
@@ -562,46 +562,37 @@ l. ...  }
 TEST 7: lrbox
 ============================================================
 > \box...=
-\hbox(6.83331+2.22223)x167.2214
+\hbox(6.83331+0.0)x123.52777
 .\special{color push gray 0}
 .\OT1/cmr/m/n/10 S
 .\OT1/cmr/m/n/10 o
 .\OT1/cmr/m/n/10 m
 .\OT1/cmr/m/n/10 e
 .\glue 3.33333 plus 1.66666 minus 1.11111
-.\OT1/cmr/m/n/10 c
-.\OT1/cmr/m/n/10 o
-.\OT1/cmr/m/n/10 n
-.\kern-0.27779
-.\OT1/cmr/m/n/10 t
-.\OT1/cmr/m/n/10 e
-.\OT1/cmr/m/n/10 n
-.\kern-0.27779
-.\OT1/cmr/m/n/10 t
-.\glue 3.33333 plus 1.66666 minus 1.11111
 .\hbox(0.0+0.0)x0.0
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 n
-.\OT1/cmtt/m/n/10 c
-.\OT1/cmtt/m/n/10 l
-.\OT1/cmtt/m/n/10 u
-.\OT1/cmtt/m/n/10 d
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 n
-.\OT1/cmtt/m/n/10 g
-.\penalty 10000
-.\glue 5.24995
-.\OT1/cmtt/m/n/10 #
-.\penalty 10000
-.\glue 5.24995
-.\OT1/cmtt/m/n/10 v
+.\OT1/cmtt/m/n/10 t
 .\OT1/cmtt/m/n/10 e
-.\OT1/cmtt/m/n/10 r
-.\OT1/cmtt/m/n/10 b
-.\OT1/cmtt/m/n/10 a
+.\OT1/cmtt/m/n/10 x
 .\OT1/cmtt/m/n/10 t
-.\OT1/cmtt/m/n/10 i
-.\OT1/cmtt/m/n/10 m
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\glue 3.33333 plus 1.66666 minus 1.11111
+.\hbox(6.83331+0.0)x69.19458
+..\special{color push gray 0}
+..\OT1/cmr/m/n/10 S
+..\OT1/cmr/m/n/10 o
+..\OT1/cmr/m/n/10 m
+..\OT1/cmr/m/n/10 e
+..\glue 3.33333 plus 1.66666 minus 1.11111
+..\OT1/cmr/m/n/10 m
+..\OT1/cmr/m/n/10 o
+..\OT1/cmr/m/n/10 r
+..\OT1/cmr/m/n/10 e
+..\glue 3.33333 plus 1.66666 minus 1.11111
+..\OT1/cmr/m/n/10 t
+..\OT1/cmr/m/n/10 e
+..\OT1/cmr/m/n/10 x
+..\OT1/cmr/m/n/10 t
+..\special{color pop}
 .\special{color pop}
 ! OK.
 <argument> \myboxa 





More information about the latex3-commits mailing list.