[latex3-commits] [git/LaTeX3-latex3-babel] main: Patch 'array' and 'colortbl' (wip) (addb46a)

Javier email at dante.de
Wed Feb 8 17:43:56 CET 2023


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

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

commit addb46abc7669f19f89133b36dc9e04ce018451f
Author: Javier <email at localhost>
Date:   Wed Feb 8 17:43:56 2023 +0100

    Patch 'array' and 'colortbl' (wip)


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

addb46abc7669f19f89133b36dc9e04ce018451f
 README.md    |   2 +-
 babel.dtx    |  26 ++++++++++++++++----------
 babel.ins    |   2 +-
 babel.pdf    | Bin 919934 -> 919789 bytes
 bbcompat.dtx |   2 +-
 5 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/README.md b/README.md
index 8a0d90d..3f67941 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.85.03869
+## Babel 3.85.03970
 
 (Draft)
 
diff --git a/babel.dtx b/babel.dtx
index 953ecf4..59727c4 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2023/02/07 v3.85.03869 The Babel package]
+\ProvidesFile{babel.dtx}[2023/02/08 v3.85.03970 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -5286,8 +5286,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.85.03869>>
-%<<date=2023/02/07>>
+%<<version=3.85.03970>>
+%<<date=2023/02/08>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -15195,16 +15195,22 @@ end
   \ifx\@tabular\@undefined\else
     \bbl at replace\@tabular{$}{$%
       \def\bbl at insidemath{0}%
-      \def\bbl at parabefore{\babelrestoredirs}%
-      \everyhbox{\def\bbl at insidemath{0}}%
-      \everyvbox{\def\bbl at insidemath{0}}}%
+      \def\bbl at parabefore{\babelrestoredirs}}%
     \bbl at ifunset{@tabclassz}{}{%
       \bbl at sreplace\@tabclassz
-        {\ifcase\@chnum}{\bgroup\babelrestoredirs\ifcase\@chnum}%
-      \bbl at sreplace\@tabclassz
-        {\@sharp\unskip\fi}{\@sharp\unskip\fi\egroup}}
-    \fi
+        {\ifcase\@chnum}{\babelrestoredirs\ifcase\@chnum}}%
   \fi
+  \AtBeginDocument{%
+    \@ifpackageloaded{colortbl}%
+      {\bbl at sreplace\@classz
+        {\hbox\bgroup\bgroup}{\hbox\bgroup\bgroup\babelrestoredirs}}%
+      {\@ifpackageloaded{array}%
+         {\bbl at sreplace\@classz
+           {\ifcase\@chnum}{\bgroup\babelrestoredirs\ifcase\@chnum}%
+          \bbl at sreplace\@classz
+           {\do at row@strut\fi}{\do at row@strut\fi\egroup}}%
+         {}}}
+\fi
 \ifx\bbl at opt@layout\@nnil\endinput\fi  % if no layout
 %    \end{macrocode}
 %
diff --git a/babel.ins b/babel.ins
index d2d131c..93ad850 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/02/07}
+\def\filedate{2023/02/08}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index aa34c80..53581fd 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 3ac3431..9cf66db 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2023/02/07 v3.85.03869]
+\ProvidesFile{bbcompat.dtx}[2023/02/08 v3.85.03970]
 %</dtx>
 %
 %% File 'bbcompat.dtx'





More information about the latex3-commits mailing list.