[latex3-commits] [git/LaTeX3-latex3-latex3] main: Correct ISO names (b74750a16)
Joseph Wright
joseph.wright at morningstar2.co.uk
Sun May 1 14:15:47 CEST 2022
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/b74750a16dab16c8b1cdceca32e9ca1a6e7e3123
>---------------------------------------------------------------
commit b74750a16dab16c8b1cdceca32e9ca1a6e7e3123
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Sun May 1 13:15:47 2022 +0100
Correct ISO names
Technically breaking but we can live with this.
>---------------------------------------------------------------
b74750a16dab16c8b1cdceca32e9ca1a6e7e3123
l3kernel/CHANGELOG.md | 3 +++
l3kernel/l3text-case.dtx | 22 +++++++++++-----------
l3kernel/testfiles/m3text002.lvt | 8 ++++----
3 files changed, 18 insertions(+), 15 deletions(-)
diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index a534386b8..33fd84809 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Fixed
+- Correct `el-xiota` and `de-xeszett` to `el-x-iota` and `de-x-eszett`
+
## [2022-04-29]
### Added
diff --git a/l3kernel/l3text-case.dtx b/l3kernel/l3text-case.dtx
index 887071e39..148f1de4c 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-xeszett:nnnN, \@@_change_case_upper_de-alt:nnnN}
-% \begin{macro}[EXP]{\@@_change_case_upper_de-xeszett:nnnNN}
+% \begin{macro}[EXP]{\@@_change_case_upper_de-x-eszett:nnnN, \@@_change_case_upper_de-alt:nnnN}
+% \begin{macro}[EXP]{\@@_change_case_upper_de-x-eszett: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-xeszett:nnnN } #1#2#3#4
+ \cs_new:cpn { @@_change_case_upper_de-x-eszett:nnnN } #1#2#3#4
{
\int_compare:nNnTF { `#4 } = { "00DF }
{
@@ -753,16 +753,16 @@
}
}
{
- \cs_new:cpx { @@_change_case_upper_de-xeszett:nnnN } #1#2#3#4
+ \cs_new:cpx { @@_change_case_upper_de-x-eszett:nnnN } #1#2#3#4
{
\exp_not:N \int_compare:nNnTF { `#4 } = { "00C3 }
{
- \exp_not:c { @@_change_case_upper_de-xeszett:nnnNN }
+ \exp_not:c { @@_change_case_upper_de-x-eszett:nnnNN }
{#1} {#2} {#3} #4
}
{ \exp_not:N \@@_change_case_char:nnnN {#1} {#2} {#3} #4 }
}
- \cs_new:cpn { @@_change_case_upper_de-xeszett:nnnNN } #1#2#3#4#5
+ \cs_new:cpn { @@_change_case_upper_de-x-eszett:nnnNN } #1#2#3#4#5
{
\int_compare:nNnTF { `#5 } = { "009F }
{
@@ -773,15 +773,15 @@
}
}
\cs_new_eq:cc { @@_change_case_upper_de-alt:nnnN }
- { @@_change_case_upper_de-xeszett:nnnN }
+ { @@_change_case_upper_de-x-eszett:nnnN }
% \end{macrocode}
% \end{macro}
% \end{macro}
%
% \begin{macro}[EXP]
-% {\@@_change_case_upper_el:nnnN, \@@_change_case_upper_el-xiota:nnnN}
+% {\@@_change_case_upper_el:nnnN, \@@_change_case_upper_el-x-iota:nnnN}
% \begin{macro}[EXP]
-% {\@@_change_case_upper_el:N, \@@_change_case_upper_el-xiota:N}
+% {\@@_change_case_upper_el:N, \@@_change_case_upper_el-x-iota:N}
% \begin{macro}[EXP]{\@@_change_case_upper_el:nnn}
% \begin{macro}[EXP]{\@@_change_case_upper_el:nnNw}
% \begin{macro}[EXP]{\@@_change_case_upper_el:NnnN}
@@ -833,14 +833,14 @@
{ \@@_change_case_char:nnnN {#1} {#2} {#3} #4 }
}
}
- \cs_new_eq:cN { @@_change_case_upper_el-xiota:nnnN }
+ \cs_new_eq:cN { @@_change_case_upper_el-x-iota:nnnN }
\@@_change_case_upper_el:nnnN
\cs_new:Npn \@@_change_case_upper_el:N #1
{
\char_generate:nn { "0399 }
{ \char_value_catcode:n { "0399 } }
}
- \cs_new:cpn { @@_change_case_upper_el-xiota:N } #1
+ \cs_new:cpn { @@_change_case_upper_el-x-iota:N } #1
{ \exp_not:n {#1} }
\cs_new:Npn \@@_change_case_upper_el:nnn #1#2#3
{ \@@_change_case_upper_el:nnNw {#2} {#3} #1 }
diff --git a/l3kernel/testfiles/m3text002.lvt b/l3kernel/testfiles/m3text002.lvt
index 5f670a138..d6b8f7da1 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-xeszett } { Fußball }
+ \text_uppercase:n { Fußball } \NEWLINE
+ \text_uppercase:nn { de-x-eszett } { Fußball }
}
\OMIT
@@ -187,9 +187,9 @@
\text_titlecase:nn { el } { ὈΔΥΣΣΕΎΣ } \NEWLINE
% Taken from luaotfload tests
\greektest:n { ῄ } \NEWLINE
- \text_uppercase:nn { el-xiota } { ῄ } \NEWLINE
+ \text_uppercase:nn { el-x-iota } { ῄ } \NEWLINE
\greektest:n { ῄ } \NEWLINE
- \text_uppercase:nn { el-xiota } { ῄ } \NEWLINE
+ \text_uppercase:nn { el-x-iota } { ῄ } \NEWLINE
}
\TESTEXP { Turkish/Azeri }
More information about the latex3-commits
mailing list.