[latex3-commits] [git/LaTeX3-latex3-latex3] master: Define an empty coffin manually (505fa48)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Feb 28 14:03:42 CET 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/505fa482f503782c851a6e46a7110f17ba69f248

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

commit 505fa482f503782c851a6e46a7110f17ba69f248
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Feb 28 13:03:42 2018 +0000

    Define an empty coffin manually
    
    Follows from e1d5ff5cf3f80657108e19fb3b36e55692073e80.


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

505fa482f503782c851a6e46a7110f17ba69f248
 l3kernel/l3coffins.dtx                  |    7 +++----
 l3kernel/testfiles/m3expl006.luatex.tlg |    8 --------
 l3kernel/testfiles/m3expl006.ptex.tlg   |    8 --------
 l3kernel/testfiles/m3expl006.tlg        |    8 --------
 l3kernel/testfiles/m3expl006.uptex.tlg  |    8 --------
 l3kernel/testfiles/m3expl006.xetex.tlg  |    8 --------
 6 files changed, 3 insertions(+), 44 deletions(-)

diff --git a/l3kernel/l3coffins.dtx b/l3kernel/l3coffins.dtx
index 123bb0f..1674f3d 100644
--- a/l3kernel/l3coffins.dtx
+++ b/l3kernel/l3coffins.dtx
@@ -684,12 +684,11 @@
 %   Special coffins: these cannot be set up earlier as they need
 %   \cs{coffin_new:N}. The empty coffin is set as a box as the full
 %   coffin-setting system needs some material which is not yet available.
-%   Debugging must be suspended as we are assigning to a constant coffin.
+%   The empty coffin is creted entirely by hand: not everything is in place
+%   yet.
 %    \begin{macrocode}
 \coffin_new:N \c_empty_coffin
-\debug_suspend:
-\hbox_set:Nn  \c_empty_coffin { }
-\debug_resume:
+\tex_setbox:D \c_empty_coffin = \tex_hbox:D { }
 \coffin_new:N \l_@@_aligned_coffin
 \coffin_new:N \l_@@_aligned_internal_coffin
 %    \end{macrocode}
diff --git a/l3kernel/testfiles/m3expl006.luatex.tlg b/l3kernel/testfiles/m3expl006.luatex.tlg
index 7d963b7..3b64a3b 100644
--- a/l3kernel/testfiles/m3expl006.luatex.tlg
+++ b/l3kernel/testfiles/m3expl006.luatex.tlg
@@ -126,14 +126,6 @@ Author: Bruno Le Floch and Joseph Wright
 \l__coffin_x_prime_dim=\dimen...
 \l__coffin_y_prime_dim=\dimen...
 \c_empty_coffin=\box...
-! Undefined control sequence.
-\par ->\ERROR 
-l. ...\hbox_set:Nn  \c_empty_coffin { }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
 \l__coffin_aligned_coffin=\box...
 \l__coffin_aligned_internal_coffin=\box...
 \l_tmpa_coffin=\box...
diff --git a/l3kernel/testfiles/m3expl006.ptex.tlg b/l3kernel/testfiles/m3expl006.ptex.tlg
index 651667e..61415a6 100644
--- a/l3kernel/testfiles/m3expl006.ptex.tlg
+++ b/l3kernel/testfiles/m3expl006.ptex.tlg
@@ -127,14 +127,6 @@ Author: Bruno Le Floch and Joseph Wright
 \l__coffin_x_prime_dim=\dimen...
 \l__coffin_y_prime_dim=\dimen...
 \c_empty_coffin=\box...
-! Undefined control sequence.
-\par ->\ERROR 
-l. ...\hbox_set:Nn  \c_empty_coffin { }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
 \l__coffin_aligned_coffin=\box...
 \l__coffin_aligned_internal_coffin=\box...
 \l_tmpa_coffin=\box...
diff --git a/l3kernel/testfiles/m3expl006.tlg b/l3kernel/testfiles/m3expl006.tlg
index c874036..e6e64f3 100644
--- a/l3kernel/testfiles/m3expl006.tlg
+++ b/l3kernel/testfiles/m3expl006.tlg
@@ -127,14 +127,6 @@ Author: Bruno Le Floch and Joseph Wright
 \l__coffin_x_prime_dim=\dimen...
 \l__coffin_y_prime_dim=\dimen...
 \c_empty_coffin=\box...
-! Undefined control sequence.
-\par ->\ERROR 
-l. ...\hbox_set:Nn  \c_empty_coffin { }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
 \l__coffin_aligned_coffin=\box...
 \l__coffin_aligned_internal_coffin=\box...
 \l_tmpa_coffin=\box...
diff --git a/l3kernel/testfiles/m3expl006.uptex.tlg b/l3kernel/testfiles/m3expl006.uptex.tlg
index 83a978d..5374a68 100644
--- a/l3kernel/testfiles/m3expl006.uptex.tlg
+++ b/l3kernel/testfiles/m3expl006.uptex.tlg
@@ -125,14 +125,6 @@ Author: Bruno Le Floch and Joseph Wright
 \l__coffin_x_prime_dim=\dimen...
 \l__coffin_y_prime_dim=\dimen...
 \c_empty_coffin=\box...
-! Undefined control sequence.
-\par ->\ERROR 
-l. ...\hbox_set:Nn  \c_empty_coffin { }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
 \l__coffin_aligned_coffin=\box...
 \l__coffin_aligned_internal_coffin=\box...
 \l_tmpa_coffin=\box...
diff --git a/l3kernel/testfiles/m3expl006.xetex.tlg b/l3kernel/testfiles/m3expl006.xetex.tlg
index 75f0a65..a71f7a4 100644
--- a/l3kernel/testfiles/m3expl006.xetex.tlg
+++ b/l3kernel/testfiles/m3expl006.xetex.tlg
@@ -122,14 +122,6 @@ Author: Bruno Le Floch and Joseph Wright
 \l__coffin_x_prime_dim=\dimen...
 \l__coffin_y_prime_dim=\dimen...
 \c_empty_coffin=\box...
-! Undefined control sequence.
-\par ->\ERROR 
-l. ...\hbox_set:Nn  \c_empty_coffin { }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
 \l__coffin_aligned_coffin=\box...
 \l__coffin_aligned_internal_coffin=\box...
 \l_tmpa_coffin=\box...





More information about the latex3-commits mailing list