diff options
Diffstat (limited to 'macros/latex/contrib/textcase/textcase.dtx')
-rw-r--r-- | macros/latex/contrib/textcase/textcase.dtx | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/macros/latex/contrib/textcase/textcase.dtx b/macros/latex/contrib/textcase/textcase.dtx index 35d8c1f46a..3fd04e0af9 100644 --- a/macros/latex/contrib/textcase/textcase.dtx +++ b/macros/latex/contrib/textcase/textcase.dtx @@ -1,6 +1,6 @@ % \iffalse %% Source File: textcase.dtx -%% Copyright 1997 1998 2019 David Carlisle +%% Copyright 1997 1998 2019 2022 David Carlisle %% %% This file may be distributed under the terms of the LPPL. %% See 00readme.txt for details. @@ -13,7 +13,7 @@ %<driver> \ProvidesFile{textcase.drv} % \fi % \ProvidesFile{textcase.dtx} - [2019/09/14 v1.00 Text only upper/lower case changing (DPC)] + [2022/06/12 v1.02 Text only upper/lower case changing (DPC)] % % \iffalse %<*driver> @@ -58,6 +58,18 @@ % \maketitle % % \section{Introduction}\label{intro} +% +% \subsection*{This package is obsolete with the June 2022 \LaTeX\ release.} +% \begin{sloppypar} +% With new formats |\MakeUppercase| supports the extensions provided +% here, with improved support for UTF-8 input. So now the package just defines +% |\MakeTextUppercase| and |\MakeTextLowercase| as aliases for the +% standard |\MakeUppercase| and |\MakeLowercase|. +% \end{sloppypar} +% +% +% \subsection*{Old Introduction} +% % |\MakeTextUppercase| and |\MakeTextLowercase| are versions of the % standard |\MakeUppercase| and |\MakeLowercase| that do not change % the case of any math sections in their arguments. @@ -216,6 +228,18 @@ %<*package> % \end{macrocode} % +% In current \LaTeX\ just define legacy names. +% \begin{macrocode} +\ifx\@expl@text@uppercase@@n\@undefined\else + \DeclareOption{overload}{} + \ProcessOptions + \PackageInfo{textcase}{Defining Legacy names} + \let\MakeTextUppercase\MakeUppercase + \let\MakeTextLowercase\MakeLowercase + \expandafter\endinput +\fi +% \end{macrocode} +% % \begin{macro}{\@uclcnotmath} % This is the main macro of this package. It is basically % a copy of |\MakeTextUppercase| and |\MakeTextLowercase| @@ -246,10 +270,15 @@ \def\({$}\let\)\(% % \end{macrocode} % -% \changes{v1.0}{2019/09/14} +% \changes{v1.00}{2019/09/14} % {UTF-8 support for 2019 LaTeX format} % Allow UTF-8 characters to expand in the |\protected@edef| so that % they become for example |\IeC{\'{e}}| and uppercase correctly. +% \changes{v1.01}{2022/02/14} +% {UTF-8 support for 2022 LaTeX format (unreleased)} +% \changes{v1.02}{2022/06/12} +% {Obsolete this package in newer formats} +% Allow UTF-8 characters are e-\TeX\ |\protected| in newer \LaTeX\ formats. % % \begin{macrocode} \let\UTF@two@octets@noexpand\@empty |