[latex3-commits] [git/LaTeX3-latex3-latex3] master: Clearer formatting of dash pattern (e14d3b3)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Mar 8 22:35:34 CET 2018


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

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

commit e14d3b3323888cd057304a54b722d21be2a40ab1
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Mar 8 21:35:34 2018 +0000

    Clearer formatting of dash pattern
    
    ... at least in \showoutput


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

e14d3b3323888cd057304a54b722d21be2a40ab1
 l3kernel/l3drivers.dtx |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/l3kernel/l3drivers.dtx b/l3kernel/l3drivers.dtx
index 43da6d6..264583e 100644
--- a/l3kernel/l3drivers.dtx
+++ b/l3kernel/l3drivers.dtx
@@ -1076,14 +1076,15 @@
   {
     \@@_draw_literal:x
       {
-        [ ~
-          \clist_map_function:nN {#1} \@@_draw_dash:n
+        [ 
+          \exp_args:Nf \use:n
+            { \clist_map_function:nN {#1} \@@_draw_dash:n }
         ] ~
         \dim_to_decimal_in_bp:n {#2} ~ setdash
       }
   }
 \cs_new:Npn \@@_draw_dash:n #1
-  { \dim_to_decimal_in_bp:n {#1} ~ }
+  { ~ \dim_to_decimal_in_bp:n {#1} }
 \cs_new_protected:Npn \driver_draw_linewidth:n #1
   {
     \@@_draw_literal:x
@@ -1966,14 +1967,15 @@
   {
     \@@_draw_literal:x
       {
-        [ ~
-          \clist_map_function:nN {#1} \@@_draw_dash:n
+        [
+          \exp_args:Nf \use:n
+            { \clist_map_function:nN {#1} \@@_draw_dash:n }
         ] ~
         \dim_to_decimal_in_bp:n {#2} ~ d
       }
   }
 \cs_new:Npn \@@_draw_dash:n #1
-  { \dim_to_decimal_in_bp:n {#1} ~ }
+  { ~ \dim_to_decimal_in_bp:n {#1} }
 \cs_new_protected:Npn \driver_draw_linewidth:n #1
   {
     \@@_draw_literal:x





More information about the latex3-commits mailing list