summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3text.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3text.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3text.dtx20
1 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3text.dtx b/Master/texmf-dist/source/latex/l3kernel/l3text.dtx
index 090ed994299..228a20bfcb6 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3text.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3text.dtx
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2022-05-30}
+% \date{Released 2022-06-02}
%
% \maketitle
%
@@ -129,8 +129,9 @@
% SOME TEXT $y = mx + c$ WITH {BRACES}
% \end{verbatim}
%
-% The arguments of commands listed in \cs{l_text_case_exclude_arg_tl}
-% are excluded from case changing; the latter are entirely non-textual
+% The first maandatory argument of commands listed in
+% \cs{l_text_case_exclude_arg_tl}
+% is excluded from case changing; the latter are entirely non-textual
% content (such as labels).
%
% As is generally true for \pkg{expl3}, these functions are designed to
@@ -259,8 +260,8 @@
% \end{variable}
%
% \begin{variable}{\l_text_case_exclude_arg_tl}
-% Lists commands which are excluded from case changing. This protection
-% includes everything up to and including their first braced argument.
+% Lists commands where the first mandatory argument is excluded from
+% case changing.
% \end{variable}
%
% \begin{variable}{\l_text_expand_exclude_tl}
@@ -548,10 +549,15 @@
% \end{variable}
%
% \begin{variable}{\l_text_case_exclude_arg_tl}
-% Non-text arguments.
+% Non-text arguments, including covering the case of \tn{protected@edef}
+% applied to \cs{cite}.
% \begin{macrocode}
\tl_new:N \l_text_case_exclude_arg_tl
-\tl_set:Nn \l_text_case_exclude_arg_tl { \begin \cite \end \label \ref }
+\tl_set:Nx \l_text_case_exclude_arg_tl
+ {
+ \exp_not:n { \begin \cite \end \label \ref }
+ \exp_not:c { cite ~ }
+ }
% \end{macrocode}
% \end{variable}
%