[latex3-commits] [git/LaTeX3-latex3-babel] main: 3.69. Fix #162 (a severe bug with amsmath and mathtools). Fix #163. (4365d2e)
Javier
email at dante.de
Thu Dec 30 12:32:30 CET 2021
Repository : https://github.com/latex3/babel
On branch : main
Link : https://github.com/latex3/babel/commit/4365d2e7a593034fa47980ff7a766ba094e40cc8
>---------------------------------------------------------------
commit 4365d2e7a593034fa47980ff7a766ba094e40cc8
Author: Javier <email at localhost>
Date: Thu Dec 30 12:32:30 2021 +0100
3.69. Fix #162 (a severe bug with amsmath and mathtools). Fix #163.
>---------------------------------------------------------------
4365d2e7a593034fa47980ff7a766ba094e40cc8
README.md | 10 +++++---
babel.dtx | 81 +++++++++++++++++++++++++++++++----------------------------
babel.ins | 2 +-
babel.pdf | Bin 860656 -> 861065 bytes
bbcompat.dtx | 2 +-
5 files changed, 51 insertions(+), 44 deletions(-)
diff --git a/README.md b/README.md
index 8091063..5702c71 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.68
+## Babel 3.69
This package manages culturally-determined typographical (and other)
rules, and hyphenation patterns for a wide range of languages. Many
@@ -8,9 +8,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.68 are described in:
+Changes in version 3.69 are described in:
-https://latex3.github.io/babel/news/whats-new-in-babel-3.68.html
+https://latex3.github.io/babel/news/whats-new-in-babel-3.69.html
Apart from the manual, you can find information on some aspects of babel at:
@@ -46,6 +46,10 @@ respective authors.
### Summary of Latest changes
```
+3.69 2021-12-30
+ * Fixes a severe bug with amsmath and mathtools introduced in
+ 3.68 (#162).
+
3.68 2021-12-28
* Fixes:
- Assamese, Bengali, Gujarati set incorrectly prehyphenchar.
diff --git a/babel.dtx b/babel.dtx
index 1c08c96..47e8df7 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
%
% \iffalse
%<*filedriver>
-\ProvidesFile{babel.dtx}[2021/12/28 v3.68 The Babel package]
+\ProvidesFile{babel.dtx}[2021/12/30 v3.69 The Babel package]
\documentclass{ltxdoc}
\GetFileInfo{babel.dtx}
\usepackage{fontspec}
@@ -4926,12 +4926,13 @@ Its natural place of use is in hooks or in |\extras|\m{language}.
\subsection{Changes in \babel\ version 3.9}
-Most of the changes in version 3.9 were related to bugs, either to fix them
-(there were lots), or to provide some alternatives. Even new features
-like |\babelhyphen| are intended to solve a certain problem (in this
-case, the lacking of a uniform syntax and behavior for shorthands
-across languages). These changes are described in this manual in the
-corresponding place. A selective list follows:
+Most of the changes in version 3.9 were related to bugs, either to fix
+them (there were lots), or to provide some alternatives. Even new
+features like |\babelhyphen| are intended to solve a certain problem
+(in this case, the lacking of a uniform syntax and behavior for
+shorthands across languages). These changes, as well as the subsequent
+ones ($\ge$3.10), are described in this manual in the corresponding
+place. A selective list of the changes in 3.9 follows:
\begin{itemize}
\item |\select at language| did not set |\languagename|. This meant the
language in force when auxiliary files were loaded was the one used
@@ -5118,8 +5119,8 @@ help from Bernd Raichle, for which I am grateful.
% \section{Tools}
%
% \begin{macrocode}
-%<<version=3.68>>
-%<<date=2021/12/28>>
+%<<version=3.69>>
+%<<date=2021/12/30>>
% \end{macrocode}
%
% \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -14514,36 +14515,38 @@ end
%
% \begin{macrocode}
\bbl at trace{Redefinitions for bidi layout}
-\AtBeginDocument{% amsmath
- \ifx\place at tag\@undefined\else
- \bbl at sreplace\place at tag{\llap}{\bbl at truellap}%
- \bbl at sreplace\place at tag@gather{\llap}{\bbl at truellap}%
- \bbl at sreplace\place at tag{\rlap}{\bbl at truerlap}%
- \bbl at sreplace\place at tag@gather{\rlap}{\bbl at truerlap}%
- \fi}
-\ifx\AddToHook\@undefined\else
- \AddToHook{env/equation/before}{\pardir TLT }{}
-\fi
-\ifx\@eqnnum\@undefined\else
- \ifx\bbl at attr@dir\@undefined\else
- \bbl at xin@{,leqno,}{,\@classoptionslist,}%
- \ifin@
- \bbl at sreplace\@eqnnum{\rlap}{\bbl at leqno@aux}
- \def\bbl at leqno@aux#1{%
- \bbl at truerlap{%
- \ifcase\bbl at attr@dir
- #1%
- \else
- \bbl at textdir\@ne
- #1%
- \hskip-\displaywidth
- \fi}}
- \else
- \bbl at exp{%
- \def\\\@eqnnum{{%
- \<ifcase>\\\bbl at attr@dir\<else>\\\bbl at textdir\@ne\<fi>%
- \\\bbl at ifsamestring{\\\@currenvir}{equation}%
- {}{\\\bbl at truellap}{\[@eqnnum]}}}}
+\ifnum\bbl at bidimode>\z@
+ \AtBeginDocument{% amsmath
+ \ifx\place at tag\@undefined\else
+ \bbl at sreplace\place at tag{\llap}{\bbl at truellap}%
+ \bbl at sreplace\place at tag@gather{\llap}{\bbl at truellap}%
+ \bbl at sreplace\place at tag{\rlap}{\bbl at truerlap}%
+ \bbl at sreplace\place at tag@gather{\rlap}{\bbl at truerlap}%
+ \fi}
+ \ifx\AddToHook\@undefined\else
+ \AddToHook{env/equation/before}{\pardir TLT }{}
+ \fi
+ \ifx\@eqnnum\@undefined\else
+ \ifx\bbl at attr@dir\@undefined\else
+ \bbl at xin@{,leqno,}{,\@classoptionslist,}%
+ \ifin@
+ \bbl at sreplace\@eqnnum{\rlap}{\bbl at leqno@aux}
+ \def\bbl at leqno@aux#1{%
+ \bbl at truerlap{%
+ \ifcase\bbl at attr@dir
+ #1%
+ \else
+ \bbl at textdir\@ne
+ #1%
+ \hskip-\displaywidth
+ \fi}}
+ \else
+ \bbl at exp{%
+ \def\\\@eqnnum{{%
+ \<ifcase>\\\bbl at attr@dir\<else>\\\bbl at textdir\@ne\<fi>%
+ \\\bbl at ifsamestring{\\\@currenvir}{equation}%
+ {}{\\\bbl at truellap}{\[@eqnnum]}}}}
+ \fi
\fi
\fi
\fi
diff --git a/babel.ins b/babel.ins
index b926734..16bde43 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/12/28}
+\def\filedate{2021/12/30}
\def\batchfile{babel.ins}
\input docstrip.tex
diff --git a/babel.pdf b/babel.pdf
index 3584ad1..fe1d580 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index b80d81c..ed07287 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
%
% \iffalse
%<*dtx>
-\ProvidesFile{bbcompat.dtx}[2021/12/28 v3.68]
+\ProvidesFile{bbcompat.dtx}[2021/12/30 v3.69]
%</dtx>
%
%% File 'bbcompat.dtx'
More information about the latex3-commits
mailing list.