diff options
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3text.dtx')
-rw-r--r-- | macros/latex/contrib/l3kernel/l3text.dtx | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/macros/latex/contrib/l3kernel/l3text.dtx b/macros/latex/contrib/l3kernel/l3text.dtx index c230ab9f27..0d1365c8d2 100644 --- a/macros/latex/contrib/l3kernel/l3text.dtx +++ b/macros/latex/contrib/l3kernel/l3text.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2022-02-21} +% \date{Released 2022-02-24} % % \maketitle % @@ -249,11 +249,13 @@ % \end{variable} % % \begin{variable}{\l_text_case_exclude_arg_tl} -% Lists commands which are excluded from case changing. +% Lists commands which are excluded from case changing. This protection +% includes everything up to and including their first braced argument. % \end{variable} % % \begin{variable}{\l_text_expand_exclude_tl} -% Lists commands which are excluded from expansion. +% Lists commands which are excluded from expansion. This protection +% includes everything up to and including their first braced argument. % \end{variable} % % \begin{variable}{\l_text_titlecase_check_letter_bool} @@ -624,7 +626,8 @@ % } % \begin{macro}[EXP]{\@@_expand_exclude:nN} % \begin{macro}[EXP]{\@@_expand_exclude:NN} -% \begin{macro}[EXP]{\@@_expand_exclude:Nn} +% \begin{macro}[EXP]{\@@_expand_exclude:Nw} +% \begin{macro}[EXP]{\@@_expand_exclude:Nnn} % \begin{macro}[EXP]{\@@_expand_accent:N} % \begin{macro}[EXP]{\@@_expand_accent:NN} % \begin{macro}[EXP]{\@@_expand_letterlike:N} @@ -883,13 +886,15 @@ \str_if_eq:nnTF {#1} {#2} { \@@_use_i_delimit_by_q_recursion_stop:nw - { \@@_expand_exclude:Nn #1 } + { \@@_expand_exclude:Nw #1 } } { \@@_expand_exclude:NN #1 } } -\cs_new:Npn \@@_expand_exclude:Nn #1#2 +\cs_new:Npn \@@_expand_exclude:Nw #1#2# + { \@@_expand_exclude:Nnn #1 {#2} } +\cs_new:Npn \@@_expand_exclude:Nnn #1#2#3 { - \@@_expand_store:n { #1 {#2} } + \@@_expand_store:n { #1#2 {#3} } \@@_expand_loop:w } % \end{macrocode} @@ -1116,6 +1121,7 @@ % \end{macro} % \end{macro} % \end{macro} +% \end{macro} % % \begin{macro} % { |