[latex3-commits] [git/LaTeX3-latex3-babel] master: Bump to 3.54. Fix #98. (826b56e)

Javier email at dante.de
Mon Feb 22 17:01:55 CET 2021


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

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

commit 826b56e8212163a0edea470530d0fd440068d91c
Author: Javier <email at localhost>
Date:   Mon Feb 22 17:01:55 2021 +0100

    Bump to 3.54. Fix #98.


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

826b56e8212163a0edea470530d0fd440068d91c
 README.md              |  12 +++++++-----
 babel.dtx              |  15 +++++++--------
 babel.ins              |   2 +-
 babel.pdf              | Bin 818555 -> 818447 bytes
 bbcompat.dtx           |   2 +-
 samples/lua-arabic.pdf | Bin 85306 -> 117183 bytes
 samples/lua-arabic.tex |   5 ++---
 7 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/README.md b/README.md
index d258c41..fe44140 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.53.2290
+## Babel 3.54
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages.  Many
@@ -43,11 +43,13 @@ respective authors.
 
 ### Latest changes
 ```
-3.54   2021-02-22??
+3.54   2021-02-22
        * RTL text inside \put (with pict2e) correctly rendered in
-         typical cases (#98).
-       * Same for \tikz.
+         typical cases (lua, #98).
+       * Same for \tikz (lua).
        * The main change in internal (loader of ini files refactored).
+       * Fixes:
+         - The tentative \foreignlanguage* stopped working.
        
 3.53   2021-01-26
        * Extended \setlocalecaption to allow .template (related to
@@ -144,7 +146,7 @@ See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.47
          - Locale info was not loaded if the name had uppercase letters
            in some OSs (#80).
          - The [..|..] syntax in ini dates didn't recognize 'digits'.
-https://github.com/latex3/babel/wiki/What's-new-in-babel-3.46
+See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.46
 
 3.45   2020-06-10
 See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.45
diff --git a/babel.dtx b/babel.dtx
index a4b7e90..093a61a 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -31,7 +31,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2021/02/21 v3.53.2290 The Babel package]
+\ProvidesFile{babel.dtx}[2021/02/22 v3.54 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -3444,10 +3444,8 @@ bidirectional (with both R and L paragraphs) documents in \luatex{}.
 
 \item[graphics] modifies the |picture| environment so that the whole
 figure is L but the text is R. It \textit{does not} work with the
-standard |picture|, and \textit{pict2e} is required if you want sloped
-lines \textbf{(With recent versions of \LaTeX, this feature has
-stopped working)}. It attempts to do the same for \textsf{pgf/tikz}.
-Somewhat experimental. \New{3.32}.
+standard |picture|, and \textit{pict2e} is required. It attempts to do
+the same for \textsf{pgf/tikz}. Somewhat experimental. \New{3.32}.
 
 \item[extras] is used for miscellaneous readjustments which do not fit into
   the previous groups. Currently redefines in \luatex{} |\underline| and
@@ -4850,8 +4848,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.53.2290>>
-%<<date=2021/02/21>>
+%<<version=3.54>>
+%<<date=2021/02/22>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -7667,6 +7665,7 @@ help from Bernd Raichle, for which I am grateful.
 \def\bbl at foreign@s#1#2{% TODO - \shapemode, \@setpar, ?\@@par
   \begingroup
     {\par}%
+    \let\bbl at select@opts\@empty
     \let\BabelText\@firstofone
     \foreign at language{#1}%
     \bbl at usehooks{foreign*}{}%
@@ -14300,7 +14299,7 @@ end
        \def\bbl at pictresetdir{\bodydir TRT\pardir TRT\textdir TRT\relax}%
      \fi}%
    \ifx\AddToHook\@undefined\else
-     \AddToHook{env/picture/begin}{\bbl at pictsetdir\z@}%
+     \AddToHook{env/picture/begin}{\bbl at pictsetdir\tw@}%
      \directlua{
        Babel.get_picture_dir = true
        Babel.picture_has_bidi = 0
diff --git a/babel.ins b/babel.ins
index 2d644ef..73a8825 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/02/21}
+\def\filedate{2021/02/22}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index ca2c8b4..f455a61 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 6661afa..bd6f5b7 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2021/02/21 v3.53.2290]
+\ProvidesFile{bbcompat.dtx}[2021/02/22 v3.54]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/samples/lua-arabic.pdf b/samples/lua-arabic.pdf
index bd3e13e..714831a 100644
Binary files a/samples/lua-arabic.pdf and b/samples/lua-arabic.pdf differ
diff --git a/samples/lua-arabic.tex b/samples/lua-arabic.tex
index facb067..c09428c 100644
--- a/samples/lua-arabic.tex
+++ b/samples/lua-arabic.tex
@@ -1,12 +1,11 @@
 %$LuaLaTeX -*- coding: utf-8 ; mode: latex; TeX-engine: luatex; -*-
 \documentclass[a4paper]{book}
 
-\usepackage[english, bidi=basic,
+\usepackage[english, arabic, provide=*,
+            bidi=basic, 
             headfoot=arabic,  % an alternative is layout=sectioning
             layout=counters.tabular]{babel}
 
-\babelprovide[import=ar, main]{arabic}
-
 \babelfont{rm}
           [ItalicFont=FreeSerif, Numbers=Arabic]
           {FreeSerif}





More information about the latex3-commits mailing list.