[latex3-commits] [latex3/babel] main: Fix #252. (cda0b32)

github at latex-project.org github at latex-project.org
Wed Jul 19 18:53:12 CEST 2023


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

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

commit cda0b32348ec06a99a4d937bb129823a46f5d608
Author: Javier <email at localhost>
Date:   Wed Jul 19 18:53:12 2023 +0200

    Fix #252.


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

cda0b32348ec06a99a4d937bb129823a46f5d608
 README.md      |   7 +++++--
 babel-code.pdf | Bin 626956 -> 626887 bytes
 babel.dtx      |  28 +++++++++++++++++++++-------
 babel.ins      |   2 +-
 babel.pdf      | Bin 404462 -> 404441 bytes
 bbcompat.dtx   |   2 +-
 6 files changed, 28 insertions(+), 11 deletions(-)

diff --git a/README.md b/README.md
index f57a55c..aec8d5b 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-## Babel 3.92
+## Babel 3.92.20074
 
-2023-07-15
+** Dev **
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages. Many
@@ -48,6 +48,9 @@ respective authors.
 
 ### Summary of latest changes
 ```
+3.93  (dev)
+      * Fixes.
+
 3.92  2023-07-15
       * The fix for #240 in version 3.90, related to `\normalsfcodes`,
         broke the `onchar` mechanism in some cases and some other
diff --git a/babel-code.pdf b/babel-code.pdf
index 2c8615f..3b32ad2 100644
Binary files a/babel-code.pdf and b/babel-code.pdf differ
diff --git a/babel.dtx b/babel.dtx
index d7a77ac..6b6fdb5 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2023/07/15 v3.92 The Babel package]
+\ProvidesFile{babel.dtx}[2023/07/19 v3.92.20074 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -5466,8 +5466,8 @@ wouldn’t exist.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.92>>
-%<<date=2023/07/15>>
+%<<version=3.92.20074>>
+%<<date=2023/07/19>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -15485,8 +15485,8 @@ end
   {\IfBabelLayout{notabular}%
     {\chardef\bbl at tabular@mode\z@}%
     {\chardef\bbl at tabular@mode\@ne}}% Mixed, with LTR cols
-\ifnum\bbl at bidimode>\@ne % Any bidi= except default=1
-  \ifnum\bbl at tabular@mode=\@ne
+\ifnum\bbl at bidimode>\@ne % Any lua bidi= except default=1
+  \ifcase\bbl at tabular@mode\or % 1
     \let\bbl at parabefore\relax
     \AddToHook{para/before}{\bbl at parabefore}
     \AtBeginDocument{%
@@ -15510,7 +15510,18 @@ end
                 \\\bbl at sreplace\\\@classz
                   {\\\do at row@strut\<fi>}{\\\do at row@strut\<fi>\egroup}}}%
              {}}%
-    \fi}
+    \fi}%
+  \or % 2
+    \let\bbl at parabefore\relax
+    \AddToHook{para/before}{\bbl at parabefore}%
+    \AtBeginDocument{%
+      \@ifpackageloaded{colortbl}%
+        {\bbl at replace\@tabular{$}{$%
+           \def\bbl at insidemath{0}%
+           \def\bbl at parabefore{\localerestoredirs}}%
+         \bbl at sreplace\@classz
+           {\hbox\bgroup\bgroup}{\hbox\bgroup\bgroup\localerestoredirs}}%
+        {}}%
   \fi
 %    \end{macrocode}
 %
@@ -15576,7 +15587,10 @@ end
    \let\bbl at NL@@tabular\@tabular
    \AtBeginDocument{%
      \ifx\bbl at NL@@tabular\@tabular\else
-       \bbl at replace\@tabular{$}{\bbl at nextfake$}%
+       \bbl at exp{\\\in@{\\\bbl at nextfake}{\[@tabular]}}%
+       \ifin@\else
+         \bbl at replace\@tabular{$}{\bbl at nextfake$}%
+       \fi
        \let\bbl at NL@@tabular\@tabular
      \fi}}
    {}
diff --git a/babel.ins b/babel.ins
index 0bd796f..ded6525 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{2023/07/15}
+\def\filedate{2023/07/19}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index 39ea9b8..e0b6aa9 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 9f92650..24e8fd4 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2023/07/15 v3.92]
+\ProvidesFile{bbcompat.dtx}[2023/07/19 v3.92.20074]
 %</dtx>
 %
 %% File 'bbcompat.dtx'





More information about the latex3-commits mailing list.