[latex3-commits] [git/LaTeX3-latex3-latex3] main: Rename "de-alt" to "de-xeszett" (01599936a)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Apr 28 16:39:33 CEST 2022


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

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

commit 01599936aeefb2ad0860db2663011258b7fe9d36
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Apr 28 15:39:33 2022 +0100

    Rename "de-alt" to "de-xeszett"


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

01599936aeefb2ad0860db2663011258b7fe9d36
 l3kernel/CHANGELOG.md            |  2 ++
 l3kernel/l3text-case.dtx         | 14 ++++++++------
 l3kernel/l3text.dtx              |  2 +-
 l3kernel/testfiles/m3text002.lvt |  4 ++--
 4 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 223049810..53e01867e 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -8,6 +8,8 @@ this project uses date-based 'snapshot' version identifiers.
 ## [Unreleased]
 
 ### Changed
+- Rename case-changing variant `de-alt` to `de-xeszett` to align with
+  `luaotfload`
 - Allow for `\lccode`/`\uccode` changes in `\char_...case:n` functions
 
 ## [2022-04-20]
diff --git a/l3kernel/l3text-case.dtx b/l3kernel/l3text-case.dtx
index e9b3bf586..cf7681a04 100644
--- a/l3kernel/l3text-case.dtx
+++ b/l3kernel/l3text-case.dtx
@@ -732,15 +732,15 @@
 % \end{macro}
 % \end{macro}
 %
-% \begin{macro}[EXP]{\@@_change_case_upper_de-alt:nnnN}
-% \begin{macro}[EXP]{\@@_change_case_upper_de-alt:nnnNN}
+% \begin{macro}[EXP]{\@@_change_case_upper_de-xeszett:nnnN}, \@@_change_case_upper_de-alt:nnnN}
+% \begin{macro}[EXP]{\@@_change_case_upper_de-xeszett:nnnNN}
 %   A simple alternative version for German.
 %    \begin{macrocode}
 \bool_lazy_or:nnTF
   { \sys_if_engine_luatex_p: }
   { \sys_if_engine_xetex_p: }
   {
-    \cs_new:cpn { @@_change_case_upper_de-alt:nnnN } #1#2#3#4
+    \cs_new:cpn { @@_change_case_upper_de-xeszett:nnnN } #1#2#3#4
       {
         \int_compare:nNnTF { `#4 } = { "00DF }
           {
@@ -753,16 +753,16 @@
       }
   }
   {
-    \cs_new:cpx { @@_change_case_upper_de-alt:nnnN } #1#2#3#4
+    \cs_new:cpx { @@_change_case_upper_de-xeszett:nnnN } #1#2#3#4
       {
         \exp_not:N \int_compare:nNnTF { `#4 } = { "00C3 }
           {
-            \exp_not:c { @@_change_case_upper_de-alt:nnnNN }
+            \exp_not:c { @@_change_case_upper_de-xeszett:nnnNN }
               {#1} {#2} {#3} #4
           }
           { \exp_not:N \@@_change_case_char:nnnN {#1} {#2} {#3} #4 }
       }
-    \cs_new:cpn { @@_change_case_upper_de-alt:nnnNN } #1#2#3#4#5
+    \cs_new:cpn { @@_change_case_upper_de-xeszett:nnnNN } #1#2#3#4#5
       {
         \int_compare:nNnTF { `#5 } = { "009F }
           {
@@ -772,6 +772,8 @@
           { \@@_change_case_char:nnnN {#1} {#2} {#3} #4#5 }
       }
   }
+\cs_new_eq:cc { @@_change_case_upper_de-alt:nnnN }
+  { @@_change_case_upper_de-xeszett:nnnN }
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
diff --git a/l3kernel/l3text.dtx b/l3kernel/l3text.dtx
index caa3ba34a..63d5eca00 100644
--- a/l3kernel/l3text.dtx
+++ b/l3kernel/l3text.dtx
@@ -154,7 +154,7 @@
 %       The case pairs I/i-dotless and I-dot/i are activated for these
 %       languages. The combining dot mark is removed when lowercasing
 %       I-dot and introduced when upper casing i-dotless.
-%     \item German (\texttt{de-alt}).
+%     \item German (\texttt{de-xeszett}).
 %       An alternative mapping for German in which the lowercase
 %       \emph{Eszett} maps to a \emph{gro\ss{}es Eszett}. Since there is
 %       a |T1| slot for the \emph{gro\ss{}es Eszett} in |T1|, this
diff --git a/l3kernel/testfiles/m3text002.lvt b/l3kernel/testfiles/m3text002.lvt
index a62765fc1..c5f18a2d3 100644
--- a/l3kernel/testfiles/m3text002.lvt
+++ b/l3kernel/testfiles/m3text002.lvt
@@ -151,8 +151,8 @@
 
 \TESTEXP { German-alternative }
   {
-    \text_uppercase:n             { Fußball } \NEWLINE
-    \text_uppercase:nn { de-alt } { Fußball }
+    \text_uppercase:n                 { Fußball } \NEWLINE
+    \text_uppercase:nn { de-xeszett } { Fußball }
   }
 
 \OMIT





More information about the latex3-commits mailing list.