[latex3-commits] [git/LaTeX3-latex3-babel] master: Bump to 3.49. (6f7dfdf)

Javier email at dante.de
Sat Oct 3 11:29:07 CEST 2020


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

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

commit 6f7dfdf61fb278e521ee8c16d39ea74f588561d2
Author: Javier <email at localhost>
Date:   Sat Oct 3 11:29:07 2020 +0200

    Bump to 3.49.


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

6f7dfdf61fb278e521ee8c16d39ea74f588561d2
 README.md              |   4 ++--
 babel.dtx              |  58 +++++++++++++++++++++++++++++++++++++++----------
 babel.ins              |   2 +-
 babel.pdf              | Bin 808331 -> 810453 bytes
 bbcompat.dtx           |   2 +-
 locale/km/babel-km.ini |   5 ++---
 locale/lo/babel-lo.ini |   5 ++---
 locale/th/babel-th.ini |   5 ++---
 8 files changed, 56 insertions(+), 25 deletions(-)

diff --git a/README.md b/README.md
index 7a3a19e..9c0dd6e 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.48.2145
+## Babel 3.49
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages.  Many
@@ -43,7 +43,7 @@ respective authors.
 
 ### Latest changes
 ```
-3.49   2020-09-22
+3.49   2020-10-03
        - Allow standard LaTeX syntax to recognize locales based on ini
          files in the most common cases.
        - frenchspacing is set with ini files.
diff --git a/babel.dtx b/babel.dtx
index 51e3d5b..73badc9 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -31,7 +31,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2020/09/29 v3.48.2145 The Babel package]
+\ProvidesFile{babel.dtx}[2020/10/03 v3.49 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -1304,9 +1304,8 @@ main exception being the |\...name| strings).
 Most of them set the date, and many also the captions (Unicode and
 LICR). They will be evolving with the time to add more features
 (something to keep in mind if backward compatibility is important). The
-following section shows how to make use of them currently (by means of
-|\babelprovide|), but a higher interface, based on package options, in
-under study. In other words, |\babelprovide| is mainly meant
+following section shows how to make use of them by means of
+|\babelprovide|. In other words, |\babelprovide| is mainly meant
 for auxiliary tasks, and as alternative when the |ldf|, for some
 reason, does work as expected.
 
@@ -1322,7 +1321,7 @@ reason, does work as expected.
 \usepackage{babel}
 _\babelprovide[import, main]{georgian}_
 
-\babelfont{rm}{DejaVu Sans}
+\babelfont{rm}[Renderer=Harfbuzz]{DejaVu Sans}
 
 \begin{document}
 
@@ -1337,6 +1336,36 @@ _\babelprovide[import, main]{georgian}_
 \endgroup
 \end{example}
 
+\New{3.49} Alternatively, you can tell babel to load all or some
+languages passed as options with |\babelprovide| and not from the |ldf|
+file in a few few typical cases. Thus, |provide=*| means ‘load the main
+language with the |\babelprovide| mechanism instead of the |ldf| file’
+applying the basic features, which in this case means |import,| |main|.
+There are (currently) three options:
+\begin{itemize}
+\item |provide=*| is the option just explained, for the main language;
+\item |provide+=*| is the same for additional languages (the main
+  language is still the |ldf| file);
+\item |provide*=*| is the same for all languages, ie, main and
+  additional.
+\end{itemize}
+
+\begin{example}
+  The preamble in the previous example can be more compactly written
+  as:
+\begin{verbatim}
+\documentclass{book}
+\usepackage[_georgian, provide=*_]{babel}
+\babelfont{rm}[Renderer=Harfbuzz]{DejaVu Sans}
+\end{verbatim}
+Or also:
+\begin{verbatim}
+\documentclass[_georgian_]{book}
+\usepackage[_provide=*_]{babel}
+\babelfont{rm}[Renderer=Harfbuzz]{DejaVu Sans}
+\end{verbatim}
+\end{example}
+
 \begin{note}
   The \texttt{ini} files just define and set some parameters, but the
   corresponding behavior is not always implemented. Also, there are
@@ -4747,8 +4776,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.48.2145>>
-%<<date=2020/09/29>>
+%<<version=3.49>>
+%<<date=2020/10/03>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -5339,13 +5368,17 @@ help from Bernd Raichle, for which I am grateful.
 \DeclareOption{silent}{}
 \DeclareOption{mono}{}
 \DeclareOption{shorthands=off}{\bbl at tempa shorthands=\bbl at tempa}
-% Don't use. Experimental. TODO.
-\newif\ifbbl at single
-\DeclareOption{selectors=off}{\bbl at singletrue}
 \chardef\bbl at iniflag\z@
-\DeclareOption{provide=*}{\chardef\bbl at iniflag\@ne}     % main -> +1
+\DeclareOption{provide=*}{\chardef\bbl at iniflag\@ne}    % main -> +1
 \DeclareOption{provide+=*}{\chardef\bbl at iniflag\tw@}   % add = 2
 \DeclareOption{provide*=*}{\chardef\bbl at iniflag\thr@@} % add + main
+% Don't use. Experimental. TODO.
+\newif\ifbbl at single
+\DeclareOption{selectors=off}{\bbl at singletrue}
+\DeclareOption{provide@=*}{} % autoload with cat @=letter
+\makeatother
+\DeclareOption{provide@=*}{} % autoload with cat @=other
+\makeatletter
 <@More package options@>
 %    \end{macrocode}
 %
@@ -6789,6 +6822,7 @@ help from Bernd Raichle, for which I am grateful.
 \else
   \ifodd\bbl at iniflag  % case 1,3
     \bbl at ldfinit
+    \let\CurrentOption\bbl at opt@main
     \bbl at exp{\\\babelprovide[import,main]{\bbl at opt@main}}
     \bbl at afterldf{}%
   \else % case 0,2
@@ -10757,7 +10791,7 @@ help from Bernd Raichle, for which I am grateful.
     \gdef\<#1hyphenmins>{%
       {\bbl at ifunset{bbl at lfthm@#1}{2}{\bbl at cs{lfthm@#1}}}%
       {\bbl at ifunset{bbl at rgthm@#1}{3}{\bbl at cs{rgthm@#1}}}}}%
-  % == hyphenrules == TODO. In both new and renew, so-
+  % == hyphenrules ==
   \bbl at provide@hyphens{#1}%
   % == frenchspacing == (only if new)
   \bbl at ifunset{bbl at frspc@#1}{}%
diff --git a/babel.ins b/babel.ins
index 50468a1..3112ec6 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{2020/09/29}
+\def\filedate{2020/10/03}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index 59c44c0..85865d7 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 02e3f6d..09bc92e 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2020/09/29 v3.48.2145]
+\ProvidesFile{bbcompat.dtx}[2020/10/03 v3.49]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/locale/km/babel-km.ini b/locale/km/babel-km.ini
index 42bfdf2..71e1c95 100644
--- a/locale/km/babel-km.ini
+++ b/locale/km/babel-km.ini
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.7
-date = 2020-06-30
+version = 1.8
+date = 2020-09-30
 name.local = ខ្មែរ
 name.english = Khmer
 name.babel = khmer
@@ -145,7 +145,6 @@ exhyphenchar =
 preexhyphenchar = 
 postexhyphenchar = 
 hyphenationmin = 
-justify = s
 intraspace = 0 .1 0
 linebreaking = s
 
diff --git a/locale/lo/babel-lo.ini b/locale/lo/babel-lo.ini
index 40ed380..8ed2333 100644
--- a/locale/lo/babel-lo.ini
+++ b/locale/lo/babel-lo.ini
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.6
-date = 2020-06-30
+version = 1.7
+date = 2020-09-30
 name.local = ລາວ
 name.english = Lao
 name.babel = lao
@@ -123,7 +123,6 @@ exhyphenchar =
 preexhyphenchar = 
 postexhyphenchar = 
 hyphenationmin = 
-justify = s
 intraspace = 0 .1 0
 linebreaking = s
 
diff --git a/locale/th/babel-th.ini b/locale/th/babel-th.ini
index 540520a..58fbe84 100644
--- a/locale/th/babel-th.ini
+++ b/locale/th/babel-th.ini
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.6
-date = 2020-06-30
+version = 1.7
+date = 2020-09-30
 name.local = ไทย
 name.english = Thai
 name.babel = thai
@@ -161,7 +161,6 @@ exhyphenchar =
 preexhyphenchar = 
 postexhyphenchar = 
 hyphenationmin = 
-justify = s
 intraspace = 0 .1 0
 linebreaking = s
 





More information about the latex3-commits mailing list.