[latex3-commits] [git/LaTeX3-latex3-babel] main: Fix #166 (error with bidi and mathtools). (b466834)
Javier
email at dante.de
Thu Feb 3 17:15:03 CET 2022
Repository : https://github.com/latex3/babel
On branch : main
Link : https://github.com/latex3/babel/commit/b466834ada4e38b565891e75ccf8e439eae8529c
>---------------------------------------------------------------
commit b466834ada4e38b565891e75ccf8e439eae8529c
Author: Javier <email at localhost>
Date: Thu Feb 3 17:15:03 2022 +0100
Fix #166 (error with bidi and mathtools).
>---------------------------------------------------------------
b466834ada4e38b565891e75ccf8e439eae8529c
README.md | 8 +++++++-
babel.dtx | 20 +++++++++++---------
babel.ins | 2 +-
babel.pdf | Bin 853492 -> 853557 bytes
bbcompat.dtx | 2 +-
5 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 7587c42..59e33f0 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,6 @@
-## Babel 3.70
+## Babel 3.70.2637
+
+(Development.)
This package manages culturally-determined typographical (and other)
rules, and hyphenation patterns for a wide range of languages. Many
@@ -46,6 +48,10 @@ respective authors.
### Summary of Latest changes
```
+3.71 2022-02-?? (dev)
+ * Fix
+ - Bad interraction between bidi option and mathtools (#166).
+
3.70 2022-01-26
* Finnish: transform 'prehyphen.nobreak'.
* Better fixes for amsmath, as well as for the default
diff --git a/babel.dtx b/babel.dtx
index a9b4ad6..111b02e 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
%
% \iffalse
%<*filedriver>
-\ProvidesFile{babel.dtx}[2022/01/26 v3.70 The Babel package]
+\ProvidesFile{babel.dtx}[2022/02/03 v3.70.2637 The Babel package]
\documentclass{ltxdoc}
\GetFileInfo{babel.dtx}
\usepackage{fontspec}
@@ -5122,8 +5122,8 @@ help from Bernd Raichle, for which I am grateful.
% \section{Tools}
%
% \begin{macrocode}
-%<<version=3.70>>
-%<<date=2022/01/26>>
+%<<version=3.70.2637>>
+%<<date=2022/02/03>>
% \end{macrocode}
%
% \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -14487,10 +14487,6 @@ end
\frozen at everydisplay\expandafter{%
\expandafter\bbl at mathboxdir\the\frozen at everydisplay}
\fi
-\def\bbl at truellap{%s
- \ifcase\bbl at attr@dir\expandafter\llap\else\expandafter\rlap\fi}
-\def\bbl at truerlap{%
- \ifcase\bbl at attr@dir\expandafter\rlap\else\expandafter\llap\fi}
% \end{macrocode}
%
% \subsection{Layout}
@@ -14542,13 +14538,19 @@ end
\hbox to0.01pt{\hss\hbox to\displaywidth{\box\z@\hss}}}%
\fi
\else % amstex
+ \edef\bbl at tempa{%
+ \catcode58=\the\catcode58\relax
+ \catcode95=\the\catcode95\relax}%
+ \catcode58=11
+ \catcode95=11
\bbl at sreplace\intertext@{\normalbaselines}%
{\normalbaselines
- \ifx\bbl at eqnodir\relax\else\bbl at pardir\@ne\bbl at textdir\@ne\fi}
+ \ifx\bbl at eqnodir\relax\else\bbl at pardir\@ne\bbl at textdir\@ne\fi}%
+ \bbl at tempa
\def\bbl at ams@tagbox#1#2{#1{\bbl at eqnodir#2}}% #1=\hbox|ams at lap
\def\bbl at ams@eqtagbox#1{%
\setbox\z@\hbox{\bbl at eqnodir#1}%
- \hbox to\wd\z@{%
+ \hbox to 0.01pt{%
\ifx\bbl at ams@lap\hbox
\hss\hbox to\displaywidth{\box\z@\hss}%
\else
diff --git a/babel.ins b/babel.ins
index cc5a9a0..3196e88 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/01/26}
+\def\filedate{2022/02/03}
\def\batchfile{babel.ins}
\input docstrip.tex
diff --git a/babel.pdf b/babel.pdf
index 58449b9..2673049 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index c96b67d..b06b5f3 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
%
% \iffalse
%<*dtx>
-\ProvidesFile{bbcompat.dtx}[2022/01/26 v3.70]
+\ProvidesFile{bbcompat.dtx}[2022/02/03 v3.70.2637]
%</dtx>
%
%% File 'bbcompat.dtx'
More information about the latex3-commits
mailing list.