texlive[63575] Master/texmf-dist: textcase (13jun22)

commits+karl at tug.org commits+karl at tug.org
Mon Jun 13 22:29:39 CEST 2022


Revision: 63575
          http://tug.org/svn/texlive?view=revision&revision=63575
Author:   karl
Date:     2022-06-13 22:29:39 +0200 (Mon, 13 Jun 2022)
Log Message:
-----------
textcase (13jun22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/textcase/README
    trunk/Master/texmf-dist/doc/latex/textcase/textcase.pdf
    trunk/Master/texmf-dist/source/latex/textcase/textcase.dtx
    trunk/Master/texmf-dist/tex/latex/textcase/textcase.sty

Modified: trunk/Master/texmf-dist/doc/latex/textcase/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/textcase/README	2022-06-13 13:40:29 UTC (rev 63574)
+++ trunk/Master/texmf-dist/doc/latex/textcase/README	2022-06-13 20:29:39 UTC (rev 63575)
@@ -6,3 +6,7 @@
    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.

Modified: trunk/Master/texmf-dist/doc/latex/textcase/textcase.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/textcase/textcase.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/textcase/textcase.dtx	2022-06-13 13:40:29 UTC (rev 63574)
+++ trunk/Master/texmf-dist/source/latex/textcase/textcase.dtx	2022-06-13 20:29:39 UTC (rev 63575)
@@ -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 at 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 at 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 at two@octets at noexpand\@empty

Modified: trunk/Master/texmf-dist/tex/latex/textcase/textcase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/textcase/textcase.sty	2022-06-13 13:40:29 UTC (rev 63574)
+++ trunk/Master/texmf-dist/tex/latex/textcase/textcase.sty	2022-06-13 20:29:39 UTC (rev 63575)
@@ -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 at 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\)\(%



More information about the tex-live-commits mailing list.