[latex3-commits] [l3svn] r6463 - Deprecate \tl_to_(lower|upper)case:n

noreply at latex-project.org noreply at latex-project.org
Fri Mar 25 23:11:56 CET 2016


Author: joseph
Date: 2016-03-25 23:11:56 +0100 (Fri, 25 Mar 2016)
New Revision: 6463

Modified:
   trunk/l3kernel/l3obsolete.txt
   trunk/l3kernel/l3tl.dtx
   trunk/l3kernel/testfiles/m3expl001.luatex.tlg
   trunk/l3kernel/testfiles/m3expl001.ptex.tlg
   trunk/l3kernel/testfiles/m3expl001.tlg
   trunk/l3kernel/testfiles/m3expl001.uptex.tlg
   trunk/l3kernel/testfiles/m3expl001.xetex.tlg
   trunk/l3kernel/testfiles/m3expl003.luatex.tlg
   trunk/l3kernel/testfiles/m3expl003.ptex.tlg
   trunk/l3kernel/testfiles/m3expl003.tlg
   trunk/l3kernel/testfiles/m3expl003.uptex.tlg
   trunk/l3kernel/testfiles/m3expl003.xetex.tlg
Log:
Deprecate \tl_to_(lower|upper)case:n


Modified: trunk/l3kernel/l3obsolete.txt
===================================================================
--- trunk/l3kernel/l3obsolete.txt	2016-03-25 22:03:25 UTC (rev 6462)
+++ trunk/l3kernel/l3obsolete.txt	2016-03-25 22:11:56 UTC (rev 6463)
@@ -25,6 +25,8 @@
 \pdftex_if_engine:T               2016
 \pdftex_if_engine:TF              2016
 \scan_align_safe_stop:            2016
+\tl_to_lowercase:n                2017
+\tl_to_uppercase:n                2017
 \xetex_if_engine_p:               2016
 \xetex_if_engine:F                2016
 \xetex_if_engine:T                2016
@@ -543,4 +545,4 @@
 [key property] .code:x                          2013-07-10    4539
 [key property] .generate_choices:n              2015-07-14    5655
 [key property] .meta:x                          2013-07-10    4538
-------------------------------------------------------------------
\ No newline at end of file
+------------------------------------------------------------------

Modified: trunk/l3kernel/l3tl.dtx
===================================================================
--- trunk/l3kernel/l3tl.dtx	2016-03-25 22:03:25 UTC (rev 6462)
+++ trunk/l3kernel/l3tl.dtx	2016-03-25 22:11:56 UTC (rev 6463)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-%% File: l3tl.dtx Copyright (C) 1990-2015 The LaTeX3 Project
+%% File: l3tl.dtx Copyright (C) 1990-2016 The LaTeX3 Project
 %%
 %% It may be distributed and/or modified under the conditions of the
 %% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -124,7 +124,7 @@
 %   time, it is converted to an explicit space character, with character
 %   code $32$, regardless of the initial character code.
 %   \enquote{Funny} spaces with a different category code, can be
-%   produced using \cs{tl_to_lowercase:n} or \cs{tl_to_uppercase:n}.
+%   produced using \cn{tex_lowercase:D} or \tn{tex_uppercase:D}.
 %   Explicit space characters are also produced as a result of
 %   \cs{token_to_str:N}, \cs{tl_to_str:n}, etc.
 % \end{texnote}
@@ -397,36 +397,6 @@
 %   \end{texnote}
 % \end{function}
 %
-% \section{Reassigning token list character codes}
-%
-% \begin{function}[updated = 2012-09-08]{\tl_to_lowercase:n}
-%   \begin{syntax}
-%     \cs{tl_to_lowercase:n} \Arg{tokens}
-%   \end{syntax}
-%   Works through all of the \meta{tokens}, replacing each character token
-%   with the lower case equivalent as defined by \cs{char_set_lccode:nn}.
-%   Characters with no defined lower case character code are left
-%   unchanged. This process does not alter the category code assigned
-%   to the \meta{tokens}.
-%   \begin{texnote}
-%     This is a wrapper around the \TeX{} primitive \tn{lowercase}.
-%   \end{texnote}
-% \end{function}
-%
-% \begin{function}[updated = 2012-09-08]{\tl_to_uppercase:n}
-%   \begin{syntax}
-%     \cs{tl_to_uppercase:n} \Arg{tokens}
-%   \end{syntax}
-%   Works through all of the \meta{tokens}, replacing each character token
-%   with the upper case equivalent as defined by \cs{char_set_uccode:nn}.
-%   Characters with no defined upper case character code are left
-%   unchanged. This process does not alter the category code assigned
-%   to the \meta{tokens}.
-%   \begin{texnote}
-%     This is a wrapper around the \TeX{} primitive \tn{uppercase}.
-%   \end{texnote}
-% \end{function}
-%
 % \section{Token list conditionals}
 %
 % \begin{function}[EXP,pTF]{\tl_if_blank:n, \tl_if_blank:V, \tl_if_blank:o}
@@ -1667,21 +1637,6 @@
 % \end{macro}
 % \end{macro}
 %
-% \subsection{Reassigning token list character codes}
-%
-% \begin{macro}{\tl_to_lowercase:n}
-% \begin{macro}{\tl_to_uppercase:n}
-%   Just some names for a few primitives: we take care or wrapping the
-%   argument in braces.
-%    \begin{macrocode}
-\cs_new_protected:Npn \tl_to_lowercase:n #1
-  { \tex_lowercase:D {#1} }
-\cs_new_protected:Npn \tl_to_uppercase:n #1
-  { \tex_uppercase:D {#1} }
-%    \end{macrocode}
-% \end{macro}
-% \end{macro}
-%
 % \subsection{Modifying token list variables}
 %
 % \begin{macro}{\tl_replace_all:Nnn, \tl_replace_all:cnn}
@@ -3015,7 +2970,19 @@
 %    \end{macrocode}
 % \end{variable}
 %
+% \subsection{Deprecated functions}
+%
+% \begin{macro}{\tl_to_lowercase:n, \tl_to_uppercase:n}
+%   For removal after 2017-12-31.
 %    \begin{macrocode}
+\cs_new_protected:Npn \tl_to_lowercase:n #1
+  { \tex_lowercase:D {#1} }
+\cs_new_protected:Npn \tl_to_uppercase:n #1
+  { \tex_uppercase:D {#1} }
+%    \end{macrocode}
+% \end{macro}
+%
+%    \begin{macrocode}
 %</initex|package>
 %    \end{macrocode}
 %

Modified: trunk/l3kernel/testfiles/m3expl001.luatex.tlg
===================================================================
--- trunk/l3kernel/testfiles/m3expl001.luatex.tlg	2016-03-25 22:03:25 UTC (rev 6462)
+++ trunk/l3kernel/testfiles/m3expl001.luatex.tlg	2016-03-25 22:11:56 UTC (rev 6463)
@@ -349,8 +349,6 @@
 Defining \__tl_set_rescan:NnTF on line ...
 Defining \__tl_set_rescan_single:nn on line ...
 Defining \__tl_set_rescan_single_aux:nn on line ...
-Defining \tl_to_lowercase:n on line ...
-Defining \tl_to_uppercase:n on line ...
 Defining \tl_replace_once:Nnn on line ...
 Defining \tl_greplace_once:Nnn on line ...
 Defining \tl_replace_all:Nnn on line ...
@@ -575,6 +573,8 @@
 Defining \g_tmpb_tl on line ...
 Defining \l_tmpa_tl on line ...
 Defining \l_tmpb_tl on line ...
+Defining \tl_to_lowercase:n on line ...
+Defining \tl_to_uppercase:n on line ...
 Defining \str_new:N on line ...
 Defining \str_new:c on line ...
 Defining \str_use:N on line ...

Modified: trunk/l3kernel/testfiles/m3expl001.ptex.tlg
===================================================================
--- trunk/l3kernel/testfiles/m3expl001.ptex.tlg	2016-03-25 22:03:25 UTC (rev 6462)
+++ trunk/l3kernel/testfiles/m3expl001.ptex.tlg	2016-03-25 22:11:56 UTC (rev 6463)
@@ -348,8 +348,6 @@
 Defining \__tl_set_rescan:NnTF on line ...
 Defining \__tl_set_rescan_single:nn on line ...
 Defining \__tl_set_rescan_single_aux:nn on line ...
-Defining \tl_to_lowercase:n on line ...
-Defining \tl_to_uppercase:n on line ...
 Defining \tl_replace_once:Nnn on line ...
 Defining \tl_greplace_once:Nnn on line ...
 Defining \tl_replace_all:Nnn on line ...
@@ -574,6 +572,8 @@
 Defining \g_tmpb_tl on line ...
 Defining \l_tmpa_tl on line ...
 Defining \l_tmpb_tl on line ...
+Defining \tl_to_lowercase:n on line ...
+Defining \tl_to_uppercase:n on line ...
 Defining \str_new:N on line ...
 Defining \str_new:c on line ...
 Defining \str_use:N on line ...

Modified: trunk/l3kernel/testfiles/m3expl001.tlg
===================================================================
--- trunk/l3kernel/testfiles/m3expl001.tlg	2016-03-25 22:03:25 UTC (rev 6462)
+++ trunk/l3kernel/testfiles/m3expl001.tlg	2016-03-25 22:11:56 UTC (rev 6463)
@@ -348,8 +348,6 @@
 Defining \__tl_set_rescan:NnTF on line ...
 Defining \__tl_set_rescan_single:nn on line ...
 Defining \__tl_set_rescan_single_aux:nn on line ...
-Defining \tl_to_lowercase:n on line ...
-Defining \tl_to_uppercase:n on line ...
 Defining \tl_replace_once:Nnn on line ...
 Defining \tl_greplace_once:Nnn on line ...
 Defining \tl_replace_all:Nnn on line ...
@@ -574,6 +572,8 @@
 Defining \g_tmpb_tl on line ...
 Defining \l_tmpa_tl on line ...
 Defining \l_tmpb_tl on line ...
+Defining \tl_to_lowercase:n on line ...
+Defining \tl_to_uppercase:n on line ...
 Defining \str_new:N on line ...
 Defining \str_new:c on line ...
 Defining \str_use:N on line ...

Modified: trunk/l3kernel/testfiles/m3expl001.uptex.tlg
===================================================================
--- trunk/l3kernel/testfiles/m3expl001.uptex.tlg	2016-03-25 22:03:25 UTC (rev 6462)
+++ trunk/l3kernel/testfiles/m3expl001.uptex.tlg	2016-03-25 22:11:56 UTC (rev 6463)
@@ -348,8 +348,6 @@
 Defining \__tl_set_rescan:NnTF on line ...
 Defining \__tl_set_rescan_single:nn on line ...
 Defining \__tl_set_rescan_single_aux:nn on line ...
-Defining \tl_to_lowercase:n on line ...
-Defining \tl_to_uppercase:n on line ...
 Defining \tl_replace_once:Nnn on line ...
 Defining \tl_greplace_once:Nnn on line ...
 Defining \tl_replace_all:Nnn on line ...
@@ -574,6 +572,8 @@
 Defining \g_tmpb_tl on line ...
 Defining \l_tmpa_tl on line ...
 Defining \l_tmpb_tl on line ...
+Defining \tl_to_lowercase:n on line ...
+Defining \tl_to_uppercase:n on line ...
 Defining \str_new:N on line ...
 Defining \str_new:c on line ...
 Defining \str_use:N on line ...

Modified: trunk/l3kernel/testfiles/m3expl001.xetex.tlg
===================================================================
--- trunk/l3kernel/testfiles/m3expl001.xetex.tlg	2016-03-25 22:03:25 UTC (rev 6462)
+++ trunk/l3kernel/testfiles/m3expl001.xetex.tlg	2016-03-25 22:11:56 UTC (rev 6463)
@@ -348,8 +348,6 @@
 Defining \__tl_set_rescan:NnTF on line ...
 Defining \__tl_set_rescan_single:nn on line ...
 Defining \__tl_set_rescan_single_aux:nn on line ...
-Defining \tl_to_lowercase:n on line ...
-Defining \tl_to_uppercase:n on line ...
 Defining \tl_replace_once:Nnn on line ...
 Defining \tl_greplace_once:Nnn on line ...
 Defining \tl_replace_all:Nnn on line ...
@@ -574,6 +572,8 @@
 Defining \g_tmpb_tl on line ...
 Defining \l_tmpa_tl on line ...
 Defining \l_tmpb_tl on line ...
+Defining \tl_to_lowercase:n on line ...
+Defining \tl_to_uppercase:n on line ...
 Defining \str_new:N on line ...
 Defining \str_new:c on line ...
 Defining \str_use:N on line ...

Modified: trunk/l3kernel/testfiles/m3expl003.luatex.tlg
===================================================================
--- trunk/l3kernel/testfiles/m3expl003.luatex.tlg	2016-03-25 22:03:25 UTC (rev 6462)
+++ trunk/l3kernel/testfiles/m3expl003.luatex.tlg	2016-03-25 22:11:56 UTC (rev 6463)
@@ -349,8 +349,6 @@
 Defining \__tl_set_rescan:NnTF on line ...
 Defining \__tl_set_rescan_single:nn on line ...
 Defining \__tl_set_rescan_single_aux:nn on line ...
-Defining \tl_to_lowercase:n on line ...
-Defining \tl_to_uppercase:n on line ...
 Defining \tl_replace_once:Nnn on line ...
 Defining \tl_greplace_once:Nnn on line ...
 Defining \tl_replace_all:Nnn on line ...
@@ -575,6 +573,8 @@
 Defining \g_tmpb_tl on line ...
 Defining \l_tmpa_tl on line ...
 Defining \l_tmpb_tl on line ...
+Defining \tl_to_lowercase:n on line ...
+Defining \tl_to_uppercase:n on line ...
 Defining \str_new:N on line ...
 Defining \str_new:c on line ...
 Defining \str_use:N on line ...

Modified: trunk/l3kernel/testfiles/m3expl003.ptex.tlg
===================================================================
--- trunk/l3kernel/testfiles/m3expl003.ptex.tlg	2016-03-25 22:03:25 UTC (rev 6462)
+++ trunk/l3kernel/testfiles/m3expl003.ptex.tlg	2016-03-25 22:11:56 UTC (rev 6463)
@@ -348,8 +348,6 @@
 Defining \__tl_set_rescan:NnTF on line ...
 Defining \__tl_set_rescan_single:nn on line ...
 Defining \__tl_set_rescan_single_aux:nn on line ...
-Defining \tl_to_lowercase:n on line ...
-Defining \tl_to_uppercase:n on line ...
 Defining \tl_replace_once:Nnn on line ...
 Defining \tl_greplace_once:Nnn on line ...
 Defining \tl_replace_all:Nnn on line ...
@@ -574,6 +572,8 @@
 Defining \g_tmpb_tl on line ...
 Defining \l_tmpa_tl on line ...
 Defining \l_tmpb_tl on line ...
+Defining \tl_to_lowercase:n on line ...
+Defining \tl_to_uppercase:n on line ...
 Defining \str_new:N on line ...
 Defining \str_new:c on line ...
 Defining \str_use:N on line ...

Modified: trunk/l3kernel/testfiles/m3expl003.tlg
===================================================================
--- trunk/l3kernel/testfiles/m3expl003.tlg	2016-03-25 22:03:25 UTC (rev 6462)
+++ trunk/l3kernel/testfiles/m3expl003.tlg	2016-03-25 22:11:56 UTC (rev 6463)
@@ -348,8 +348,6 @@
 Defining \__tl_set_rescan:NnTF on line ...
 Defining \__tl_set_rescan_single:nn on line ...
 Defining \__tl_set_rescan_single_aux:nn on line ...
-Defining \tl_to_lowercase:n on line ...
-Defining \tl_to_uppercase:n on line ...
 Defining \tl_replace_once:Nnn on line ...
 Defining \tl_greplace_once:Nnn on line ...
 Defining \tl_replace_all:Nnn on line ...
@@ -574,6 +572,8 @@
 Defining \g_tmpb_tl on line ...
 Defining \l_tmpa_tl on line ...
 Defining \l_tmpb_tl on line ...
+Defining \tl_to_lowercase:n on line ...
+Defining \tl_to_uppercase:n on line ...
 Defining \str_new:N on line ...
 Defining \str_new:c on line ...
 Defining \str_use:N on line ...

Modified: trunk/l3kernel/testfiles/m3expl003.uptex.tlg
===================================================================
--- trunk/l3kernel/testfiles/m3expl003.uptex.tlg	2016-03-25 22:03:25 UTC (rev 6462)
+++ trunk/l3kernel/testfiles/m3expl003.uptex.tlg	2016-03-25 22:11:56 UTC (rev 6463)
@@ -348,8 +348,6 @@
 Defining \__tl_set_rescan:NnTF on line ...
 Defining \__tl_set_rescan_single:nn on line ...
 Defining \__tl_set_rescan_single_aux:nn on line ...
-Defining \tl_to_lowercase:n on line ...
-Defining \tl_to_uppercase:n on line ...
 Defining \tl_replace_once:Nnn on line ...
 Defining \tl_greplace_once:Nnn on line ...
 Defining \tl_replace_all:Nnn on line ...
@@ -574,6 +572,8 @@
 Defining \g_tmpb_tl on line ...
 Defining \l_tmpa_tl on line ...
 Defining \l_tmpb_tl on line ...
+Defining \tl_to_lowercase:n on line ...
+Defining \tl_to_uppercase:n on line ...
 Defining \str_new:N on line ...
 Defining \str_new:c on line ...
 Defining \str_use:N on line ...

Modified: trunk/l3kernel/testfiles/m3expl003.xetex.tlg
===================================================================
--- trunk/l3kernel/testfiles/m3expl003.xetex.tlg	2016-03-25 22:03:25 UTC (rev 6462)
+++ trunk/l3kernel/testfiles/m3expl003.xetex.tlg	2016-03-25 22:11:56 UTC (rev 6463)
@@ -348,8 +348,6 @@
 Defining \__tl_set_rescan:NnTF on line ...
 Defining \__tl_set_rescan_single:nn on line ...
 Defining \__tl_set_rescan_single_aux:nn on line ...
-Defining \tl_to_lowercase:n on line ...
-Defining \tl_to_uppercase:n on line ...
 Defining \tl_replace_once:Nnn on line ...
 Defining \tl_greplace_once:Nnn on line ...
 Defining \tl_replace_all:Nnn on line ...
@@ -574,6 +572,8 @@
 Defining \g_tmpb_tl on line ...
 Defining \l_tmpa_tl on line ...
 Defining \l_tmpb_tl on line ...
+Defining \tl_to_lowercase:n on line ...
+Defining \tl_to_uppercase:n on line ...
 Defining \str_new:N on line ...
 Defining \str_new:c on line ...
 Defining \str_use:N on line ...



More information about the latex3-commits mailing list