[latex3-commits] [git/LaTeX3-latex3-babel] master: Bump to 3.60. (a690b84)

Javier email at dante.de
Wed Jun 2 17:38:03 CEST 2021


Repository : https://github.com/latex3/babel
On branch  : master
Link       : https://github.com/latex3/babel/commit/a690b84b87c34e94931abaf86eaac76d6a328fb7

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

commit a690b84b87c34e94931abaf86eaac76d6a328fb7
Author: Javier <email at localhost>
Date:   Wed Jun 2 17:38:03 2021 +0200

    Bump to 3.60.


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

a690b84b87c34e94931abaf86eaac76d6a328fb7
 README.md                                   |  26 +++++---------
 babel.dtx                                   |  54 ++++++++++++++--------------
 babel.ins                                   |   2 +-
 babel.pdf                                   | Bin 844145 -> 843759 bytes
 bbcompat.dtx                                |   2 +-
 locale/ar/babel-ar-DZ.ini                   |  11 ++++--
 locale/ar/babel-ar-MA.ini                   |  11 ++++--
 locale/ar/babel-ar-SY.ini                   |  11 ++++--
 locale/ar/babel-ar.ini                      |   4 +--
 locale/eu/babel-eu.ini                      |   8 +++--
 news-guides/news/whats-new-in-babel-3.60.md |  26 ++++++++++++++
 11 files changed, 99 insertions(+), 56 deletions(-)

diff --git a/README.md b/README.md
index 6bfec10..f901605 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.59.2387
+## Babel 3.60
 
 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.59 are described in:
+Changes in version 3.60 are described in:
 
-https://github.com/latex3/babel/blob/master/news-guides/news/whats-new-in-babel-3.59.md
+https://github.com/latex3/babel/blob/master/news-guides/news/whats-new-in-babel-3.60.md
 
 Apart from the manual, you can find information on some aspects of babel at:
 
@@ -46,20 +46,12 @@ respective authors.
 
 ### Summary of Latest changes
 ```
-3.60   2021-05-21
-       * Improved justification=kashida/elongated: lists, hboxes,
-         vowelized texts.
-       * Fixes:
-         - Underfull \hbox with amsmath (#133)
-         - Error with global options (#134)
-         
-       
-3.59   2021-05-16
-       * Tentative kashida with user-definable rules (via transforms).
-       * Fixes:
-         - \babel at texpdf inconsistently defined (#130)
-         - Partial fix for #131 (quotation with CJK).
-       * Removed doubleletter.hyphen (Norsk), which serves to nothing.
+3.60   2021-06-02
+       * A major fix for a bug with the latest LaTeX releases: class
+         options were messed up.
+       * Improved justification=kashida/elongated: lists, vowelized texts.
+       * Fix: Underfull \hbox with amsmath (#133).
+       * Improved the ini file for Basque (captions).
 ```
 
 ### Previous changes
diff --git a/babel.dtx b/babel.dtx
index 17ac8b6..257ecd3 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2021/05/29 v3.59.2387 The Babel package]
+\ProvidesFile{babel.dtx}[2021/06/02 v3.60 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -4968,8 +4968,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.59.2387>>
-%<<date=2021/05/29>>
+%<<version=3.60>>
+%<<date=2021/06/02>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -5436,14 +5436,14 @@ help from Bernd Raichle, for which I am grateful.
     Reported}}
 \def\@nolanerr#1{%
   \bbl at error
-    {You haven't defined the language #1\space yet.\\%
+    {You haven't defined the language '#1' yet.\\%
      Perhaps you misspelled it or your installation\\%
      is not complete}%
     {Your command will be ignored, type <return> to proceed}}
 \def\@nopatterns#1{%
   \bbl at warning
     {No hyphenation patterns were preloaded for\\%
-     the language `#1' into the format.\\%
+     the language '#1' into the format.\\%
      Please, configure your TeX system to add them and\\%
      rebuild the format. Now I will use the patterns\\%
      preloaded for \bbl at nulllanguage\space instead}}
@@ -5608,10 +5608,10 @@ help from Bernd Raichle, for which I am grateful.
     \bbl at csarg\edef{opt@#1}{#2}%
   \else
     \bbl at error
-     {Bad option `#1=#2'. Either you have misspelled the\\%
-      key or there is a previous setting of `#1'. Valid\\%
-      keys are, among others, `shorthands', `main', `bidi',\\%
-      `strings', `config', `headfoot', `safe', `math'.}%
+     {Bad option '#1=#2'. Either you have misspelled the\\%
+      key or there is a previous setting of '#1'. Valid\\%
+      keys are, among others, 'shorthands', 'main', 'bidi',\\%
+      'strings', 'config', 'headfoot', 'safe', 'math'.}%
      {See the manual for further details.}
   \fi}
 %    \end{macrocode}
@@ -6535,8 +6535,8 @@ help from Bernd Raichle, for which I am grateful.
 \else
   \ifnum\bbl at bidimode>100 \ifnum\bbl at bidimode<200
     \bbl at error
-      {The bidi method `basic' is available only in\\%
-       luatex. I'll continue with `bidi=default', so\\%
+      {The bidi method 'basic' is available only in\\%
+       luatex. I'll continue with 'bidi=default', so\\%
        expect wrong results}%
       {See the manual for further details.}%
     \let\bbl at beforeforeign\leavevmode
@@ -6837,7 +6837,7 @@ help from Bernd Raichle, for which I am grateful.
      \expandafter\let\expandafter\BabelModifiers
         \csname bbl at mod@\CurrentOption\endcsname}%
     {\bbl at error{%
-       Unknown option `\CurrentOption'. Either you misspelled it\\%
+       Unknown option '\CurrentOption'. Either you misspelled it\\%
        or the language definition file \CurrentOption.ldf was not found}{%
        Valid options are, among others: shorthands=, KeepShorthandsActive,\\%
        activeacute, activegrave, noconfigs, safe=, main=, math=\\%
@@ -6889,7 +6889,7 @@ help from Bernd Raichle, for which I am grateful.
              * Local config file \bbl at opt@config.cfg used^^J%
              *}}%
     {\bbl at error{%
-       Local config file `\bbl at opt@config.cfg' not found}{%
+       Local config file '\bbl at opt@config.cfg' not found}{%
        Perhaps you misspelled it.}}%
 \fi
 %    \end{macrocode}
@@ -7026,10 +7026,10 @@ help from Bernd Raichle, for which I am grateful.
   \expandafter\bbl at tempa\bbl at loaded,\@nnil
   \ifx\bbl at tempb\bbl at tempc\else
     \bbl at warning{%
-      Last declared language option is `\bbl at tempc',\\%
-      but the last processed one was `\bbl at tempb'.\\%
-      The main language cannot be set as both a global\\%
-      and a package option. Use `main=\bbl at tempc' as\\%
+      Last declared language option is '\bbl at tempc',\\%
+      but the last processed one was '\bbl at tempb'.\\%
+      The main language can't be set as both a global\\%
+      and a package option. Use 'main=\bbl at tempc' as\\%
       option. Reported}%
   \fi
 \else
@@ -7568,7 +7568,7 @@ help from Bernd Raichle, for which I am grateful.
   \bbl at iflanguage\languagename{%
      \expandafter\ifx\csname date\languagename\endcsname\relax
       \bbl at error
-        {Unknown language `\languagename'. Either you have\\%
+        {Unknown language '\languagename'. Either you have\\%
          misspelled its name, it has not been installed,\\%
          or you requested it in a previous run. Fix its name,\\%
          install it or just rerun the file, respectively. In\\%
@@ -7845,7 +7845,7 @@ help from Bernd Raichle, for which I am grateful.
   \bbl at iflanguage\languagename{%
     \expandafter\ifx\csname date\languagename\endcsname\relax
       \bbl at warning   % TODO - why a warning, not an error?
-        {Unknown language `#1'. Either you have\\%
+        {Unknown language '#1'. Either you have\\%
          misspelled its name, it has not been installed,\\%
          or you requested it in a previous run. Fix its name,\\%
          install it or just rerun the file, respectively. In\\%
@@ -8102,14 +8102,14 @@ help from Bernd Raichle, for which I am grateful.
     Reported}}
 \def\@nolanerr#1{%
   \bbl at error
-    {You haven't defined the language #1\space yet.\\%
+    {You haven't defined the language '#1' yet.\\%
      Perhaps you misspelled it or your installation\\%
      is not complete}%
     {Your command will be ignored, type <return> to proceed}}
 \def\@nopatterns#1{%
   \bbl at warning
     {No hyphenation patterns were preloaded for\\%
-     the language `#1' into the format.\\%
+     the language '#1' into the format.\\%
      Please, configure your TeX system to add them and\\%
      rebuild the format. Now I will use the patterns\\%
      preloaded for \bbl at nulllanguage\space instead}}
@@ -9195,7 +9195,7 @@ help from Bernd Raichle, for which I am grateful.
 %    \begin{macrocode}
 \def\@notshorthand#1{%
   \bbl at error{%
-    The character `\string #1' should be made a shorthand character;\\%
+    The character '\string #1' should be made a shorthand character;\\%
     add the command \string\useshorthands\string{#1\string} to
     the preamble.\\%
     I will ignore your instruction}%
@@ -9238,7 +9238,7 @@ help from Bernd Raichle, for which I am grateful.
   \ifx#2\@nnil\else
     \bbl at ifunset{bbl at active@\string#2}%
       {\bbl at error
-         {I cannot switch `\string#2' on or off--not a shorthand}%
+         {I can't switch '\string#2' on or off--not a shorthand}%
          {This character is not a shorthand. Maybe you made\\%
           a typing mistake? I will ignore your instruction.}}%
       {\ifcase#1%   off, on, off*
@@ -10967,8 +10967,8 @@ help from Bernd Raichle, for which I am grateful.
   % For bidi texts, to switch the font based on direction
   \ifx\bbl at KVP@mapfont\@nil\else
     \bbl at ifsamestring{\bbl at KVP@mapfont}{direction}{}%
-      {\bbl at error{Option `\bbl at KVP@mapfont' unknown for\\%
-                  mapfont. Use `direction'.%
+      {\bbl at error{Option '\bbl at KVP@mapfont' unknown for\\%
+                  mapfont. Use 'direction'.%
                  {See the manual for details.}}}%
     \bbl at ifunset{bbl at lsys@\languagename}{\bbl at provide@lsys{\languagename}}{}%
     \bbl at ifunset{bbl at wdir@\languagename}{\bbl at provide@dirs{\languagename}}{}%
@@ -13783,8 +13783,8 @@ help from Bernd Raichle, for which I am grateful.
     Babel.arabic.elong_map[\the\localeid]   = {}
     luatexbase.add_to_callback('post_linebreak_filter',
       Babel.arabic.justify, 'Babel.arabic.justify')
-    luatexbase.add_to_callback('hpack_filter',
-      Babel.arabic.justify_hbox, 'Babel.arabic.justify_hbox')
+%     luatexbase.add_to_callback('hpack_filter',
+%       Babel.arabic.justify_hbox, 'Babel.arabic.justify_hbox')
   }}% 
 % Save both node lists to make replacement. TODO. Save also widths to
 % make computations
diff --git a/babel.ins b/babel.ins
index d0390c5..448f711 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{2021/05/29}
+\def\filedate{2021/06/02}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index 86da06b..a184df4 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index ae48d35..601f524 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2021/05/29 v3.59.2387]
+\ProvidesFile{bbcompat.dtx}[2021/06/02 v3.60]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/locale/ar/babel-ar-DZ.ini b/locale/ar/babel-ar-DZ.ini
index f32f321..25830fb 100644
--- a/locale/ar/babel-ar-DZ.ini
+++ b/locale/ar/babel-ar-DZ.ini
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.7
-date = 2020-10-11
+version = 1.8
+date = 2021-05-31
 name.local = العربية
 name.english = Arabic
 name.babel = arabic-algeria arabic-dz
@@ -177,3 +177,10 @@ superscriptingExponent = ×
 [counters]
 abjad = ا ب ج د ه‍ و ز ح ط ي ك ل م ن س ع ف ص ق ر ش ت ث خ ذ ض ظ غ
 maghrebi.abjad = ا ب ج د ه‍ و ز ح ط ي ك ل م ن ص ع ف ض ق ر س ت ث خ ذ ظ غ ش
+
+[transforms.prehyphenation]
+kashida.plain.1.0 ={
+()[يئهشسقفغعضصنمكلظطخحجثتب]()[ًٍَُِّ]*[يئهشسقفغعضصنمكلظطخحجثتباأإآوؤذدزرة] }
+kashida.plain.1.1 = { kashida = 500 }
+kashida.plain.2.0 = { ()ل()[اأإآ] }
+kashida.plain.2.1 = { kashida = 0 }
diff --git a/locale/ar/babel-ar-MA.ini b/locale/ar/babel-ar-MA.ini
index d21f555..df60cba 100644
--- a/locale/ar/babel-ar-MA.ini
+++ b/locale/ar/babel-ar-MA.ini
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.7
-date = 2020-10-11
+version = 1.8
+date = 2021-05-31
 name.local = العربية
 name.english = Arabic
 name.babel = arabic-morocco arabic-ma
@@ -177,3 +177,10 @@ superscriptingExponent = ×
 [counters]
 abjad = ا ب ج د ه‍ و ز ح ط ي ك ل م ن س ع ف ص ق ر ش ت ث خ ذ ض ظ غ
 maghrebi.abjad = ا ب ج د ه‍ و ز ح ط ي ك ل م ن ص ع ف ض ق ر س ت ث خ ذ ظ غ ش
+
+[transforms.prehyphenation]
+kashida.plain.1.0 ={
+()[يئهشسقفغعضصنمكلظطخحجثتب]()[ًٍَُِّ]*[يئهشسقفغعضصنمكلظطخحجثتباأإآوؤذدزرة] }
+kashida.plain.1.1 = { kashida = 500 }
+kashida.plain.2.0 = { ()ل()[اأإآ] }
+kashida.plain.2.1 = { kashida = 0 }
diff --git a/locale/ar/babel-ar-SY.ini b/locale/ar/babel-ar-SY.ini
index df02218..fd55a5f 100644
--- a/locale/ar/babel-ar-SY.ini
+++ b/locale/ar/babel-ar-SY.ini
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.7
-date = 2020-10-11
+version = 1.8
+date = 2021-05-31
 name.local = العربية
 name.english = Arabic
 name.babel = arabic-syria arabic-sy
@@ -177,3 +177,10 @@ superscriptingExponent = ×
 abjad = ا ب ج د ه‍ و ز ح ط ي ك ل م ن س ع ف ص ق ر ش ت ث خ ذ ض ظ غ
 maghrebi.abjad = ا ب ج د ه‍ و ز ح ط ي ك ل م ن ص ع ف ض ق ر س ت ث خ ذ ظ غ ش
 
+[transforms.prehyphenation]
+kashida.plain.1.0 ={
+()[يئهشسقفغعضصنمكلظطخحجثتب]()[ًٍَُِّ]*[يئهشسقفغعضصنمكلظطخحجثتباأإآوؤذدزرة] }
+kashida.plain.1.1 = { kashida = 500 }
+kashida.plain.2.0 = { ()ل()[اأإآ] }
+kashida.plain.2.1 = { kashida = 0 }
+
diff --git a/locale/ar/babel-ar.ini b/locale/ar/babel-ar.ini
index 4fd06a1..6aba96a 100644
--- a/locale/ar/babel-ar.ini
+++ b/locale/ar/babel-ar.ini
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.10
-date = 2021-05-16
+version = 1.11
+date = 2021-05-31
 name.local = العربية
 name.english = Arabic
 name.babel = arabic
diff --git a/locale/eu/babel-eu.ini b/locale/eu/babel-eu.ini
index 3fd225f..6921928 100644
--- a/locale/eu/babel-eu.ini
+++ b/locale/eu/babel-eu.ini
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.2
-date = 2020-06-30
+version = 1.3
+date = 2021-05-31
 name.local = euskara
 name.english = Basque
 name.babel = basque
@@ -33,13 +33,17 @@ preface = Hitzaurrea
 ref = Erreferentziak
 abstract = Laburpena
 bib = Bibliografia
+chapter.template = [chapter].[ ][[chapter]]
 chapter = Kapitulua
 appendix = Eranskina
+appendix.template = [chapter].[ ][[appendix]]
 contents = Gaien Aurkibidea
 listfigure = Irudien Zerrenda
 listtable = Taulen Zerrenda
 index = Kontzeptuen Aurkibidea
+figure.template = [figure].[ ][[figure]]
 figure = Irudia
+table.template = [table].[ ][[table]]
 table = Taula
 part = Atala
 encl = Erantsia
diff --git a/news-guides/news/whats-new-in-babel-3.60.md b/news-guides/news/whats-new-in-babel-3.60.md
new file mode 100644
index 0000000..fd8bd0d
--- /dev/null
+++ b/news-guides/news/whats-new-in-babel-3.60.md
@@ -0,0 +1,26 @@
+# What's new in babel 3.60
+
+2021-06-02
+
+## Global options were messed up
+
+This is a fix for a critical bug (#134).
+
+For the languages to be recognized in class options, `babel` used a trick
+which was, admittedly a bit faulty. It used to work, but with the
+latest changes in the LaTeX kernel class options were messed up, and
+many documents were spoilt.
+
+## Improvements in Arabic justification
+
+Lists are now correctly formatted when Arabic justification is enabled.
+
+The predefined transform `kashida.plain` is also available in `ar-DZ`,
+`ar-MA`, `ar-SY`. Vowels are taken into account.
+
+## Other changes
+
+* Fix #133. Underfull \hbox with amsmath
+* Locale `ini` for Basque has templates for the chapter, appendix,
+  figure and table captions, to place the number before.
+





More information about the latex3-commits mailing list.