summaryrefslogtreecommitdiff
path: root/macros/latex/required/babel
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-07-21 03:00:45 +0000
committerNorbert Preining <norbert@preining.info>2022-07-21 03:00:45 +0000
commit5cf5182b44c08dfb2bc977ce5aa5ca6d03b36923 (patch)
treeb32d29c9fb1289ccc994ee099b27c4a45b621a0a /macros/latex/required/babel
parent2773132ea593028dafe764f7560fd94ecb827d3d (diff)
CTAN sync 202207210300
Diffstat (limited to 'macros/latex/required/babel')
-rw-r--r--macros/latex/required/babel/base/README.md26
-rw-r--r--macros/latex/required/babel/base/babel.dtx62
-rw-r--r--macros/latex/required/babel/base/babel.ins2
-rw-r--r--macros/latex/required/babel/base/babel.pdfbin885137 -> 883440 bytes
-rw-r--r--macros/latex/required/babel/base/bbcompat.dtx2
5 files changed, 20 insertions, 72 deletions
diff --git a/macros/latex/required/babel/base/README.md b/macros/latex/required/babel/base/README.md
index 74e4830b48..371dcfb50d 100644
--- a/macros/latex/required/babel/base/README.md
+++ b/macros/latex/required/babel/base/README.md
@@ -1,4 +1,4 @@
-## Babel 3.77
+## Babel 3.78
This package manages culturally-determined typographical (and other)
rules, and hyphenation patterns for a wide range of languages. Many
@@ -8,9 +8,9 @@ is a set of ini files for about 250 languages.
The latest stable version is available on <https://ctan.org/pkg/babel>.
-Changes in version 3.77 are described in:
+Changes in version 3.78 are described in:
-https://latex3.github.io/babel/news/whats-new-in-babel-3.77.html
+https://latex3.github.io/babel/news/whats-new-in-babel-3.78.html
Apart from the manual, you can find information on some aspects of babel at:
@@ -46,19 +46,13 @@ respective authors.
### Summary of latest changes
```
-3.77 2022-06-26
- * More on calendar conversions (\localedate, \today).
- * New calendars: 'coptic' (ar-EG, cop), 'buddhist' (th).
- * New Arabic locale for Saudi Arabia, with the Umm al-Qura
- calendar.
- * Date now defaults to 'persian' in a few locales: Persian,
- Northern Luri, Mazanderani, Pashto.
- * `bangla` is now the preferred name for `bengali`.
- * Attempt to deal with 'german' and 'swissgerman', whose names
- conflict with the CLDR ones.
- * More minor updates to the CLDR 41: Afrikaans, Arabic, Assamese,
- Asturian, Azerbaijani, Belarusian, Bulgarian, Bangla, Tibetan,
- Breton, Bodo, Bosnian, Catalan, English.
+3.78 2022-07-20
+ * Fix: Undefined \bbl@xenohyph with Thai (#182).
+ * More minor updates to the CLDR 41: Chechen, Cherokee, Central
+ Kurdish, Czech, Welsh, Danish, German, Lower Sorbian,
+ Dzongkha, Ewe, Greek, Esperanto, Spanish, Estonian, Persian,
+ Finnish, Filipino, Faroese, Western Frisian, Irish, Scottish
+ Gaelic.
```
### Previous changes
diff --git a/macros/latex/required/babel/base/babel.dtx b/macros/latex/required/babel/base/babel.dtx
index 21493d3f4e..d9ebe75a44 100644
--- a/macros/latex/required/babel/base/babel.dtx
+++ b/macros/latex/required/babel/base/babel.dtx
@@ -32,7 +32,7 @@
%
% \iffalse
%<*filedriver>
-\ProvidesFile{babel.dtx}[2022/06/26 v3.77 The Babel package]
+\ProvidesFile{babel.dtx}[2022/07/20 v3.78 The Babel package]
\documentclass{ltxdoc}
\GetFileInfo{babel.dtx}
\usepackage{fontspec}
@@ -3116,9 +3116,9 @@ font encodings are the same, like in Unicode based engines.
\end{note}
\begin{note}
- To set hyphenation exceptions in the preamble before any language is
- explicitly set with a selector, use |\babelhyphenation| instead of
- |\hyphenation|. In the preamble the hyphenation rules are not always
+ Use |\babelhyphenation| instead of |\hyphenation| to set hyphenation
+ exceptions in the preamble before any language is explicitly set with
+ a selector. In the preamble the hyphenation rules are not always
fully set up and an error can be raised.
\end{note}
@@ -5171,8 +5171,8 @@ help from Bernd Raichle, for which I am grateful.
% \section{Tools}
%
% \begin{macrocode}
-%<<version=3.77>>
-%<<date=2022/06/26>>
+%<<version=3.78>>
+%<<date=2022/07/20>>
% \end{macrocode}
%
% \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -5947,6 +5947,7 @@ help from Bernd Raichle, for which I am grateful.
% \begin{macrocode}
\ifx\bbl@opt@safe\@undefined
\def\bbl@opt@safe{BR}
+ % \let\bbl@opt@safe\@empty % -- By September
\fi
% \end{macrocode}
%
@@ -10940,7 +10941,7 @@ help from Bernd Raichle, for which I am grateful.
{\bbl@exp{\\\bbl@ifblank{\bbl@cs{prehc@#1}}}%
{}%
{\ifx\bbl@xenohyph\@undefined
- \let\bbl@xenohyph\bbl@xenohyph@d
+ \global\let\bbl@xenohyph\bbl@xenohyph@d
\ifx\AtBeginDocument\@notprerr
\expandafter\@secondoftwo % to execute right now
\fi
@@ -13105,53 +13106,6 @@ help from Bernd Raichle, for which I am grateful.
%
% \begin{macrocode}
\def\bbl@font@fams{rm,sf,tt}
-% \end{macrocode}
-%
-% The old tentative way. Short and preverved for compatibility, but
-% deprecated. Note there is no direct alternative for
-% |\babelFSfeatures|. The reason in explained in the user guide, but
-% essentially -- that was not the way to go :-).
-%
-% \begin{macrocode}
-\newcommand\babelFSstore[2][]{%
- \bbl@ifblank{#1}%
- {\bbl@csarg\def{sname@#2}{Latin}}%
- {\bbl@csarg\def{sname@#2}{#1}}%
- \bbl@provide@dirs{#2}%
- \bbl@csarg\ifnum{wdir@#2}>\z@
- \let\bbl@beforeforeign\leavevmode
- \EnableBabelHook{babel-bidi}%
- \fi
- \bbl@foreach{#2}{%
- \bbl@FSstore{##1}{rm}\rmdefault\bbl@save@rmdefault
- \bbl@FSstore{##1}{sf}\sfdefault\bbl@save@sfdefault
- \bbl@FSstore{##1}{tt}\ttdefault\bbl@save@ttdefault}}
-\def\bbl@FSstore#1#2#3#4{%
- \bbl@csarg\edef{#2default#1}{#3}%
- \expandafter\addto\csname extras#1\endcsname{%
- \let#4#3%
- \ifx#3\f@family
- \edef#3{\csname bbl@#2default#1\endcsname}%
- \fontfamily{#3}\selectfont
- \else
- \edef#3{\csname bbl@#2default#1\endcsname}%
- \fi}%
- \expandafter\addto\csname noextras#1\endcsname{%
- \ifx#3\f@family
- \fontfamily{#4}\selectfont
- \fi
- \let#3#4}}
-\let\bbl@langfeatures\@empty
-\def\babelFSfeatures{% make sure \fontspec is redefined once
- \let\bbl@ori@fontspec\fontspec
- \renewcommand\fontspec[1][]{%
- \bbl@ori@fontspec[\bbl@langfeatures##1]}
- \let\babelFSfeatures\bbl@FSfeatures
- \babelFSfeatures}
-\def\bbl@FSfeatures#1#2{%
- \expandafter\addto\csname extras#1\endcsname{%
- \babel@save\bbl@langfeatures
- \edef\bbl@langfeatures{#2,}}}
%<</Font selection>>
% \end{macrocode}
%
diff --git a/macros/latex/required/babel/base/babel.ins b/macros/latex/required/babel/base/babel.ins
index 007c7d6b9b..13a22deb6a 100644
--- a/macros/latex/required/babel/base/babel.ins
+++ b/macros/latex/required/babel/base/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{2022/06/26}
+\def\filedate{2022/07/20}
\def\batchfile{babel.ins}
\input docstrip.tex
diff --git a/macros/latex/required/babel/base/babel.pdf b/macros/latex/required/babel/base/babel.pdf
index 1e47810554..8d2d9a776d 100644
--- a/macros/latex/required/babel/base/babel.pdf
+++ b/macros/latex/required/babel/base/babel.pdf
Binary files differ
diff --git a/macros/latex/required/babel/base/bbcompat.dtx b/macros/latex/required/babel/base/bbcompat.dtx
index 5538587a42..c8f85ad5b6 100644
--- a/macros/latex/required/babel/base/bbcompat.dtx
+++ b/macros/latex/required/babel/base/bbcompat.dtx
@@ -30,7 +30,7 @@
%
% \iffalse
%<*dtx>
-\ProvidesFile{bbcompat.dtx}[2022/06/26 v3.77]
+\ProvidesFile{bbcompat.dtx}[2022/07/20 v3.78]
%</dtx>
%
%% File 'bbcompat.dtx'