[latex3-commits] [git/LaTeX3-latex3-latex3] coffins: Support for global coffin showing (b111395)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Jan 20 23:20:40 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : coffins
Link       : https://github.com/latex3/latex3/commit/b1113953f06b4c0d463251a76cd68088ede75a29

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

commit b1113953f06b4c0d463251a76cd68088ede75a29
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Jan 20 21:13:09 2019 +0000

    Support for global coffin showing


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

b1113953f06b4c0d463251a76cd68088ede75a29
 l3kernel/l3coffins.dtx                     |   17 ++++++++++++++---
 l3kernel/testfiles/m3coffins001.luatex.tlg |   11 +++--------
 l3kernel/testfiles/m3coffins001.ptex.tlg   |   11 +++--------
 l3kernel/testfiles/m3coffins001.tlg        |   11 +++--------
 l3kernel/testfiles/m3coffins001.uptex.tlg  |   11 +++--------
 l3kernel/testfiles/m3coffins001.xetex.tlg  |   11 +++--------
 6 files changed, 29 insertions(+), 43 deletions(-)

diff --git a/l3kernel/l3coffins.dtx b/l3kernel/l3coffins.dtx
index ce30524..62800c8 100644
--- a/l3kernel/l3coffins.dtx
+++ b/l3kernel/l3coffins.dtx
@@ -2017,9 +2017,20 @@
             \iow_newline: >~ wd ~=~ \dim_eval:n { \coffin_wd:N #2 }
           }
           {
-            \prop_map_function:cN
-              { l_@@_poles_ \@@_to_value:N #2 _prop }
-              \msg_show_item_unbraced:nn
+            \tl_if_empty:cTF
+              { g_@@_scope_ \@@_to_value:N #2 _tl }
+              {
+                \prop_map_function:NN \c_@@_poles_prop
+                  \msg_show_item_unbraced:nn
+              }
+              {
+                \prop_map_function:cN
+                  {
+                    \tl_use:c { g_@@_scope_ \@@_to_value:N #2 _tl }
+                    _@@_poles_ \@@_to_value:N #2 _prop
+                  }
+                  \msg_show_item_unbraced:nn
+              }
           }
           { }
       }
diff --git a/l3kernel/testfiles/m3coffins001.luatex.tlg b/l3kernel/testfiles/m3coffins001.luatex.tlg
index 98d9a2b..555cc0b 100644
--- a/l3kernel/testfiles/m3coffins001.luatex.tlg
+++ b/l3kernel/testfiles/m3coffins001.luatex.tlg
@@ -50,8 +50,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 Size of coffin \aaa:
@@ -67,9 +66,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}
->  test-2  =>  {0.0pt}{0pt}{0pt}{1000pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 Size of coffin \aaa:
@@ -85,9 +82,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}
->  test-2  =>  {0.0pt}{0pt}{0pt}{1000pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 ! LaTeX3 Error: Unknown coffin '\bbb'.
diff --git a/l3kernel/testfiles/m3coffins001.ptex.tlg b/l3kernel/testfiles/m3coffins001.ptex.tlg
index e0f5dc6..4aafed4 100644
--- a/l3kernel/testfiles/m3coffins001.ptex.tlg
+++ b/l3kernel/testfiles/m3coffins001.ptex.tlg
@@ -50,8 +50,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 Size of coffin \aaa:
@@ -67,9 +66,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}
->  test-2  =>  {0.0pt}{0pt}{0pt}{1000pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 Size of coffin \aaa:
@@ -85,9 +82,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}
->  test-2  =>  {0.0pt}{0pt}{0pt}{1000pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 ! LaTeX3 Error: Unknown coffin '\bbb'.
diff --git a/l3kernel/testfiles/m3coffins001.tlg b/l3kernel/testfiles/m3coffins001.tlg
index 50fed14..28c4c77 100644
--- a/l3kernel/testfiles/m3coffins001.tlg
+++ b/l3kernel/testfiles/m3coffins001.tlg
@@ -50,8 +50,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 Size of coffin \aaa:
@@ -67,9 +66,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}
->  test-2  =>  {0.0pt}{0pt}{0pt}{1000pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 Size of coffin \aaa:
@@ -85,9 +82,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}
->  test-2  =>  {0.0pt}{0pt}{0pt}{1000pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 ! LaTeX3 Error: Unknown coffin '\bbb'.
diff --git a/l3kernel/testfiles/m3coffins001.uptex.tlg b/l3kernel/testfiles/m3coffins001.uptex.tlg
index 1f7a84a..60bc158 100644
--- a/l3kernel/testfiles/m3coffins001.uptex.tlg
+++ b/l3kernel/testfiles/m3coffins001.uptex.tlg
@@ -50,8 +50,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 Size of coffin \aaa:
@@ -67,9 +66,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}
->  test-2  =>  {0.0pt}{0pt}{0pt}{1000pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 Size of coffin \aaa:
@@ -85,9 +82,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}
->  test-2  =>  {0.0pt}{0pt}{0pt}{1000pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 ! LaTeX3 Error: Unknown coffin '\bbb'.
diff --git a/l3kernel/testfiles/m3coffins001.xetex.tlg b/l3kernel/testfiles/m3coffins001.xetex.tlg
index e0f5dc6..4aafed4 100644
--- a/l3kernel/testfiles/m3coffins001.xetex.tlg
+++ b/l3kernel/testfiles/m3coffins001.xetex.tlg
@@ -50,8 +50,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 Size of coffin \aaa:
@@ -67,9 +66,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}
->  test-2  =>  {0.0pt}{0pt}{0pt}{1000pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 Size of coffin \aaa:
@@ -85,9 +82,7 @@ Poles of coffin \aaa:
 >  t  =>  {0pt}{0pt}{1000pt}{0pt}
 >  B  =>  {0pt}{0pt}{1000pt}{0pt}
 >  H  =>  {0pt}{0pt}{1000pt}{0pt}
->  T  =>  {0pt}{0pt}{1000pt}{0pt}
->  test-1  =>  {0pt}{0.0pt}{1000pt}{0pt}
->  test-2  =>  {0.0pt}{0pt}{0pt}{1000pt}.
+>  T  =>  {0pt}{0pt}{1000pt}{0pt}.
 <recently read> }
 l. ...}
 ! LaTeX3 Error: Unknown coffin '\bbb'.





More information about the latex3-commits mailing list