[latex3-commits] [git/LaTeX3-latex3-babel] main: Fix #182 wasn’t complete. (6cd4eb4)

Javier email at dante.de
Sat Oct 22 11:20:34 CEST 2022


Repository : https://github.com/latex3/babel
On branch  : main
Link       : https://github.com/latex3/babel/commit/6cd4eb45b97c12a338fa0226f371769c3fc521a1

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

commit 6cd4eb45b97c12a338fa0226f371769c3fc521a1
Author: Javier <email at localhost>
Date:   Sat Oct 22 11:20:34 2022 +0200

    Fix #182 wasn’t complete.


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

6cd4eb45b97c12a338fa0226f371769c3fc521a1
 README.md             |  27 ++++++++++++---------------
 babel.dtx             |  46 ++++++++++++----------------------------------
 babel.ins             |   2 +-
 babel.pdf             | Bin 886489 -> 885472 bytes
 bbcompat.dtx          |   2 +-
 testfiles/tlb39ab.tlg |   2 +-
 testfiles/tlb39ac.tlg |   2 +-
 7 files changed, 28 insertions(+), 53 deletions(-)

diff --git a/README.md b/README.md
index 074bac3..d94c51d 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.81.2888
+## Babel 3.81.2898
 
 **Development**
 
@@ -10,9 +10,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.81 are described in:
+Changes in version 3.82 are described in:
 
-https://latex3.github.io/babel/news/whats-new-in-babel-3.81.html
+https://latex3.github.io/babel/news/whats-new-in-babel-3.82.html
 
 Apart from the manual, you can find information on some aspects of babel at:
 
@@ -50,18 +50,15 @@ respective authors.
 ```
 3.82  (dev)
       * Predefined transforms can be activated after the first
-        \babelprovide.
-      * Fixes for \MakeXXXcase: a (hopefully) better hack for #189 (see
-        also #193).
-
-3.81  2022-10-04
-      * Tibetan line breaking and justification (lines padded with
-        trailing tshegs).
-      * New option 'letters' for 'onchar'.
-      * Conceal 'fontspec' warnings about unknown languages and
-        scripts with \babelfont.
-      * More updates to the CLDR 41: Burmese, Dutch, Kwasio, Malay,
-        Marathi, Mazanderani, Nepali, Norwegian, Norwegian Nynorsk.
+        \babelprovide (lua).
+      * Tibetan for XeTeX.
+      * More updates to the CLDR 41: Albanian, Kinyarwanda, Maltese,
+        Odia, Ossetic, Pashto, Polish, Portuguese, Punjabi, Romanian,
+        Romansh, Russian, Sakha, Sinhala, Slovak, Slovenian, Somali.
+      * Fixes:
+        - \MakeXXXcase: a (hopefully) better hack for #189 (see
+          also #193).
+        - Thai (with xetex): #182 wasn’t quite fixed.
 ```
 
 ### Previous changes
diff --git a/babel.dtx b/babel.dtx
index 4a51b6a..6f9fdd0 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2022/10/12 v3.81.2888 The Babel package]
+\ProvidesFile{babel.dtx}[2022/10/22 v3.81.2898 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -1232,18 +1232,6 @@ are incompatibilities with other packages.
 written to the log file.\footnote{You can use alternatively the
 package \textsf{silence}.}
 
-\Describe{strings=}{\texttt{generic} $\string|$ \texttt{unicode}
-$\string|$ \texttt{encoded} $\string|$ \meta{label} $\string|$
-\meta{font encoding}} Selects the encoding of strings in languages
-supporting this feature. Predefined labels are |generic| (for
-traditional \TeX, LICR and ASCII strings), |unicode| (for engines like
-\xetex{} and \luatex) and |encoded| (for special cases requiring mixed
-encodings). Other allowed values are font encoding codes (|T1|, |T2A|,
-|LGR|, |L7X|...), but only in languages supporting them. Be aware with
-|encoded| captions are protected, but they work in |\MakeUppercase|
-and the like (this feature misuses some internal \LaTeX\ tools, so use
-it only as a last resort).
-
 \Describe{hyphenmap=}{\texttt{off} $\string|$ \texttt{first}
 $\string|$ \texttt{select} $\string|$ \texttt{other} $\string|$
 \texttt{other*}}
@@ -2503,11 +2491,11 @@ If the language has been loaded as an argument in |\documentclass| or
 Unicode engines load the UTF-8 variants, while 8-bit engines load the
 LICR (ie, with macros like |\'| or |\ss|) ones.
 
-\New{3.23} It may be used without a value. In such a case, the |ini|
-file set in the corresponding |babel-<language>.tex| (where
-|<language>| is the last argument in |\babelprovide|) is imported. See
-the list of recognized languages above. So, the previous example can 
-be written:
+\New{3.23} It may be used without a value, and that is often the
+recommended option. In such a case, the |ini| file set in the
+corresponding |babel-<language>.tex| (where |<language>| is the last
+argument in |\babelprovide|) is imported. See the list of recognized
+languages above. So, the previous example is best written as:
 \begin{verbatim}
 \babelprovide[_import_]{hungarian}
 \end{verbatim}
@@ -2616,8 +2604,7 @@ it acts on characters, not on spaces). There are currently two
 ‘actions’, which can be used at the same time (separated by a space):
 with |ids| the |\language| and the |\localeid| are set to the values of
 this locale; with |fonts|, the fonts are changed to those of this
-locale (as set with |\babelfont|). This option is not compatible with
-|mapfont|. Characters can be added or modified with
+locale (as set with |\babelfont|). Characters can be added or modified with
 |\babelcharproperty|.
 
 \New{3.81} Option |letters| restricts the ‘actions’ to letters, in the
@@ -2665,16 +2652,6 @@ It’s still somewhat experimental. Again, there is an explanation in the
 \Describe{linebreaking=}{}
 \New{3.59} Just a synonymous for \texttt{justification}.
 
-\Describe{mapfont=}{\texttt{direction}}
-Assigns the font for the writing direction of this language (only with
-|bidi=basic|). Whenever possible, instead of this option use |onchar|,
-based on the script, which usually makes more sense. More precisely,
-what |mapfont=direction| means is, ‘when a character has the same
-direction as the script for the “provided” language, then change its
-font to that set for this language’. There are 3 directions, following
-the bidi Unicode algorithm, namely, Arabic-like, Hebrew-like and left
-to right. So, there should be at most 3 directives of this kind.
-
 \begin{note}
   (1) If you need shorthands, you can define them with |\useshorthands|
   and |\defineshorthand| as described above. (2) Captions and |\today|
@@ -5176,8 +5153,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.81.2888>>
-%<<date=2022/10/12>>
+%<<version=3.81.2898>>
+%<<date=2022/10/22>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -5345,7 +5322,7 @@ help from Bernd Raichle, for which I am grateful.
   \bbl at ifblank@i#1\@nil\@nil\@secondoftwo\@firstoftwo\@nil}
 \long\def\bbl at ifblank@i#1#2\@nil#3#4#5\@nil{#4}
 \def\bbl at ifset#1#2#3{%
-  \bbl at ifunset{#1}{#3}{\bbl at exp{\\\bbl at ifblank{#1}}{#3}{#2}}}
+  \bbl at ifunset{#1}{#3}{\bbl at exp{\\\bbl at ifblank{\@nameuse{#1}}}{#3}{#2}}}
 %    \end{macrocode}
 % \end{macro}
 %
@@ -11027,7 +11004,8 @@ help from Bernd Raichle, for which I am grateful.
             in the current font, and therefore the hyphen\\%
             will be printed. Try changing the fontspec's\\%
             'HyphenChar' to another value, but be aware\\%
-            this setting is not safe (see the manual)}%
+            this setting is not safe (see the manual).\\%
+            Reported}%
          \hyphenchar\font\defaulthyphenchar     
        \fi\fi
      \fi}%
diff --git a/babel.ins b/babel.ins
index 1d61ad8..c293720 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/10/12}
+\def\filedate{2022/10/22}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index 00edfb7..892021a 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 0873f14..03568f2 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2022/10/12 v3.81.2888]
+\ProvidesFile{bbcompat.dtx}[2022/10/22 v3.81.2898]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/testfiles/tlb39ab.tlg b/testfiles/tlb39ab.tlg
index c54ee49..a41cb06 100644
--- a/testfiles/tlb39ab.tlg
+++ b/testfiles/tlb39ab.tlg
@@ -7,7 +7,7 @@ Main Class: article
 Package: babel
     Options: strings=generic,main=french
 \languagename = macro:->french
-\testuc = macro:->QA\r A
+\testuc = macro:->QA\AA 
 \testlc = macro:->qa\oe 
 \testuc = macro:->XA\OE 
 \testlc = macro:->xa\r a
diff --git a/testfiles/tlb39ac.tlg b/testfiles/tlb39ac.tlg
index e5901a6..ac1db01 100644
--- a/testfiles/tlb39ac.tlg
+++ b/testfiles/tlb39ac.tlg
@@ -7,7 +7,7 @@ Main Class: article
 Package: babel
     Options: strings=encoded,french
 \languagename = macro:->french
-\testuc = macro:->QA\r A
+\testuc = macro:->QA\AA 
 \testlc = macro:->qa\oe 
 \testuc = macro:->XA\OE 
 \testlc = macro:->xa\r a





More information about the latex3-commits mailing list.