Skip to content

Commit

Permalink
Fix implementation of deprecated \tl_mixed_case:n(n)
Browse files Browse the repository at this point in the history
They were based on \text_titlecase:n(n) respectively, thus both need a
to-lowercase change before title-casing.
  • Loading branch information
muzimuzhi committed Jul 19, 2024
1 parent ab32c41 commit 6ad5e78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions l3kernel/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions l3kernel/l3deprecation.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
%
Expand Down

0 comments on commit 6ad5e78

Please sign in to comment.