[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Correctly enable brace strip suppression (18bc5b8e)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Sep 1 22:17:07 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/18bc5b8e57098f3b81ff08816f7ebac23ce15ab4

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

commit 18bc5b8e57098f3b81ff08816f7ebac23ce15ab4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Aug 30 10:00:59 2022 +0200

    Correctly enable brace strip suppression


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

18bc5b8e57098f3b81ff08816f7ebac23ce15ab4
 base/ltcmd.dtx                    | 5 +++--
 base/testfiles-ltcmd/ltcmd008.tlg | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 34c88ba4..b9f0099b 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -1085,7 +1085,7 @@
         \bool_set_true:N \l_@@_suppress_strip_bool
         \bool_set_false:N \l_@@_grab_expandably_bool
         \tl_put_right:Nx \l_@@_arg_spec_tl
-          { > { \@@_arg_to_keyvalue:nn { \tl_trim_spaces:n {#1} } } }
+          { = { \tl_trim_spaces:n {#1} } }
       }
   }
 \cs_new_protected:Npn \@@_normalize_type_aux:NnNn #1#2#3#4
@@ -1528,7 +1528,8 @@
     \bool_set_true:N \l_@@_prefixed_bool
     \bool_set_true:N \l_@@_suppress_strip_bool
     \bool_set_true:N \l_@@_process_some_bool
-    \tl_put_left:Nn \l_@@_process_one_tl { \@@_arg_to_keyvalue:nn {#1} }
+    \tl_put_left:Nn \l_@@_process_one_tl
+      { { \@@_arg_to_keyvalue:nn {#1} } }
     \@@_prepare_signature_bypass:N
   }
 %    \end{macrocode}
diff --git a/base/testfiles-ltcmd/ltcmd008.tlg b/base/testfiles-ltcmd/ltcmd008.tlg
index e74b0f31..0f237f1a 100644
--- a/base/testfiles-ltcmd/ltcmd008.tlg
+++ b/base/testfiles-ltcmd/ltcmd008.tlg
@@ -13,7 +13,7 @@ TEST 2: Collecting keyvals
 (TOC-entry={bong})(baz)
 (bong=bang)(baz)
 (bong)(baz)
-(bong=bang)(baz)
+(TOC-entry={bong=bang})(baz)
 (TOC-entry={$y=mx+c$})(baz)
 (TOC-entry={\(y=mx+c\)})(baz)
 (math=$y\mathbin {=}mx+c$)(baz)





More information about the latex3-commits mailing list.