[latex3-commits] [latex3/latex3] gh984-titlecase-char-class: Some doc tweaks (9cc1b254f)

github at latex-project.org github at latex-project.org
Sun Oct 22 20:19:06 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : gh984-titlecase-char-class
Link       : https://github.com/latex3/latex3/commit/9cc1b254f59cc60b27818a5eeb07771f557af076

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

commit 9cc1b254f59cc60b27818a5eeb07771f557af076
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Oct 22 19:19:06 2023 +0100

    Some doc tweaks


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

9cc1b254f59cc60b27818a5eeb07771f557af076
 l3kernel/l3text-case.dtx | 4 ++--
 l3kernel/l3text.dtx      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/l3kernel/l3text-case.dtx b/l3kernel/l3text-case.dtx
index 4813de17a..29b672b81 100644
--- a/l3kernel/l3text-case.dtx
+++ b/l3kernel/l3text-case.dtx
@@ -696,8 +696,8 @@
     \@@_change_case_loop:nnnw {#2} {#3} {#4} #5
   }
 %    \end{macrocode}
-%   For titlecasing, we need to fully expand the new codepoint to see if it
-%   is a letter.
+%   For titlecasing, we need to obtain the general category of the current
+%   codepoint.
 %    \begin{macrocode}
 \cs_new:Npn \@@_change_case_codepoint_title:nnnn #1#2#3#4
   {
diff --git a/l3kernel/l3text.dtx b/l3kernel/l3text.dtx
index d969783d7..9607fd20f 100644
--- a/l3kernel/l3text.dtx
+++ b/l3kernel/l3text.dtx
@@ -190,8 +190,8 @@
 %  Determining whether non-letter characters at the start of text should count
 %  as the uppercase element is controllable. When
 %  \cs{l_text_titlecase_check_letter_bool} is \texttt{true}, codepoints which are
-%  not letters (Unicode general category \texttt{L}) are
-%  \enquote{skipped}: the first \emph{letter} is uppercased.
+%  not letters (Unicode general category \texttt{L}) are not changed, and only
+%  the first \emph{letter} is uppercased.
 %  When \cs{l_text_titlecase_check_letter_bool} is \texttt{false}, the first
 %  codepoint is uppercased, irrespective of the general code of the character.
 %





More information about the latex3-commits mailing list.