summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2025-02-02 20:56:23 +0000
committerKarl Berry <karl@freefriends.org>2025-02-02 20:56:23 +0000
commit7b472dd48c47e27d78281816ad44b9e2701a99c1 (patch)
tree7fb2360f0311e513db20fb39a3a8a4199aac678a /Master/texmf-dist/source
parent08b0746432f1e79e41c89bdb353aad78ef71b472 (diff)
babel (2feb25)
git-svn-id: svn://tug.org/texlive/trunk@73699 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/babel/babel.dtx116
-rw-r--r--Master/texmf-dist/source/latex/babel/babel.ins2
-rw-r--r--Master/texmf-dist/source/latex/babel/bbcompat.dtx2
-rw-r--r--Master/texmf-dist/source/latex/babel/locale.zipbin1102215 -> 1115502 bytes
4 files changed, 60 insertions, 60 deletions
diff --git a/Master/texmf-dist/source/latex/babel/babel.dtx b/Master/texmf-dist/source/latex/babel/babel.dtx
index 509e62d4070..424dfe4c717 100644
--- a/Master/texmf-dist/source/latex/babel/babel.dtx
+++ b/Master/texmf-dist/source/latex/babel/babel.dtx
@@ -37,7 +37,7 @@
lang = en-001,
}
\ProvidesFile{babel.dtx}%
- [2025/01/25 v25.2
+ [2025/02/02 v25.3
The multilingual framework for pdfLaTeX, LuaLaTeX and XeLaTeX]
\documentclass{ltxdoc}
\GetFileInfo{babel.dtx}
@@ -113,12 +113,12 @@
\ifnum\bbltempa>2 \ifnum\bbltempb>34
\href{https://latex3.github.io/babel/news/%
whats-new-in-babel-\bbltempa.\bbltempb.html}%
- {\raisebox{.15ex}{$\oplus$}}%
+ {\scriptsize ※}%
\fi\fi
\ifnum\bbltempa>23
\href{https://latex3.github.io/babel/news/%
whats-new-in-babel-\bbltempa.\bbltempb.html}%
- {\raisebox{.15ex}{$\oplus$}}%
+ {\scriptsize ※}%
\fi}}}\enspace\ignorespaces}
\ExplSyntaxOff
\definecolor{thered}{rgb}{0.65,0.04,0.07}
@@ -340,7 +340,7 @@ of loading a language, which is usually all you need.
\item[\sffamily\color{messages}What if I’m interested only in the
latest changes?] Changes and new features with relation to version 3.8
are highlighted with \New{X.XX}\hspace{-.5em}
-(\raisebox{.15ex}{$\oplus$} is a link to the \babel{} site), and there
+({\scriptsize ※} is a link to the \babel{} site), and there
are some notes for the latest versions in
\href{https://latex3.github.io/babel/}{the \babel{} site}. The most
recent features can still be unstable. Remember version 24.1 follows
@@ -866,8 +866,15 @@ encoding files, a preprocessor or even a complete framework (like
\bigskip\hrule\nobreak
\makeatletter
-\def\tag#1#2{\par
- \hspace{-2em}\textcolor{thered}{\texttt{#1}}#2\enspace}
+\newcommand\tag[3][?]{\par
+ \hspace{-2em}\textcolor{thered}{\texttt{#2}}#3\enspace
+ \ifx\relax#1\relax\else
+ \ifx?#1%
+ \href{https://ctan.org/pkg/babel-#2}{\scriptsize ※}%
+ \else
+ \href{https://ctan.org/pkg/#1}{\scriptsize ※}%
+ \fi
+ \fi}
\def\subtag#1#2{\par
\hspace{-1em}\texttt{#1}#2\enspace}
\def\subtagalt#1#2{\par
@@ -885,15 +892,16 @@ encoding files, a preprocessor or even a complete framework (like
Recommended names are set in \textcolor{thered}{red}.\\
Additional languages are set in \textcolor[gray]{.4}{gray}.\\
Discouraged and deprecated names are not included.\\
-There are some notes in a few languages.
+There are some notes in a few languages.\\
+The reference mark ({\scriptsize ※}) is a link to CTAN.
\bigskip\hrule\nobreak
\begin{multicols}{2}
\leftskip2em\parindent0pt
-\tag{afrikaans}{}
+\tag[babel-dutch]{afrikaans}{}
\tag{albanian}{}
-\tag{arabic}{}
+\tag[arabi]{arabic}{}
\note{Requires \textsf{arabi}.}
\tag{azerbaijani}{}
\tag{basque}{}
@@ -917,12 +925,12 @@ There are some notes in a few languages.
\tag{esperanto}{}
\tag{estonian}{}
\tagmin{ethiop}{} %%%%%%
-\tag{farsi}{}
+\tag[arabi]{farsi}{}
\note{Requires \textsf{arabi}.}
\tag{finnish}{}
\tag{french}{}
\subtagalt{acadian}{}
-\tag{friulian}{}
+\tag[babel-friulan]{friulian}{}
\tag{galician}{}
\tag{georgian}{}
\tag{german}{}
@@ -936,7 +944,7 @@ the names in the block \textsf{ngerman}.}
\subtagmin{ibycus}{}
\subtagmin{bgreek}{}
\tag{hebrew}{}
-\tag{hindi}{}
+\tag[devanagari]{hindi}{}
\note{Requires \textsf{velthuis}.}
\tag{hungarian}{}
\subtag{magyar}{}
@@ -953,36 +961,36 @@ the names in the block \textsf{ngerman}.}
% \subtagalt{ecclesiasticlatin}{}
\tag{latvian}{}
\tag{lithuanian}{}
-\tag{lowersorbian}{}
+\tag[babel-sorbian]{lowersorbian}{}
\tag{macedonian}{}
\tag{malay}{}
-\tag{mongolian}{}
-\tag{ngerman}{}
+\tag[mongolian-babel]{mongolian}{}
+\tag[babel-german]{ngerman}{}
\note{This block refers to the new ortography.}
\subtagalt{naustrian}{}
\subtagalt{nswissgerman}{}
\note{Swiss High German}
-\tag{northernsami}{}
-\tag{norwegian}{}
+\tag[babel-samin]{northernsami}{}
+\tag[babel-norsk]{norwegian}{}
\subtag{norsk}{}
-\tag{nynorsk}{}
+\tag[babel-norsk]{nynorsk}{}
\tag{occitan}{}
\tag{piedmontese}{}
\tagmin{pinyin}{}
\tag{polish}{}
-\tag{portuguese}{}
+\tag[babel-portuges]{portuguese}{}
\subtagalt{brazilian}{}
\tag{romanian}{}
\tag{romansh}{}
\tag{russian}{}
-\tag{scottishgaelic}{}
+\tag[babel-scottish]{scottishgaelic}{}
\subtag{scottish}{}
\tag{serbianc}{}
\note{Cyrillic script}
\subtagalt{serbian}{}
\note{Latin script}
\tag{slovak}{}
-\tag{slovene}{}
+\tag[]{slovene}{}
\tag{slovenian}{} %%%%%% <- and ini
\tag{spanglish}{}
\tag{spanish}{}
@@ -990,9 +998,9 @@ the names in the block \textsf{ngerman}.}
\tag{thai}{}
\subtagmin{thaicjk}{}
\tag{turkish}{}
-\tag{turkmen}{}
+\tag[turkmen]{turkmen}{}
\tag{ukrainian}{}
-\tag{uppersorbian}{}
+\tag[sorbian]{uppersorbian}{}
\tag{vietnamese}{}
\tag{welsh}{}
\end{multicols}
@@ -1000,21 +1008,6 @@ the names in the block \textsf{ngerman}.}
\hrule
\bigskip
-% \begin{note}
-% There are also some deprecated names (a few has been even removed):
-% \textsf{frenchb} or \textsf{francais}, as well as \textsf{canadien}
-% (\textsf{french}), \textsf{germanb} (\textsf{german}),
-% \textsf{bahasa}, \textsf{indon} or \textsf{bahasai}
-% (\textsf{indonesian}), \textsf{lsorbian} (\textsf{lowersorbian}),
-% \textsf{bahasam} (\textsf{malay}), \textsf{portuges}
-% (\textsf{portuguese}), \textsf{brazil} (\textsf{brazilian}),
-% \textsf{russianb} (\textsf{russian}), \textsf{usorbian}
-% (\textsf{uppersorbian}), \textsf{vietnam} (\textsf{vietnamese}),
-% \textsf{samin} (\textsf{northernsami}), \textsf{ukraineb}
-% (\textsf{ukrainian}). Deprecated names come in many cases from the
-% times when they had to be shortened to 8 characters.
-% \end{note}
-
\begin{example}
An example of a language requiring a preprocessor and a separate
package is \texttt{hindi}. If you have got the
@@ -1045,8 +1038,8 @@ Following the current common practice (for example, the Unicode CLDR),
all locales are organized in a flat structure. This eases their
identification and customization.
-Many locale are quite usable, provided captions and dates are
-not required (which is a very frequent case, particularly in ancient
+Many locale are quite usable, provided captions and dates are not
+required (which is a very frequent case, particularly in ancient
languages). So, they are included in the default \babel{} distribution.
This can serve to encourage contributions, too. A warning will remember
they are ‘bare minimum locales’. They are set in
@@ -1058,7 +1051,8 @@ they are ‘bare minimum locales’. They are set in
\makeatletter
\def\tag#1#2#3{\par
\hspace{-2em}\textcolor{thered}{\texttt{#1}}#2\enspace
- \mbox{\footnotesize(#3)}}
+ \mbox{\footnotesize(#3)}\enspace
+ \href{https://latex3.github.io/babel/guides/locale-#1.html}{\scriptsize ※}}
\def\subtag#1#2#3{\par
\hspace{-1em}\texttt{#1}#2\enspace
\mbox{\footnotesize(#3)}}
@@ -1067,7 +1061,8 @@ they are ‘bare minimum locales’. They are set in
\mbox{\footnotesize(#3)}}
\def\tagmin#1#2#3{\par
\hspace{-2em}\textcolor[gray]{.4}{\texttt{#1}}#2\enspace
- \mbox{\footnotesize(#3)}}
+ \mbox{\footnotesize(#3)}\enspace
+ \href{https://latex3.github.io/babel/guides/locale-#1.html}{\scriptsize ※}}
\def\subtagmin#1#2#3{\par
\hspace{-1em}\textcolor[gray]{.4}{\texttt{#1}}#2\enspace
\mbox{\footnotesize(#3)}}
@@ -1084,7 +1079,8 @@ highlighted), prefer the full forms.\\
Bare minimum locales are set in \textcolor[gray]{.4}{gray}.\\
Discouraged and deprecated names are not included.\\
\hascapu{} means Unicode captions; \hascapl{} means LICR captions.\\
-There are some notes in a few locales.
+There are some notes in a few locales.\\
+The reference mark ({\scriptsize ※}) is a link to the \babel{} site.
\bigskip\hrule\nobreak
@@ -1157,6 +1153,7 @@ language from \texttt{greek}.}
\tag{belarusian}{\hascapu\hascapl}{be}
\tag{bemba}{}{bem}
\tag{bena}{}{bez}
+\tag{betawi}{}{bew}
\tag{bhojpuri}{}{bho}
\tag{blin}{}{byn}
\tag{bodo}{}{brx}
@@ -1225,10 +1222,12 @@ Egypt, with tag \texttt{ar-EG}.}
\tag{english}{\hascapu\hascapl}{en}
\subtagalt{american}{\hascapu\hascapl}{en-US}
\subtag{americanenglish}{\hascapu\hascapl}{en-US}
+\subtag{usenglish}{\hascapu\hascapl}{en-US}
\subtagalt{australian}{\hascapu\hascapl}{en-AU}
\subtag{australianenglish}{\hascapu\hascapl}{en-AU}
\subtagalt{british}{\hascapu\hascapl}{en-GB}
\subtag{britishenglish}{\hascapu\hascapl}{en-GB}
+\subtag{ukenglish}{\hascapu\hascapl}{en-GB}
\subtagalt{canadian}{\hascapu\hascapl}{en-CA}
\subtag{canadianenglish}{\hascapu\hascapl}{en-CA}
\subtag{english-australia}{\hascapu\hascapl}{en-AU}
@@ -1238,6 +1237,7 @@ Egypt, with tag \texttt{ar-EG}.}
\subtag{english-unitedkingdom}{\hascapu\hascapl}{en-GB}
\subtag{english-gb}{\hascapu\hascapl}{en-GB}
\subtag{english-newzealand}{\hascapu\hascapl}{en-NZ}
+\subtag{newzealand}{\hascapu\hascapl}{en-NZ}
\subtag{english-unitedstates}{\hascapu\hascapl}{en-US}
\subtag{english-nz}{\hascapu\hascapl}{en-NZ}
\subtag{english-us}{\hascapu\hascapl}{en-US}
@@ -1297,7 +1297,8 @@ with tag \texttt{gsw} is a different language.}
\tag{hebrew}{\hascapu\hascapl}{he}
\tag{hindi}{\hascapu}{hi}
\tag{hmongnjua}{}{hnj}
-\tag{hungarian}{\hascapu\hascapl\hascapl\hascapl}{hu}
+\tag{hungarian}{\hascapu\hascapl}{hu}
+\subtag{magyar}{\hascapu\hascapl}{hu}
\tag{icelandic}{\hascapu\hascapl}{is}
\tag{igbo}{}{ig}
\tag{inarisami}{}{smn}
@@ -1319,6 +1320,7 @@ with tag \texttt{gsw} is a different language.}
\tag{kalaallisut}{}{kl}
\tag{kalenjin}{}{kln}
\tag{kamba}{}{kam}
+\tag{kangri}{}{xnr}
\tag{kannada}{\hascapu}{kn}
\tag{kashmiri}{}{ks}
\tag{kazakh}{}{kk}
@@ -1362,11 +1364,11 @@ with tag \texttt{gsw} is a different language.}
\tag{luyia}{}{luy}
\tag{macedonian}{\hascapu\hascapl}{mk}
\tag{machame}{}{jmc}
-\tag{magyar}{\hascapu\hascapl\hascapl\hascapl}{hu}
\tag{maithili}{}{mai}
\tagmin{makasar}{}{mak}
\subtagmin{makasar-bugi}{}{mak-Bugi}
\subtagmin{makasar-buginese}{}{mak-Bugi}
+\tag{makhuwa}{}{vmw}
\tag{makhuwameetto}{}{mgh}
\tag{makonde}{}{kde}
\tag{malagasy}{}{mg}
@@ -1395,7 +1397,6 @@ with tag \texttt{gsw} is a different language.}
\tagmin{navajo}{}{nv}
\tag{nepali}{}{ne}
\tagmin{newari}{}{new}
-\tag{newzealand}{\hascapu\hascapl}{en-NZ}
% \tag{ngerman}{\hascapu\hascapl}{de}
\tag{ngiemboon}{}{nnh}
\tag{ngomba}{}{jgo}
@@ -1417,7 +1418,6 @@ with tag \texttt{gsw} is a different language.}
\note{In the CLDR, \texttt{norwegianbokmal} (nb) just inherites from
\texttt{norwegian}, so use the latter.}
% \tag{norwegianbokmal}{\hascapu\hascapl}{nb}
-\tag{nswissgerman}{\hascapu\hascapl}{de-CH}
\tag{nuer}{}{nus}
\tag{nyanja}{}{ny}
\tag{nyankole}{}{nyn}
@@ -1429,6 +1429,7 @@ with tag \texttt{gsw} is a different language.}
\tagmin{olduighur}{}{oui}
% \tag{oriya}{\hascapu}{or}
\tag{oromo}{}{om}
+\tag{osage}{}{osa}
\tag{ossetic}{}{os}
\tag{papiamento}{}{pap}
\tag{pashto}{}{ps}
@@ -1570,12 +1571,9 @@ in Switzerland.}
\tag{turkish}{\hascapu\hascapl}{tr}
\tag{turkmen}{\hascapu\hascapl}{tk}
\tag{tyap}{}{kcg}
-\tag{ukenglish}{\hascapu\hascapl}{en-GB}
\tag{ukrainian}{\hascapu\hascapl}{uk}
\tag{uppersorbian}{\hascapu\hascapl}{hsb}
\tag{urdu}{\hascapu}{ur}
-\tag{usenglish}{\hascapu\hascapl}{en-US}
-\tag{usorbian}{\hascapu\hascapl}{hsb}
\tag{uyghur}{\hascapu}{ug}
\tag{uzbek}{}{uz}
\subtag{uzbek-arabic}{}{uz-Arab}
@@ -1590,6 +1588,7 @@ in Switzerland.}
\subtag{vai-vai}{}{vai-Vaii}
\subtag{vai-vaii}{}{vai-Vaii}
\tag{venda}{}{ve}
+\tag{venetian}{}{vec}
\tag{vietnamese}{\hascapu\hascapl}{vi}
\tag{volapuk}{}{vo}
\tag{vunjo}{}{vun}
@@ -1604,6 +1603,7 @@ in Switzerland.}
\tag{yiddish}{}{yi}
\tag{yoruba}{}{yo}
\tag{zarma}{}{dje}
+\tag{zhuang}{}{za}
\tag{zulu}{}{zu}
\end{multicols}
\endgroup
@@ -1746,7 +1746,7 @@ replace the red line above with, say:
\end{example}
\begin{example}
-Thanks to this high level interface to |fontenc|, the roman fonts for
+Thanks to this high level interface to |fontspec|, the roman fonts for
all secondary languages in the Cyrillic and Greek scripts can be set
at once with the following single line:
\setengine{luatex/xetex}
@@ -5205,7 +5205,7 @@ is far from exhaustive):
\subsection{Indexing}
For multilingual indexing, see \textsf{upmendex} and \textsf{xindex},
-currently preferred to \textit{xindy}.
+currently preferred to \textsf{xindy}.
\section{Tentative and experimental code}
@@ -6035,8 +6035,8 @@ wouldn’t exist.
% \section{Tools}
%
% \begin{macrocode}
-%<<version=25.2>>
-%<<date=2025/01/25>>
+%<<version=25.3>>
+%<<date=2025/02/02>>
% \end{macrocode}
%
% \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -9274,9 +9274,9 @@ wouldn’t exist.
\def\bbl@hyphen{%
\@ifstar{\bbl@hyphen@i @}{\bbl@hyphen@i\@empty}}
\def\bbl@hyphen@i#1#2{%
- \bbl@ifunset{bbl@hy@#1#2\@empty}%
+ \lowercase{\bbl@ifunset{bbl@hy@#1#2\@empty}}%
{\csname bbl@#1usehyphen\endcsname{\discretionary{#2}{}{#2}}}%
- {\csname bbl@hy@#1#2\@empty\endcsname}}
+ {\lowercase{\csname bbl@hy@#1#2\@empty\endcsname}}}
% \end{macrocode}
%
% The following two commands are used to wrap the ``hyphen'' and
@@ -11229,8 +11229,8 @@ wouldn’t exist.
\edef\bbl@tempe{%
\bbl@ifunset{bbl@calpr@\languagename}{}{\bbl@cl{calpr}},%
#1}%
+ \bbl@exp{\lowercase{\edef\\\bbl@tempe{\bbl@tempe}}}%
\bbl@replace\bbl@tempe{ }{}%
- \bbl@replace\bbl@tempe{CONVERT}{convert=}% Hackish
\bbl@replace\bbl@tempe{convert}{convert=}%
\let\bbl@ld@calendar\@empty
\let\bbl@ld@variant\@empty
@@ -14951,7 +14951,7 @@ wouldn’t exist.
local LOCALE = node.get_attribute(item,
Babel.attr_locale)
- local props = Babel.locale_props[LOCALE]
+ local props = Babel.locale_props[LOCALE] or {}
local class = Babel.cjk_class[item.char].c
diff --git a/Master/texmf-dist/source/latex/babel/babel.ins b/Master/texmf-dist/source/latex/babel/babel.ins
index c94d42ac84b..c404737cd23 100644
--- a/Master/texmf-dist/source/latex/babel/babel.ins
+++ b/Master/texmf-dist/source/latex/babel/babel.ins
@@ -26,7 +26,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%%
-\def\filedate{2025/01/25}
+\def\filedate{2025/02/02}
\def\batchfile{babel.ins}
\input docstrip.tex
diff --git a/Master/texmf-dist/source/latex/babel/bbcompat.dtx b/Master/texmf-dist/source/latex/babel/bbcompat.dtx
index 162d15cd98d..f287c7815f3 100644
--- a/Master/texmf-dist/source/latex/babel/bbcompat.dtx
+++ b/Master/texmf-dist/source/latex/babel/bbcompat.dtx
@@ -30,7 +30,7 @@
%
% \iffalse
%<*dtx>
-\ProvidesFile{bbcompat.dtx}[2025/01/25 v25.2]
+\ProvidesFile{bbcompat.dtx}[2025/02/02 v25.3]
%</dtx>
%
%% File 'bbcompat.dtx'
diff --git a/Master/texmf-dist/source/latex/babel/locale.zip b/Master/texmf-dist/source/latex/babel/locale.zip
index d5ca44216d6..c892a984cf6 100644
--- a/Master/texmf-dist/source/latex/babel/locale.zip
+++ b/Master/texmf-dist/source/latex/babel/locale.zip
Binary files differ