summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/textcase/README4
-rw-r--r--Master/texmf-dist/doc/latex/textcase/textcase.pdfbin193405 -> 220334 bytes
-rw-r--r--Master/texmf-dist/source/latex/textcase/textcase.dtx35
-rw-r--r--Master/texmf-dist/tex/latex/textcase/textcase.sty12
4 files changed, 46 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/textcase/README b/Master/texmf-dist/doc/latex/textcase/README
index 8ac3dc4e3b6..85376320dae 100644
--- a/Master/texmf-dist/doc/latex/textcase/README
+++ b/Master/texmf-dist/doc/latex/textcase/README
@@ -6,3 +6,7 @@ The textcase package
Improvements from Donald Arseneau mean that \label, \ref and \cite
also work within the argument of these commands, without the symbolic
`key name' being incorrectly uppercased.
+
+ In current LaTeX this package is obsolete. You can use the standard
+ \MakeUppercase and \MakeLowercase, but it defines legacy names
+ \MakeTextUppercase and \MakeTextLowercase.
diff --git a/Master/texmf-dist/doc/latex/textcase/textcase.pdf b/Master/texmf-dist/doc/latex/textcase/textcase.pdf
index 9bb2ac85b81..0d698752a30 100644
--- a/Master/texmf-dist/doc/latex/textcase/textcase.pdf
+++ b/Master/texmf-dist/doc/latex/textcase/textcase.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/textcase/textcase.dtx b/Master/texmf-dist/source/latex/textcase/textcase.dtx
index 35d8c1f46af..3fd04e0af94 100644
--- a/Master/texmf-dist/source/latex/textcase/textcase.dtx
+++ b/Master/texmf-dist/source/latex/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
diff --git a/Master/texmf-dist/tex/latex/textcase/textcase.sty b/Master/texmf-dist/tex/latex/textcase/textcase.sty
index 96b607bdee4..6b665bcc835 100644
--- a/Master/texmf-dist/tex/latex/textcase/textcase.sty
+++ b/Master/texmf-dist/tex/latex/textcase/textcase.sty
@@ -7,13 +7,21 @@
%% textcase.dtx (with options: `package')
%%
%% 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.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{textcase}
- [2019/09/14 v1.00 Text only upper/lower case changing (DPC)]
+ [2022/06/12 v1.02 Text only upper/lower case changing (DPC)]
+\ifx\@expl@text@uppercase@@n\@undefined\else
+ \DeclareOption{overload}{}
+ \ProcessOptions
+ \PackageInfo{textcase}{Defining Legacy names}
+ \let\MakeTextUppercase\MakeUppercase
+ \let\MakeTextLowercase\MakeLowercase
+ \expandafter\endinput
+\fi
\def\@uclcnotmath#1#2#3#4{\begingroup
#1%
\def\({$}\let\)\(%