[latex3-commits] [latex3/latex3] main: Correct a few "titlecase_once" (c8fcf38ab)

github at latex-project.org github at latex-project.org
Sat Oct 14 12:36:50 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/c8fcf38ab75c33172f08306c900e7be006a05691

>---------------------------------------------------------------

commit c8fcf38ab75c33172f08306c900e7be006a05691
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Oct 14 11:36:50 2023 +0100

    Correct a few "titlecase_once"


>---------------------------------------------------------------

c8fcf38ab75c33172f08306c900e7be006a05691
 l3kernel/l3deprecation.dtx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/l3kernel/l3deprecation.dtx b/l3kernel/l3deprecation.dtx
index 0f6babdae..a05e4725f 100644
--- a/l3kernel/l3deprecation.dtx
+++ b/l3kernel/l3deprecation.dtx
@@ -589,12 +589,12 @@
 \__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \text_uppercase:nn }
 \cs_gset:Npn \tl_upper_case:nn #1#2
   { \text_uppercase:nn {#1} {#2} }
-\__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \text_titlecase_once:n }
+\__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \text_titlecase_first:n }
 \cs_gset:Npn \tl_mixed_case:n #1
-  { \text_titlecase_once:n {#1} }
-\__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \text_titlecase_once:nn }
+  { \text_titlecase_first:n {#1} }
+\__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \text_titlecase_first:nn }
 \cs_gset:Npn \tl_mixed_case:nn #1#2
-  { \text_titlecase_once:nn {#1} {#2} }
+  { \text_titlecase_first:nn {#1} {#2} }
 %    \end{macrocode}
 % \end{macro}
 %
@@ -644,8 +644,8 @@
 \cs_gset:Npn \char_lower_case:N { \text_lowercase:n }
 \__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \text_uppercase:n }
 \cs_gset:Npn \char_upper_case:N { \text_uppercase:n }
-\__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \text_titlecase_once:n }
-\cs_gset:Npn \char_mixed_case:N { \text_titlecase_once:n }
+\__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \text_titlecase_first:n }
+\cs_gset:Npn \char_mixed_case:N { \text_titlecase_first:n }
 \__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \str_casefold:n }
 \cs_gset:Npn \char_fold_case:N { \str_casefold:n }
 \__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \str_lowercase:n }





More information about the latex3-commits mailing list.