[latex3-commits] [git/LaTeX3-latex3-latex2e] case-lang: Just provide "lang" key at present (0b1a9ccd)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Oct 21 11:14:52 CEST 2022
Repository : https://github.com/latex3/latex2e
On branch : case-lang
Link : https://github.com/latex3/latex2e/commit/0b1a9ccd9769cd39adb7270de98a657bc6f8328f
>---------------------------------------------------------------
commit 0b1a9ccd9769cd39adb7270de98a657bc6f8328f
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Oct 21 10:14:52 2022 +0100
Just provide "lang" key at present
>---------------------------------------------------------------
0b1a9ccd9769cd39adb7270de98a657bc6f8328f
base/doc/ltnews36.tex | 4 ++--
base/doc/usrguide.tex | 4 ++--
base/ltfinal.dtx | 7 ++-----
3 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/base/doc/ltnews36.tex b/base/doc/ltnews36.tex
index 7c3c363b..d442bd52 100644
--- a/base/doc/ltnews36.tex
+++ b/base/doc/ltnews36.tex
@@ -214,8 +214,8 @@ The commands \cs{MakeUppercase}, \cs{MakeLowercase} and \cs{MakeTitlecase}
now automatically detect the locale currently in use when \pkg{babel} is
loaded. This allows automatic adjustment of letter mappings where appropriate.
They also accept a leading optional argument. This accepts a key--value list of
-control settings. At present, there are two keys available, bot of which
-provide equivalent functionality: \texttt{lang} and \texttt{bcp47}. These
+control settings. At present, there is one key available: \texttt{lang}.
+This
are intended to allow local setting of the language, which can be done using
a BCP-47 descriptor. For example, this could be used to force Turkic
case changing in otherwise English input
diff --git a/base/doc/usrguide.tex b/base/doc/usrguide.tex
index f27968da..f5516863 100644
--- a/base/doc/usrguide.tex
+++ b/base/doc/usrguide.tex
@@ -1167,8 +1167,8 @@ engines match those available in standard input encodings (|T1|, |T2|, |LGR|).
\end{quotation}
The case-changing commands take an optional argument which can be used to
-tailor the output. This optional argument accepts the keys \texttt{lang} or
-\texttt{bcp47}, which can be used to give a language identifier in BCP-47
+tailor the output. This optional argument accepts the key \texttt{lang},
+which can be used to give a language identifier in BCP-47
format. This is then applied to select language-specific features during
case-changing.
diff --git a/base/ltfinal.dtx b/base/ltfinal.dtx
index 67b1f10b..e1bab785 100644
--- a/base/ltfinal.dtx
+++ b/base/ltfinal.dtx
@@ -33,7 +33,7 @@
%<*driver>
% \fi
\ProvidesFile{ltfinal.dtx}
- [2022/08/29 v2.2w LaTeX Kernel (Final Settings)]
+ [2022/10/21 v2.2x LaTeX Kernel (Final Settings)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltfinal.dtx}
@@ -1117,10 +1117,7 @@
% \begin{macrocode}
\ExplSyntaxOn
\keys_define:nn { __kernel }
- {
- bcp47 .str_set:N = \reserved at a ,
- lang .str_set:N = \reserved at a
- }
+ { lang .str_set:N = \reserved at a }
\cs_new_protected:Npn \@@text at case@aux #1#2#3
{
\cs_set_nopar:Npn \reserved at a { }
More information about the latex3-commits
mailing list.