[latex3-commits] [git/LaTeX3-latex3-latex2e] utf-8-protected: use expl@ prefix as suggested in review (aa60939b)
David Carlisle
d.p.carlisle at gmail.com
Mon Feb 21 10:17:27 CET 2022
Repository : https://github.com/latex3/latex2e
On branch : utf-8-protected
Link : https://github.com/latex3/latex2e/commit/aa60939bc83d891ab7d07c63696907fe44d09a54
>---------------------------------------------------------------
commit aa60939bc83d891ab7d07c63696907fe44d09a54
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Mon Feb 21 09:17:27 2022 +0000
use expl@ prefix as suggested in review
>---------------------------------------------------------------
aa60939bc83d891ab7d07c63696907fe44d09a54
base/ltfinal.dtx | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/base/ltfinal.dtx b/base/ltfinal.dtx
index a6f9c5b3..3757bdaf 100644
--- a/base/ltfinal.dtx
+++ b/base/ltfinal.dtx
@@ -1037,8 +1037,8 @@
% \begin{macro}{\MakeUppercase}
% \begin{macro}{\MakeUppercase}
% \begin{macro}{\@uclclist}
-% \begin{macro}{\@text at lowercase}
-% \begin{macro}{\@text at uppercase}
+% \begin{macro}{\@expl at text@lowercase@@n}
+% \begin{macro}{\@expl at text@uppercase@@n}
% \begin{macro}{\@uclclist}
%
%
@@ -1057,12 +1057,12 @@
% generally available.
%
% Two wrappers around the L3 case changing functions.
-% |\protected| to make them mostly safe as replacemenst for |luppercase|
+% |\protected| to make them mostly safe as replacements for |uppercase|
% and |\lowercase|.
% \begin{macrocode}
\ExplSyntaxOn
-\protected\def\@text at lowercase{\text_lowercase:n}
-\protected\def\@text at uppercase{\text_uppercase:n}
+\protected\def\@expl at text@lowercase@@n{\text_lowercase:n}
+\protected\def\@expl at text@uppercase@@n{\text_uppercase:n}
\ExplSyntaxOff
% \end{macrocode}
@@ -1075,15 +1075,15 @@
% Tell UTF-8 processing to process chars even though we are in an \cs{protected at edef}.
% \changes{v2.1h}{2019/09/14}{Expand UTF8 chars when case changing (github/177)}
% \changes{v2.2r}{2022/02/20}
-% {Use \cs{@text at uppercase}, removing local redefinition of \cs{UTF at two@octets at noexpand}}%
+% {Use \cs{@expl at text@uppercase@@n}, removing local redefinition of \cs{UTF at two@octets at noexpand}}%
% \begin{macrocode}
- \protected at edef\reserved at a{\@text at uppercase{#1}}%
+ \protected at edef\reserved at a{\@expl@@text at uppercase@@n{#1}}%
\reserved at a
}}
\DeclareRobustCommand{\MakeLowercase}[1]{{%
\def\reserved at a##1##2{\let##2##1\reserved at a}%
\expandafter\reserved at a\@uclclist\reserved at b{\reserved at b\@gobble}%
- \protected at edef\reserved at a{\@text at lowercase{#1}}%
+ \protected at edef\reserved at a{\@expl at text@lowercase@@n{#1}}%
\reserved at a
}}
% \end{macrocode}
More information about the latex3-commits
mailing list.