[latex3-commits] [git/LaTeX3-latex3-latex3] gh241-show-log: Implement \coffin_show:N(nn) and log functions (see #241) (acc111ba7)

Bruno Le Floch blflatex at gmail.com
Tue May 11 14:12:41 CEST 2021


Repository : https://github.com/latex3/latex3
On branch  : gh241-show-log
Link       : https://github.com/latex3/latex3/commit/acc111ba78456b8dd6dc79526f277c82e2589843

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

commit acc111ba78456b8dd6dc79526f277c82e2589843
Author: Bruno Le Floch <blflatex at gmail.com>
Date:   Tue May 11 13:13:40 2021 +0200

    Implement \coffin_show:N(nn) and log functions (see #241)


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

acc111ba78456b8dd6dc79526f277c82e2589843
 l3kernel/CHANGELOG.md                      |  1 +
 l3kernel/l3coffins.dtx                     | 59 ++++++++++++++++++++++++++++++
 l3kernel/l3msg.dtx                         |  4 ++
 l3kernel/testfiles/m3coffins001.luatex.tlg | 47 ++++++++++++------------
 l3kernel/testfiles/m3coffins001.lvt        |  5 +--
 l3kernel/testfiles/m3coffins001.ptex.tlg   | 50 ++++++++++++-------------
 l3kernel/testfiles/m3coffins001.tlg        | 45 ++++++++++++-----------
 l3kernel/testfiles/m3coffins001.uptex.tlg  | 50 ++++++++++++-------------
 l3kernel/testfiles/m3coffins001.xetex.tlg  | 45 ++++++++++++-----------
 9 files changed, 188 insertions(+), 118 deletions(-)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index dea8bfa93..f942bb9ac 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -9,6 +9,7 @@ this project uses date-based 'snapshot' version identifiers.
 
 ### Added
 - `\color_log:n`, `\tl_log_analysis:N`, `\tl_log_analysis:n` (issue #241)
+- `\coffin_show:Nnn` and related functions (issue #241)
 
 ## [2021-05-11]
 
diff --git a/l3kernel/l3coffins.dtx b/l3kernel/l3coffins.dtx
index e0cdd606b..49ee80f12 100644
--- a/l3kernel/l3coffins.dtx
+++ b/l3kernel/l3coffins.dtx
@@ -381,6 +381,31 @@
 %   which displays the result in the terminal.
 % \end{function}
 %
+% \begin{function}[added = 2021-05-11]
+%   {\coffin_show:N, \coffin_show:c, \coffin_log:N, \coffin_log:c}
+%   \begin{syntax}
+%     \cs{coffin_show:N} \meta{coffin}
+%     \cs{coffin_log:N} \meta{coffin}
+%   \end{syntax}
+%   Shows full details of poles and contents of the \meta{coffin} in the
+%   terminal or log file.  See \cs{coffin_show_structure:N} and
+%   \cs{box_show:N} to show separately the pole structure and the
+%   contents.
+% \end{function}
+%
+% \begin{function}[added = 2021-05-11]
+%   {\coffin_show:Nnn, \coffin_show:cnn, \coffin_log:Nnn, \coffin_log:cnn}
+%   \begin{syntax}
+%     \cs{coffin_show:Nnn} \meta{coffin} \Arg{intexpr_1} \Arg{intexpr_2}
+%     \cs{coffin_log:Nnn} \meta{coffin} \Arg{intexpr_1} \Arg{intexpr_2}
+%   \end{syntax}
+%   Shows poles and contents of the \meta{coffin} in the terminal or log
+%   file, showing the first \meta{intexpr_1} items in the coffin, and
+%   descending into \meta{intexpr_2} group levels.  See
+%   \cs{coffin_show_structure:N} and \cs{box_show:Nnn} to show
+%   separately the pole structure and the contents.
+% \end{function}
+%
 % \section{Constants and variables}
 %
 % \begin{variable}{\c_empty_coffin}
@@ -2481,6 +2506,40 @@
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}
+%   {
+%     \coffin_show:N, \coffin_show:c, \coffin_log:N, \coffin_log:c,
+%     \coffin_show:Nnn, \coffin_show:cnn, \coffin_log:Nnn, \coffin_log:cnn,
+%     \@@_show:NNNnn
+%   }
+%   Essentially a combination of \cs{coffin_show_structure:N} and
+%   \cs{box_show:Nnn}, but we need to avoid having two prompts, so we
+%   use \cs{__kernel_msg_term:nnxxxx} instead of
+%   \cs{__kernel_msg_show:nnxxxx} in the |show| case.
+%    \begin{macrocode}
+\cs_new_protected:Npn \coffin_show:N #1
+  { \coffin_show:Nnn #1 \c_max_int \c_max_int }
+\cs_generate_variant:Nn \coffin_show:N { c }
+\cs_new_protected:Npn \coffin_log:N #1
+  { \coffin_log:Nnn #1 \c_max_int \c_max_int }
+\cs_generate_variant:Nn \coffin_log:N { c }
+\cs_new_protected:Npn \coffin_show:Nnn
+  { \@@_show:NNNnn \__kernel_msg_term:nnxxxx \box_show:Nnn }
+\cs_generate_variant:Nn \coffin_show:Nnn { c }
+\cs_new_protected:Npn \coffin_log:Nnn
+  { \@@_show:NNNnn \__kernel_msg_log:nnxxxx \box_show:Nnn }
+\cs_generate_variant:Nn \coffin_log:Nnn { c }
+\cs_new_protected:Npn \@@_show:NNNnn #1#2#3#4#5
+  {
+    \@@_if_exist:NT #3
+      {
+        \@@_show_structure:NN #1 #3
+        #2 #3 {#4} {#5}
+      }
+  }
+%    \end{macrocode}
+% \end{macro}
+%
 % \subsection{Messages}
 %
 %    \begin{macrocode}
diff --git a/l3kernel/l3msg.dtx b/l3kernel/l3msg.dtx
index ed2169b94..a0d0ba47c 100644
--- a/l3kernel/l3msg.dtx
+++ b/l3kernel/l3msg.dtx
@@ -1761,6 +1761,7 @@
 % \begin{macro}
 %   {
 %     \__kernel_msg_log:nnnnnn, \__kernel_msg_log:nnxxxx,
+%     \__kernel_msg_term:nnnnnn, \__kernel_msg_term:nnxxxx,
 %     \__kernel_msg_show:nnnnnn, \__kernel_msg_show:nnxxxx
 %   }
 %   For showing messages.
@@ -1768,6 +1769,9 @@
 \cs_new_protected:Npn \__kernel_msg_log:nnnnnn #1
   { \msg_log:nnnnnn { LaTeX / #1 } }
 \cs_generate_variant:Nn \__kernel_msg_log:nnnnnn { nnxxxx }
+\cs_new_protected:Npn \__kernel_msg_term:nnnnnn #1
+  { \msg_term:nnnnnn { LaTeX / #1 } }
+\cs_generate_variant:Nn \__kernel_msg_term:nnnnnn { nnxxxx }
 \cs_new_protected:Npn \__kernel_msg_show:nnnnnn #1
   { \msg_show:nnnnnn { LaTeX / #1 } }
 \cs_generate_variant:Nn \__kernel_msg_show:nnnnnn { nnxxxx }
diff --git a/l3kernel/testfiles/m3coffins001.luatex.tlg b/l3kernel/testfiles/m3coffins001.luatex.tlg
index 77c94c99c..26a930944 100644
--- a/l3kernel/testfiles/m3coffins001.luatex.tlg
+++ b/l3kernel/testfiles/m3coffins001.luatex.tlg
@@ -191,6 +191,14 @@ Poles of coffin \l_tmpb_coffin:
 >  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...  }
+> \box...=
+\hbox(4.30554+1.94444)x5.00002, direction TLT
+.\pdfcolorstack 0 push {0 g 0 G}
+.\OT1/cmr/m/n/10 g
+.\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpb_coffin 
+l. ...  }
 Size of coffin \g_tmpb_coffin:
 > ht = 4.30554pt
 > dp = 1.94444pt
@@ -205,16 +213,6 @@ Poles of coffin \g_tmpb_coffin:
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
 >  T  =>  {0pt}{0pt}{1000pt}{0pt}.
-<recently read> }
-l. ...  }
-> \box...=
-\hbox(4.30554+1.94444)x5.00002, direction TLT
-.\pdfcolorstack 0 push {0 g 0 G}
-.\OT1/cmr/m/n/10 g
-.\pdfcolorstack 0 pop
-! OK.
-<argument> \l_tmpb_coffin 
-l. ...  }
 > \box...=
 \hbox(4.30554+1.94444)x5.00002, direction TLT
 .\pdfcolorstack 0 push {0 g 0 G}
@@ -544,6 +542,20 @@ l. ...}
 ! OK.
 <argument> \l_tmpa_coffin 
 l. ...}
+Size of coffin \l_tmpa_coffin:
+> ht = 13.74443pt
+> dp = 0.0pt
+> wd = 49.43895pt
+Poles of coffin \l_tmpa_coffin:
+>  l  =>  {0pt}{0pt}{0pt}{1000pt}
+>  hc  =>  {0pt}{0pt}{0pt}{1000pt}
+>  r  =>  {0pt}{0pt}{0pt}{1000pt}
+>  b  =>  {0pt}{0pt}{1000pt}{0pt}
+>  vc  =>  {0pt}{0pt}{1000pt}{0pt}
+>  t  =>  {0pt}{0pt}{1000pt}{0pt}
+>  B  =>  {0pt}{0pt}{1000pt}{0pt}
+>  H  =>  {0pt}{0pt}{1000pt}{0pt}
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 > \box...=
 \hbox(13.74443+0.0)x49.43895, direction TLT
 .\hbox(4.30554+0.0)x4.30554, direction TLT
@@ -573,18 +585,7 @@ l. ...}
 ...............\rule(*+*)x0.4
 ...............\vbox(12.94444+0.0)x44.33342, direction TLT
 ................\glue 3.0
-................\hbox(6.94444+0.0)x44.33342, direction TLT
-.................\kern3.0
-.................\OT1/cmr/m/n/10 c
-.................\OT1/cmr/m/n/10 o
-.................\OT1/cmr/m/n/10 ^^N (ligature ffi)
-.................\discretionary (penalty 50)
-..................< \OT1/cmr/m/n/10 -
-.................\OT1/cmr/m/n/10 n
-.................\OT1/cmr/m/n/10 o
-.................\OT1/cmr/m/n/10 n
-.................\OT1/cmr/m/n/10 e
-.................\kern3.0
+................\hbox(6.94444+0.0)x44.33342, direction TLT []
 ................\glue 3.0
 ...............\rule(*+*)x0.4
 ..............\rule(0.4+0.0)x*
@@ -693,7 +694,7 @@ l. ...}
 ....\OT1/cmss/m/n/5 b
 ....\OT1/cmss/m/n/5 )
 ....\pdfcolorstack 0 pop
-....\pdfcolorstack 0 pop
+....etc.
 ! OK.
 <argument> \l_tmpa_coffin 
 l. ...}
diff --git a/l3kernel/testfiles/m3coffins001.lvt b/l3kernel/testfiles/m3coffins001.lvt
index c051ac23d..a79c94560 100644
--- a/l3kernel/testfiles/m3coffins001.lvt
+++ b/l3kernel/testfiles/m3coffins001.lvt
@@ -66,9 +66,8 @@
       \hcoffin_gset:Nn  \g_tmpb_coffin { g }
     \TIMO
     \coffin_show_structure:N \l_tmpb_coffin
-    \coffin_show_structure:N \g_tmpb_coffin
     \box_show:N \l_tmpb_coffin
-    \box_show:N \g_tmpb_coffin
+    \coffin_show:c { g_tmpb_coffin }
     \group_begin:
       \coffin_set_eq:NN \l_tmpb_coffin \l_tmpa_coffin
       \coffin_gset_eq:NN \g_tmpb_coffin \g_tmpa_coffin
@@ -106,7 +105,7 @@
     \coffin_mark_handle:Nnnn \0 {\1-l} {\1-b} {green}
     \hbox_set:Nn \l_tmpa_coffin
     { \rule{1ex}{1ex}\coffin_typeset:Nnnnn \0 {\1-l} {\1-b} {0pt} {0pt} }
-    \box_show:N \l_tmpa_coffin
+    \coffin_show:Nnn \l_tmpa_coffin { 14 } { 16 }
 }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/l3kernel/testfiles/m3coffins001.ptex.tlg b/l3kernel/testfiles/m3coffins001.ptex.tlg
index 5cfb599a9..0eaa8fd6b 100644
--- a/l3kernel/testfiles/m3coffins001.ptex.tlg
+++ b/l3kernel/testfiles/m3coffins001.ptex.tlg
@@ -191,6 +191,15 @@ Poles of coffin \l_tmpb_coffin:
 >  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...  }
+> \box...=
+\hbox(4.30554+1.94444)x5.00002
+.\special{color push gray 0}
+.\special{ps:SDict begin /color.sc {} def end}
+.\OT1/cmr/m/n/10 g
+.\special{color pop}
+! OK.
+<argument> \l_tmpb_coffin 
+l. ...  }
 Size of coffin \g_tmpb_coffin:
 > ht = 4.30554pt
 > dp = 1.94444pt
@@ -205,17 +214,6 @@ Poles of coffin \g_tmpb_coffin:
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
 >  T  =>  {0pt}{0pt}{1000pt}{0pt}.
-<recently read> }
-l. ...  }
-> \box...=
-\hbox(4.30554+1.94444)x5.00002
-.\special{color push gray 0}
-.\special{ps:SDict begin /color.sc {} def end}
-.\OT1/cmr/m/n/10 g
-.\special{color pop}
-! OK.
-<argument> \l_tmpb_coffin 
-l. ...  }
 > \box...=
 \hbox(4.30554+1.94444)x5.00002
 .\special{color push gray 0}
@@ -562,6 +560,20 @@ l. ...}
 ! OK.
 <argument> \l_tmpa_coffin 
 l. ...}
+Size of coffin \l_tmpa_coffin:
+> ht = 13.74443pt
+> dp = 0.0pt
+> wd = 49.43895pt
+Poles of coffin \l_tmpa_coffin:
+>  l  =>  {0pt}{0pt}{0pt}{1000pt}
+>  hc  =>  {0pt}{0pt}{0pt}{1000pt}
+>  r  =>  {0pt}{0pt}{0pt}{1000pt}
+>  b  =>  {0pt}{0pt}{1000pt}{0pt}
+>  vc  =>  {0pt}{0pt}{1000pt}{0pt}
+>  t  =>  {0pt}{0pt}{1000pt}{0pt}
+>  B  =>  {0pt}{0pt}{1000pt}{0pt}
+>  H  =>  {0pt}{0pt}{1000pt}{0pt}
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 > \box...=
 \hbox(13.74443+0.0)x49.43895
 .\hbox(4.30554+0.0)x4.30554
@@ -592,16 +604,7 @@ l. ...}
 ...............\rule(*+*)x0.4
 ...............\vbox(12.94444+0.0)x44.33342
 ................\glue 3.0
-................\hbox(6.94444+0.0)x44.33342
-.................\kern 3.0
-.................\OT1/cmr/m/n/10 c
-.................\OT1/cmr/m/n/10 o
-.................\OT1/cmr/m/n/10 ^^N (ligature ffi)
-.................\OT1/cmr/m/n/10 n
-.................\OT1/cmr/m/n/10 o
-.................\OT1/cmr/m/n/10 n
-.................\OT1/cmr/m/n/10 e
-.................\kern 3.0
+................\hbox(6.94444+0.0)x44.33342 []
 ................\glue 3.0
 ...............\rule(*+*)x0.4
 ..............\rule(0.4+0.0)x*
@@ -716,10 +719,7 @@ l. ...}
 ....\OT1/cmss/m/n/5 \
 ....\OT1/cmss/m/n/5 1
 ....\OT1/cmss/m/n/5 -
-....\OT1/cmss/m/n/5 b
-....\OT1/cmss/m/n/5 )
-....\special{color pop}
-....\special{color pop}
+....etc.
 ! OK.
 <argument> \l_tmpa_coffin 
 l. ...}
diff --git a/l3kernel/testfiles/m3coffins001.tlg b/l3kernel/testfiles/m3coffins001.tlg
index 9e1b1fabe..1d354f30c 100644
--- a/l3kernel/testfiles/m3coffins001.tlg
+++ b/l3kernel/testfiles/m3coffins001.tlg
@@ -191,6 +191,14 @@ Poles of coffin \l_tmpb_coffin:
 >  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...  }
+> \box...=
+\hbox(4.30554+1.94444)x5.00002
+.\pdfcolorstack 0 push {0 g 0 G}
+.\OT1/cmr/m/n/10 g
+.\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpb_coffin 
+l. ...  }
 Size of coffin \g_tmpb_coffin:
 > ht = 4.30554pt
 > dp = 1.94444pt
@@ -205,16 +213,6 @@ Poles of coffin \g_tmpb_coffin:
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
 >  T  =>  {0pt}{0pt}{1000pt}{0pt}.
-<recently read> }
-l. ...  }
-> \box...=
-\hbox(4.30554+1.94444)x5.00002
-.\pdfcolorstack 0 push {0 g 0 G}
-.\OT1/cmr/m/n/10 g
-.\pdfcolorstack 0 pop
-! OK.
-<argument> \l_tmpb_coffin 
-l. ...  }
 > \box...=
 \hbox(4.30554+1.94444)x5.00002
 .\pdfcolorstack 0 push {0 g 0 G}
@@ -540,6 +538,20 @@ l. ...}
 ! OK.
 <argument> \l_tmpa_coffin 
 l. ...}
+Size of coffin \l_tmpa_coffin:
+> ht = 13.74443pt
+> dp = 0.0pt
+> wd = 49.43895pt
+Poles of coffin \l_tmpa_coffin:
+>  l  =>  {0pt}{0pt}{0pt}{1000pt}
+>  hc  =>  {0pt}{0pt}{0pt}{1000pt}
+>  r  =>  {0pt}{0pt}{0pt}{1000pt}
+>  b  =>  {0pt}{0pt}{1000pt}{0pt}
+>  vc  =>  {0pt}{0pt}{1000pt}{0pt}
+>  t  =>  {0pt}{0pt}{1000pt}{0pt}
+>  B  =>  {0pt}{0pt}{1000pt}{0pt}
+>  H  =>  {0pt}{0pt}{1000pt}{0pt}
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 > \box...=
 \hbox(13.74443+0.0)x49.43895
 .\hbox(4.30554+0.0)x4.30554
@@ -569,16 +581,7 @@ l. ...}
 ...............\rule(*+*)x0.4
 ...............\vbox(12.94444+0.0)x44.33342
 ................\glue 3.0
-................\hbox(6.94444+0.0)x44.33342
-.................\kern 3.0
-.................\OT1/cmr/m/n/10 c
-.................\OT1/cmr/m/n/10 o
-.................\OT1/cmr/m/n/10 ^^N (ligature ffi)
-.................\OT1/cmr/m/n/10 n
-.................\OT1/cmr/m/n/10 o
-.................\OT1/cmr/m/n/10 n
-.................\OT1/cmr/m/n/10 e
-.................\kern 3.0
+................\hbox(6.94444+0.0)x44.33342 []
 ................\glue 3.0
 ...............\rule(*+*)x0.4
 ..............\rule(0.4+0.0)x*
@@ -683,7 +686,7 @@ l. ...}
 ....\OT1/cmss/m/n/5 b
 ....\OT1/cmss/m/n/5 )
 ....\pdfcolorstack 0 pop
-....\pdfcolorstack 0 pop
+....etc.
 ! OK.
 <argument> \l_tmpa_coffin 
 l. ...}
diff --git a/l3kernel/testfiles/m3coffins001.uptex.tlg b/l3kernel/testfiles/m3coffins001.uptex.tlg
index 5cfb599a9..0eaa8fd6b 100644
--- a/l3kernel/testfiles/m3coffins001.uptex.tlg
+++ b/l3kernel/testfiles/m3coffins001.uptex.tlg
@@ -191,6 +191,15 @@ Poles of coffin \l_tmpb_coffin:
 >  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...  }
+> \box...=
+\hbox(4.30554+1.94444)x5.00002
+.\special{color push gray 0}
+.\special{ps:SDict begin /color.sc {} def end}
+.\OT1/cmr/m/n/10 g
+.\special{color pop}
+! OK.
+<argument> \l_tmpb_coffin 
+l. ...  }
 Size of coffin \g_tmpb_coffin:
 > ht = 4.30554pt
 > dp = 1.94444pt
@@ -205,17 +214,6 @@ Poles of coffin \g_tmpb_coffin:
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
 >  T  =>  {0pt}{0pt}{1000pt}{0pt}.
-<recently read> }
-l. ...  }
-> \box...=
-\hbox(4.30554+1.94444)x5.00002
-.\special{color push gray 0}
-.\special{ps:SDict begin /color.sc {} def end}
-.\OT1/cmr/m/n/10 g
-.\special{color pop}
-! OK.
-<argument> \l_tmpb_coffin 
-l. ...  }
 > \box...=
 \hbox(4.30554+1.94444)x5.00002
 .\special{color push gray 0}
@@ -562,6 +560,20 @@ l. ...}
 ! OK.
 <argument> \l_tmpa_coffin 
 l. ...}
+Size of coffin \l_tmpa_coffin:
+> ht = 13.74443pt
+> dp = 0.0pt
+> wd = 49.43895pt
+Poles of coffin \l_tmpa_coffin:
+>  l  =>  {0pt}{0pt}{0pt}{1000pt}
+>  hc  =>  {0pt}{0pt}{0pt}{1000pt}
+>  r  =>  {0pt}{0pt}{0pt}{1000pt}
+>  b  =>  {0pt}{0pt}{1000pt}{0pt}
+>  vc  =>  {0pt}{0pt}{1000pt}{0pt}
+>  t  =>  {0pt}{0pt}{1000pt}{0pt}
+>  B  =>  {0pt}{0pt}{1000pt}{0pt}
+>  H  =>  {0pt}{0pt}{1000pt}{0pt}
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 > \box...=
 \hbox(13.74443+0.0)x49.43895
 .\hbox(4.30554+0.0)x4.30554
@@ -592,16 +604,7 @@ l. ...}
 ...............\rule(*+*)x0.4
 ...............\vbox(12.94444+0.0)x44.33342
 ................\glue 3.0
-................\hbox(6.94444+0.0)x44.33342
-.................\kern 3.0
-.................\OT1/cmr/m/n/10 c
-.................\OT1/cmr/m/n/10 o
-.................\OT1/cmr/m/n/10 ^^N (ligature ffi)
-.................\OT1/cmr/m/n/10 n
-.................\OT1/cmr/m/n/10 o
-.................\OT1/cmr/m/n/10 n
-.................\OT1/cmr/m/n/10 e
-.................\kern 3.0
+................\hbox(6.94444+0.0)x44.33342 []
 ................\glue 3.0
 ...............\rule(*+*)x0.4
 ..............\rule(0.4+0.0)x*
@@ -716,10 +719,7 @@ l. ...}
 ....\OT1/cmss/m/n/5 \
 ....\OT1/cmss/m/n/5 1
 ....\OT1/cmss/m/n/5 -
-....\OT1/cmss/m/n/5 b
-....\OT1/cmss/m/n/5 )
-....\special{color pop}
-....\special{color pop}
+....etc.
 ! OK.
 <argument> \l_tmpa_coffin 
 l. ...}
diff --git a/l3kernel/testfiles/m3coffins001.xetex.tlg b/l3kernel/testfiles/m3coffins001.xetex.tlg
index bfdc553bf..fdfa858c6 100644
--- a/l3kernel/testfiles/m3coffins001.xetex.tlg
+++ b/l3kernel/testfiles/m3coffins001.xetex.tlg
@@ -191,6 +191,14 @@ Poles of coffin \l_tmpb_coffin:
 >  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...  }
+> \box...=
+\hbox(4.30554+1.94444)x5.00002
+.\special{pdfcolorstack 1 push (0 g 0 G)}
+.\OT1/cmr/m/n/10 g
+.\special{pdfcolorstack 1 pop}
+! OK.
+<argument> \l_tmpb_coffin 
+l. ...  }
 Size of coffin \g_tmpb_coffin:
 > ht = 4.30554pt
 > dp = 1.94444pt
@@ -205,16 +213,6 @@ Poles of coffin \g_tmpb_coffin:
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
 >  T  =>  {0pt}{0pt}{1000pt}{0pt}.
-<recently read> }
-l. ...  }
-> \box...=
-\hbox(4.30554+1.94444)x5.00002
-.\special{pdfcolorstack 1 push (0 g 0 G)}
-.\OT1/cmr/m/n/10 g
-.\special{pdfcolorstack 1 pop}
-! OK.
-<argument> \l_tmpb_coffin 
-l. ...  }
 > \box...=
 \hbox(4.30554+1.94444)x5.00002
 .\special{pdfcolorstack 1 push (0 g 0 G)}
@@ -540,6 +538,20 @@ l. ...}
 ! OK.
 <argument> \l_tmpa_coffin 
 l. ...}
+Size of coffin \l_tmpa_coffin:
+> ht = 13.74443pt
+> dp = 0.0pt
+> wd = 49.43895pt
+Poles of coffin \l_tmpa_coffin:
+>  l  =>  {0pt}{0pt}{0pt}{1000pt}
+>  hc  =>  {0pt}{0pt}{0pt}{1000pt}
+>  r  =>  {0pt}{0pt}{0pt}{1000pt}
+>  b  =>  {0pt}{0pt}{1000pt}{0pt}
+>  vc  =>  {0pt}{0pt}{1000pt}{0pt}
+>  t  =>  {0pt}{0pt}{1000pt}{0pt}
+>  B  =>  {0pt}{0pt}{1000pt}{0pt}
+>  H  =>  {0pt}{0pt}{1000pt}{0pt}
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 > \box...=
 \hbox(13.74443+0.0)x49.43895
 .\hbox(4.30554+0.0)x4.30554
@@ -569,16 +581,7 @@ l. ...}
 ...............\rule(*+*)x0.4
 ...............\vbox(12.94444+0.0)x44.33342
 ................\glue 3.0
-................\hbox(6.94444+0.0)x44.33342
-.................\kern 3.0
-.................\OT1/cmr/m/n/10 c
-.................\OT1/cmr/m/n/10 o
-.................\OT1/cmr/m/n/10 ^^N (ligature ffi)
-.................\OT1/cmr/m/n/10 n
-.................\OT1/cmr/m/n/10 o
-.................\OT1/cmr/m/n/10 n
-.................\OT1/cmr/m/n/10 e
-.................\kern 3.0
+................\hbox(6.94444+0.0)x44.33342 []
 ................\glue 3.0
 ...............\rule(*+*)x0.4
 ..............\rule(0.4+0.0)x*
@@ -683,7 +686,7 @@ l. ...}
 ....\OT1/cmss/m/n/5 b
 ....\OT1/cmss/m/n/5 )
 ....\special{pdfcolorstack 1 pop}
-....\special{pdfcolorstack 1 pop}
+....etc.
 ! OK.
 <argument> \l_tmpa_coffin 
 l. ...}





More information about the latex3-commits mailing list.