[latex3-commits] [git/LaTeX3-latex3-fontspec] variable: More precise syntax (e6ec5d2)

Marcel Fabian Krüger tex at 2krueger.de
Mon May 30 22:10:29 CEST 2022


Repository : https://github.com/latex3/fontspec
On branch  : variable
Link       : https://github.com/latex3/fontspec/commit/e6ec5d2b821f04bb06f6b5ead1417ac52868834c

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

commit e6ec5d2b821f04bb06f6b5ead1417ac52868834c
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Mon May 30 22:10:29 2022 +0200

    More precise syntax


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

e6ec5d2b821f04bb06f6b5ead1417ac52868834c
 fontspec-code-internal.dtx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/fontspec-code-internal.dtx b/fontspec-code-internal.dtx
index 86e2a4b..33f00f5 100644
--- a/fontspec-code-internal.dtx
+++ b/fontspec-code-internal.dtx
@@ -1056,9 +1056,10 @@
 % \cmd{\@@_get_variations:} builds the feature string representing the
 % current variation instance and/or axis settings.
 %    \begin{macrocode}
+\cs_generate_variant:Nn \tl_tail:n { e }
 \cs_new:Nn \@@_format_axis:nn
   {
-    #1 = #2 ,
+    , #1 = #2
   }
 \cs_new:Nn \@@_get_variations:
   {
@@ -1069,7 +1070,9 @@
       \prop_if_empty:NF \g_@@_rawvariations_prop
       {
         axis = {
-          \prop_map_function:NN \g_@@_rawvariations_prop \@@_format_axis:nn
+          \tl_tail:e {
+            \prop_map_function:NN \g_@@_rawvariations_prop \@@_format_axis:nn
+          }
         };
       }
   }





More information about the latex3-commits mailing list.