diff options
author | Karl Berry <karl@freefriends.org> | 2023-04-19 20:13:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-04-19 20:13:27 +0000 |
commit | 7205df83f0e5aba8062fbe04f85f9a5db4ddf04c (patch) | |
tree | 2ab0d6a7b7816c7b0bda554fc20bf68935d06778 /Master/texmf-dist/source/latex/l3kernel/l3text.dtx | |
parent | d529e97b80a83d8a5b94a1e551c8ecaf931164d6 (diff) |
l3 (19apr23)
git-svn-id: svn://tug.org/texlive/trunk@66896 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3text.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3text.dtx | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3text.dtx b/Master/texmf-dist/source/latex/l3kernel/l3text.dtx index eb5d2bede7a..40c8e5a6a2f 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3text.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3text.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2023-03-30} +% \date{Released 2023-04-19} % % \maketitle % @@ -102,7 +102,7 @@ % } % \begin{syntax} % \cs{text_uppercase:n} \Arg{tokens} -% \cs{text_uppercase:nn} \Arg{language} \Arg{tokens} +% \cs{text_uppercase:nn} \Arg{BCP-47} \Arg{tokens} % \end{syntax} % Takes user input \meta{text} first applies \cs{text_expand}, then % transforms the case of character tokens as specified by the @@ -145,9 +145,9 @@ % \texttt{SpecialCasing.txt}. For \pTeX{}, only the ASCII range is % covered as the engine treats input outside of this range as east Asian. % -% Language-sensitive conversions are enabled using the \meta{language} +% Locale-sensitive conversions are enabled using the \meta{BCP-47} % argument, and follow Unicode Consortium guidelines. Currently, the -% languages recognised for special handling are as follows. +% locale strings recognized for special handling are as follows. % \begin{itemize} % \item Armenian (\texttt{hy} and \texttt{hy-x-yiwn}) % The setting \texttt{hy} maps the codepoint U+0587, the ligature of @@ -172,7 +172,6 @@ % which converts the \textit{ypogegrammeni} (subscript muted iota) % to capital iota when uppercasing: the standard version retains the % subscript versions. -% capital iota. % \item Lithuanian (\texttt{lt}). % The lowercase letters i and j should retain a dot above when the % accents grave, acute or tilde are present. This is implemented for @@ -181,7 +180,7 @@ % combining dot is removed when uppercasing in these cases. Note that % \emph{only} the accents used in Lithuanian are covered: the behaviour % of other accents are not modified. -% \item Medieval Latin (\texttt{la-xmedieval}). +% \item Medieval Latin (\texttt{la-x-medieval}). % The characters |u| and |V| are interchanged on case changing. % \item Dutch (\texttt{nl}). % Capitalisation of \texttt{ij} at the beginning of titlecased @@ -217,6 +216,26 @@ % \meta{cmd} (a single token) is encountered during case changing. % \end{function} % +% \begin{function}[added = 2023-04-11] +% { +% \text_declare_lowercase_mapping:nn , +% \text_declare_lowercase_mapping:nnn , +% \text_declare_titlecase_mapping:nn , +% \text_declare_titlecase_mapping:nnn , +% \text_declare_uppercase_mapping:nn , +% \text_declare_uppercase_mapping:nnn +% } +% \begin{syntax} +% \cs{text_declare_lowercase_mapping:nn} \Arg{codeppoint} \Arg{replacement} +% \cs{text_declare_lowercase_mapping:nnn} \Arg{codeppoint} \Arg{BCP-47} \Arg{replacement} +% \end{syntax} +% Declares that the \meta{replacement} tokens should be used when case mapping +% the \meta{codepoint}, rather than the standard mapping given in the +% Unicode data files. The \texttt{nnn} version takes a BCP-47 tag, which +% can be used to specify that the customisation only applies to that +% locale. +% \end{function} +% % \begin{function}[EXP, added = 2022-07-04]{\text_case_switch:nnnn} % \begin{syntax} % \cs{text_case_switch:nnnn} \Arg{normal} \Arg{upper} \Arg{lower} \Arg{title} |