diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3token.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3token.dtx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3token.dtx b/Master/texmf-dist/source/latex/l3kernel/l3token.dtx index 6b1b1759ffd..0fb548d4831 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3token.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3token.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2022-04-20} +% \date{Released 2022-04-29} % % \maketitle % @@ -1975,7 +1975,15 @@ { \cs_if_exist_p:N \tex_XeTeXversion:D } { \cs_set:Npn \@@_str_change_case:nN #1#2 - { \tl_to_str:n {#2} } + { + \int_compare:nNnTF {#1} = 0 + { \tl_to_str:n {#2} } + { + \int_compare:nTF { `A <= #1 <= `z } + { \char_generate:nn {#1} { 12 } } + { \tl_to_str:n {#2} } + } + } } % \end{macrocode} % \end{macro} |