[latex3-commits] [latex3/latex3] develop: Fix implementation of deprecated `\tl_mixed_case:n(n)` (b837524a7)
github at latex-project.org
github at latex-project.org
Fri Jul 19 17:31:24 CEST 2024
Repository : https://github.com/latex3/latex3
On branch : develop
Link : https://github.com/latex3/latex3/commit/b837524a7a7f859920644bd06e4d39759141cb00
>---------------------------------------------------------------
commit b837524a7a7f859920644bd06e4d39759141cb00
Author: Yukai Chou <muzimuzhi at gmail.com>
Date: Fri Jul 19 22:43:02 2024 +0800
Fix implementation of deprecated `\tl_mixed_case:n(n)`
Sync their implementation with that of \text_titlecase:n(n).
>---------------------------------------------------------------
b837524a7a7f859920644bd06e4d39759141cb00
l3kernel/CHANGELOG.md | 3 +++
l3kernel/l3deprecation.dtx | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 3696c567d..4596760e8 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Fixed
+- Implementation of deprecated `\tl_mixed_case:n(n)`
+
## [2024-06-19]
### Fixed
diff --git a/l3kernel/l3deprecation.dtx b/l3kernel/l3deprecation.dtx
index 56ddcebe9..1809ac358 100644
--- a/l3kernel/l3deprecation.dtx
+++ b/l3kernel/l3deprecation.dtx
@@ -505,10 +505,10 @@
{ \text_uppercase:nn {#1} {#2} }
\__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \text_titlecase_first:n }
\cs_new:Npn \tl_mixed_case:n #1
- { \text_titlecase_first:n {#1} }
+ { \text_titlecase_first:n { \text_lowercase:n {#1} } }
\__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \text_titlecase_first:nn }
\cs_new:Npn \tl_mixed_case:nn #1#2
- { \text_titlecase_first:nn {#1} {#2} }
+ { \text_titlecase_first:nn {#1} { \text_lowercase:n {#2} } }
% \end{macrocode}
% \end{macro}
%
More information about the latex3-commits
mailing list.