[latex3-commits] [git/LaTeX3-latex3-babel] main: Bump to 3.78. Islamic calendar in Persian. (72a3a36)

Javier email at dante.de
Wed Jul 20 17:08:55 CEST 2022


Repository : https://github.com/latex3/babel
On branch  : main
Link       : https://github.com/latex3/babel/commit/72a3a361b62a10f42eb74b611f9876c98b8de66d

>---------------------------------------------------------------

commit 72a3a361b62a10f42eb74b611f9876c98b8de66d
Author: Javier <email at localhost>
Date:   Wed Jul 20 17:08:55 2022 +0200

    Bump to 3.78. Islamic calendar in Persian.


>---------------------------------------------------------------

72a3a361b62a10f42eb74b611f9876c98b8de66d
 README.md                        |  24 ++++------------
 babel.dtx                        |  59 ++++-----------------------------------
 babel.ins                        |   2 +-
 babel.pdf                        | Bin 884360 -> 883440 bytes
 bbcompat.dtx                     |   2 +-
 locale/fa/babel-fa.ini           |  15 ++++++++++
 samples/lua-thai.pdf             | Bin 36292 -> 60352 bytes
 testfiles/bbl-safe-babelsave.tlg |   2 +-
 testfiles/tlb-catalan.tlg        |   2 ++
 testfiles/tlb-safeb.tlg          |   2 +-
 testfiles/tlb-safen.tlg          |   2 +-
 testfiles/tlb-safer.tlg          |   2 +-
 testfiles/tlb2247.tlg            |   2 ++
 testfiles/tlb3004.tlg            |   8 +++---
 testfiles/tlb3224.tlg            |   4 +--
 15 files changed, 42 insertions(+), 84 deletions(-)

diff --git a/README.md b/README.md
index 0a34dcb..371dcfb 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.77.2788
+## 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,27 +46,13 @@ respective authors.
 
 ### Summary of latest changes
 ```
-3.78   2022.??-?? (dev)
-       * Fixes
+3.78   2022-07-20
+       * Fix: Undefined \bbl at 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.
-       
-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.
 ```
 
 ### Previous changes
diff --git a/babel.dtx b/babel.dtx
index 0e09552..d9ebe75 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2022/07/04 v3.77.2788 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.2788>>
-%<<date=2022/07/04>>
+%<<version=3.78>>
+%<<date=2022/07/20>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -13106,53 +13106,6 @@ help from Bernd Raichle, for which I am grateful.
 %
 %    \begin{macrocode}
 \def\bbl at 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 at ifblank{#1}%
-    {\bbl at csarg\def{sname@#2}{Latin}}%
-    {\bbl at csarg\def{sname@#2}{#1}}%
-  \bbl at provide@dirs{#2}%
-  \bbl at csarg\ifnum{wdir@#2}>\z@
-    \let\bbl at beforeforeign\leavevmode
-    \EnableBabelHook{babel-bidi}%
-  \fi
-  \bbl at foreach{#2}{%
-    \bbl at FSstore{##1}{rm}\rmdefault\bbl at save@rmdefault
-    \bbl at FSstore{##1}{sf}\sfdefault\bbl at save@sfdefault
-    \bbl at FSstore{##1}{tt}\ttdefault\bbl at save@ttdefault}}
-\def\bbl at FSstore#1#2#3#4{%
-  \bbl at csarg\edef{#2default#1}{#3}%
-  \expandafter\addto\csname extras#1\endcsname{%
-    \let#4#3%
-    \ifx#3\f at 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 at family
-      \fontfamily{#4}\selectfont
-    \fi
-    \let#3#4}}
-\let\bbl at langfeatures\@empty
-\def\babelFSfeatures{% make sure \fontspec is redefined once
-  \let\bbl at ori@fontspec\fontspec
-  \renewcommand\fontspec[1][]{%
-    \bbl at ori@fontspec[\bbl at langfeatures##1]}
-  \let\babelFSfeatures\bbl at FSfeatures
-  \babelFSfeatures}
-\def\bbl at FSfeatures#1#2{%
-  \expandafter\addto\csname extras#1\endcsname{%
-    \babel at save\bbl at langfeatures
-    \edef\bbl at langfeatures{#2,}}}
 %<</Font selection>>
 %    \end{macrocode}
 %
diff --git a/babel.ins b/babel.ins
index 5d28ab3..13a22de 100644
--- a/babel.ins
+++ b/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/07/04}
+\def\filedate{2022/07/20}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index cf4d971..8d2d9a7 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 52218f4..c8f85ad 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2022/07/04 v3.77.2788]
+\ProvidesFile{bbcompat.dtx}[2022/07/20 v3.78]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/locale/fa/babel-fa.ini b/locale/fa/babel-fa.ini
index 3b64f82..e783ff7 100644
--- a/locale/fa/babel-fa.ini
+++ b/locale/fa/babel-fa.ini
@@ -136,6 +136,21 @@ months.narrow.10  = د
 months.narrow.11  = ب
 months.narrow.12  = ا
 
+[date.islamic]
+date.long = [d] [MMMM] [y]
+months.wide.1     = محرم
+months.wide.2     = صفر
+months.wide.3     = ربیع‌الاول
+months.wide.4     = ربیع‌الثانی
+months.wide.5     = جمادی‌الاول
+months.wide.6     = جمادی‌الثانی
+months.wide.7     = رجب
+months.wide.8     = شعبان
+months.wide.9     = رمضان
+months.wide.10    = شوال
+months.wide.11    = ذیقعدهٔ
+months.wide.12    = ذیحجهٔ
+
 [time.gregorian]
 time.medium = [H]:[mm]:[ss]
 time.short = [H]:[mm]
diff --git a/samples/lua-thai.pdf b/samples/lua-thai.pdf
index 31b3e25..76294bc 100644
Binary files a/samples/lua-thai.pdf and b/samples/lua-thai.pdf differ
diff --git a/testfiles/bbl-safe-babelsave.tlg b/testfiles/bbl-safe-babelsave.tlg
index c0266c2..37e6232 100644
--- a/testfiles/bbl-safe-babelsave.tlg
+++ b/testfiles/bbl-safe-babelsave.tlg
@@ -15,5 +15,5 @@ Package babel Info: Making ^ an active character on input line ....
 LaTeX Font Info:    Trying to load font information for T2A+cmr on input line ....
 \th = macro:->\T1-cmd \th \T1\th 
 \th = macro:->\T1-cmd \th \T1\th 
-\ref = macro:#1->\expandafter \@setref \csname r@#1\endcsname \@firstoftwo {#1}
+\ref = \protected macro:->\__cmd_start:nNNnnn {s}\ref  \ref code {\__cmd_grab_t:w *}{}{}
 \nocite = macro:#1->\@safe at activestrue \org at nocite {#1}\@safe at activesfalse 
diff --git a/testfiles/tlb-catalan.tlg b/testfiles/tlb-catalan.tlg
index 58018b8..6deaa1d 100644
--- a/testfiles/tlb-catalan.tlg
+++ b/testfiles/tlb-catalan.tlg
@@ -27,6 +27,8 @@ Package: babel
 ..\penalty 10000
 ..\glue(\parfillskip) 0.0 plus 1.0fil
 ..\glue(\rightskip) 0.0
+.\marks2{\protect \foreignlanguage {catalan}{\protect \bbl at restore@actives \protect \ETC.}
+.\marks3{\protect \foreignlanguage {catalan}{\protect \bbl at restore@actives \protect \ETC.}
 .\mark{{}{\protect \foreignlanguage {catalan}{\protect \bbl at restore@actives \ETC.}
 .\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
 .\penalty 10000
diff --git a/testfiles/tlb-safeb.tlg b/testfiles/tlb-safeb.tlg
index b8c570a..2409a06 100644
--- a/testfiles/tlb-safeb.tlg
+++ b/testfiles/tlb-safeb.tlg
@@ -5,5 +5,5 @@ Format: LaTeX2e <2011/06/27>
 Main Class: article
 Package: babel
     Options: nil,safe=bib
-\ref = macro:#1->\expandafter \@setref \csname r@#1\endcsname \@firstoftwo {#1}
+\ref = \protected macro:->\__cmd_start:nNNnnn {s}\ref  \ref code {\__cmd_grab_t:w *}{}{}
 \nocite = macro:#1->\@safe at activestrue \org at nocite {#1}\@safe at activesfalse 
diff --git a/testfiles/tlb-safen.tlg b/testfiles/tlb-safen.tlg
index 746fe9c..b716a01 100644
--- a/testfiles/tlb-safen.tlg
+++ b/testfiles/tlb-safen.tlg
@@ -5,5 +5,5 @@ Format: LaTeX2e <2011/06/27>
 Main Class: article
 Package: babel
     Options: nil,safe=none
-\ref = macro:#1->\expandafter \@setref \csname r@#1\endcsname \@firstoftwo {#1}
+\ref = \protected macro:->\__cmd_start:nNNnnn {s}\ref  \ref code {\__cmd_grab_t:w *}{}{}
 \nocite = macro:#1->\@bsphack \ifx \@onlypreamble \document \@for \@citeb :=#1\do {\edef \@citeb {\expandafter \@firstofone \@citeb }\if at filesw \immediate \write \@auxout {\string \citation {\@citeb }}\fi \@ifundefined {b@\@citeb }{\G at refundefinedtrue \@latex at warning {Citation `\@citeb ' undefined}}{}}\else \AddToHook {begindocument/end}[kernel]{\nocite {#1}}\fi \@esphack 
diff --git a/testfiles/tlb-safer.tlg b/testfiles/tlb-safer.tlg
index 481369d..892bf3d 100644
--- a/testfiles/tlb-safer.tlg
+++ b/testfiles/tlb-safer.tlg
@@ -5,5 +5,5 @@ Format: LaTeX2e <2011/06/27>
 Main Class: article
 Package: babel
     Options: nil,safe=ref
-\ref = macro:->\protect \ref  
+\ref = \protected macro:->\__cmd_start:nNNnnn {s}\ref  \ref code {\__cmd_grab_t:w *}{}{}
 \nocite = macro:#1->\@bsphack \ifx \@onlypreamble \document \@for \@citeb :=#1\do {\edef \@citeb {\expandafter \@firstofone \@citeb }\if at filesw \immediate \write \@auxout {\string \citation {\@citeb }}\fi \@ifundefined {b@\@citeb }{\G at refundefinedtrue \@latex at warning {Citation `\@citeb ' undefined}}{}}\else \AddToHook {begindocument/end}[kernel]{\nocite {#1}}\fi \@esphack 
diff --git a/testfiles/tlb2247.tlg b/testfiles/tlb2247.tlg
index 1b2d439..6808f01 100644
--- a/testfiles/tlb2247.tlg
+++ b/testfiles/tlb2247.tlg
@@ -16,6 +16,8 @@ Package: babel
 .\vbox(0.0+0.0)x0.0
 .\penalty -10001
 .\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline \ETC.}
+.\marks1{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \protect \ETC.}
+.\marks2{\prg_do_nothing: }
 .\mark{{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \protect \ETC.}
 .\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 .\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
diff --git a/testfiles/tlb3004.tlg b/testfiles/tlb3004.tlg
index 768c8b5..4647208 100644
--- a/testfiles/tlb3004.tlg
+++ b/testfiles/tlb3004.tlg
@@ -22,6 +22,8 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 .\vbox(0.0+0.0)x0.0
 .\penalty -10001
 .\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberline \ETC.}
+.\marks1{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \protect \ETC.}
+.\marks2{\prg_do_nothing: }
 .\mark{{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \protect \ETC.}
 .\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
 .\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
@@ -119,11 +121,9 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ..\penalty 10000
 ..\glue(\parfillskip) 0.0 plus 1.0fil
 ..\glue(\rightskip) 0.0
+.\marks2{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \protect \ETC.}
+.\marks3{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \protect \ETC.}
 .\mark{{\protect \foreignlanguage {russian}{\protect \bbl at restore@actives \protect \ETC.}
-.\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
-.\penalty 10000
-.\glue 9.90276 plus 0.86108
-.\glue(\parskip) 0.0 plus 1.0
 .etc.
 ! OK.
 l. ...}\showbox0
diff --git a/testfiles/tlb3224.tlg b/testfiles/tlb3224.tlg
index 9dc8c2f..b39515c 100644
--- a/testfiles/tlb3224.tlg
+++ b/testfiles/tlb3224.tlg
@@ -27,7 +27,7 @@ l. ...\testit{See \pageref{first:one}}
 .\hbox(0.0+0.0)x0.0
 ! OK.
 l. ......{\equal{a}{a}}{See \pageref{first:one}}{}}
-* Before nested \ifthenelse: macro:->\protect \pageref  
+* Before nested \ifthenelse: \protected macro:->\__cmd_start:nNNnnn {s}\pageref  \pageref code {\__cmd_grab_t:w *}{}{}
 > \box...=
 \hbox(6.83331+0.0)x22.7778
 .\OT1/cmr/m/n/10 S
@@ -44,6 +44,6 @@ l. ...
 \hbox(0.0+0.0)x0.0
 ! OK.
 l. ...}{}}
-* After nested \ifthenelse: macro:->\protect \pageref  
+* After nested \ifthenelse: \protected macro:->\__cmd_start:nNNnnn {s}\pageref  \pageref code {\__cmd_grab_t:w *}{}{}
 [1
 ] (tlb3224.aux)





More information about the latex3-commits mailing list.