Skip to content

Commit 697804c

Browse files
author
Javier
committed
Bump to 3.68. Tentative fix for 159 (amsmath).
1 parent d6156c9 commit 697804c

8 files changed

+54
-29
lines changed

README.md

+5-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
## Babel 3.67.2590
2-
3-
(*Development.*)
1+
## Babel 3.68
42

53
This package manages culturally-determined typographical (and other)
64
rules, and hyphenation patterns for a wide range of languages. Many
@@ -10,9 +8,9 @@ is a set of ini files for about 250 languages.
108

119
The latest stable version is available on <https://ctan.org/pkg/babel>.
1210

13-
Changes in version 3.67 are described in:
11+
Changes in version 3.68 are described in:
1412

15-
https://latex3.github.io/babel/news/whats-new-in-babel-3.67.html
13+
https://latex3.github.io/babel/news/whats-new-in-babel-3.68.html
1614

1715
Apart from the manual, you can find information on some aspects of babel at:
1816

@@ -48,18 +46,14 @@ respective authors.
4846

4947
### Summary of Latest changes
5048
```
51-
3.68 2021-12-?? (dev)
49+
3.68 2021-12-28
5250
* Fixes:
5351
- Assamese, Bengali, Gujarati set incorrectly prehyphenchar.
5452
- The syntax provide=* didn’t work with Hebrew and a few other
5553
languages.
5654
- Wrong equation direction in first column in array and tabular
5755
environment (#158).
58-
59-
3.67 2021-11-29
60-
* \IfBabelSelectorTF executes code conditionally based on the
61-
selector type (select, foreign, etc.).
62-
* Transforms can be turned on and off based on Lua attributes.
56+
- Tentative fixes for labels in displayed math (#159).
6357
```
6458

6559
### Previous changes

babel.dtx

+41-10
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
%
3333
% \iffalse
3434
%<*filedriver>
35-
\ProvidesFile{babel.dtx}[2021/12/18 v3.67.2590 The Babel package]
35+
\ProvidesFile{babel.dtx}[2021/12/28 v3.68 The Babel package]
3636
\documentclass{ltxdoc}
3737
\GetFileInfo{babel.dtx}
3838
\usepackage{fontspec}
@@ -5118,8 +5118,8 @@ help from Bernd Raichle, for which I am grateful.
51185118
% \section{Tools}
51195119
%
51205120
% \begin{macrocode}
5121-
%<<version=3.67.2590>>
5122-
%<<date=2021/12/18>>
5121+
%<<version=3.68>>
5122+
%<<date=2021/12/28>>
51235123
% \end{macrocode}
51245124
%
51255125
% \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -5196,10 +5196,11 @@ help from Bernd Raichle, for which I am grateful.
51965196
%
51975197
% Now, just syntactical sugar, but it makes partial expansion of
51985198
% some code a lot more simple and readable. Here |\\| stands for
5199-
% |\noexpand| and |\<..>| for |\noexpand| applied to a built macro
5200-
% name (the latter does not define the macro if undefined to
5201-
% |\relax|, because it is created locally). The result may be
5202-
% followed by extra arguments, if necessary.
5199+
% |\noexpand|, |\<..>| for |\noexpand| applied to a built macro
5200+
% name (which does not define the macro if undefined to
5201+
% |\relax|, because it is created locally), and |\[..]| for one-level
5202+
% expansion (where |..| is the macro name without the backslash). The
5203+
% result may be followed by extra arguments, if necessary.
52035204
%
52045205
% \begin{macrocode}
52055206
\def\bbl@exp#1{%
@@ -14482,6 +14483,10 @@ end
1448214483
\frozen@everydisplay\expandafter{%
1448314484
\expandafter\bbl@mathboxdir\the\frozen@everydisplay}
1448414485
\fi
14486+
\def\bbl@truellap{%s
14487+
\ifcase\bbl@attr@dir\expandafter\llap\else\expandafter\rlap\fi}
14488+
\def\bbl@truerlap{%
14489+
\ifcase\bbl@attr@dir\expandafter\rlap\else\expandafter\llap\fi}
1448514490
% \end{macrocode}
1448614491
%
1448714492
% \subsection{Layout}
@@ -14509,11 +14514,37 @@ end
1450914514
%
1451014515
% \begin{macrocode}
1451114516
\bbl@trace{Redefinitions for bidi layout}
14517+
\AtBeginDocument{% amsmath
14518+
\ifx\place@tag\@undefined\else
14519+
\bbl@sreplace\place@tag{\llap}{\bbl@truellap}%
14520+
\bbl@sreplace\place@tag@gather{\llap}{\bbl@truellap}%
14521+
\bbl@sreplace\place@tag{\rlap}{\bbl@truerlap}%
14522+
\bbl@sreplace\place@tag@gather{\rlap}{\bbl@truerlap}%
14523+
\fi}
14524+
\ifx\AddToHook\@undefined\else
14525+
\AddToHook{env/equation/before}{\pardir TLT }{}
14526+
\fi
1451214527
\ifx\@eqnnum\@undefined\else
1451314528
\ifx\bbl@attr@dir\@undefined\else
14514-
\edef\@eqnnum{{%
14515-
\unexpanded{\ifcase\bbl@attr@dir\else\bbl@textdir\@ne\fi}%
14516-
\unexpanded\expandafter{\@eqnnum}}}
14529+
\bbl@xin@{,leqno,}{,\@classoptionslist,}%
14530+
\ifin@
14531+
\bbl@sreplace\@eqnnum{\rlap}{\bbl@leqno@aux}
14532+
\def\bbl@leqno@aux#1{%
14533+
\bbl@truerlap{%
14534+
\ifcase\bbl@attr@dir
14535+
#1%
14536+
\else
14537+
\bbl@textdir\@ne
14538+
#1%
14539+
\hskip-\displaywidth
14540+
\fi}}
14541+
\else
14542+
\bbl@exp{%
14543+
\def\\\@eqnnum{{%
14544+
\<ifcase>\\\bbl@attr@dir\<else>\\\bbl@textdir\@ne\<fi>%
14545+
\\\bbl@ifsamestring{\\\@currenvir}{equation}%
14546+
{}{\\\bbl@truellap}{\[@eqnnum]}}}}
14547+
\fi
1451714548
\fi
1451814549
\fi
1451914550
\ifx\bbl@opt@layout\@nnil\endinput\fi % if no layout

babel.ins

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
%% and covered by LPPL is defined by the unpacking scripts (with
2727
%% extension .ins) which are part of the distribution.
2828
%%
29-
\def\filedate{2021/12/18}
29+
\def\filedate{2021/12/28}
3030
\def\batchfile{babel.ins}
3131
\input docstrip.tex
3232

babel.pdf

1.38 KB
Binary file not shown.

bbcompat.dtx

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
%
3131
% \iffalse
3232
%<*dtx>
33-
\ProvidesFile{bbcompat.dtx}[2021/12/18 v3.67.2590]
33+
\ProvidesFile{bbcompat.dtx}[2021/12/28 v3.68]
3434
%</dtx>
3535
%
3636
%% File 'bbcompat.dtx'

locale/as/babel-as.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
[identification]
1414
charset = utf8
15-
version = 1.9
16-
date = 2021-06-25
15+
version = 1.10
16+
date = 2021-12-13
1717
name.local = অসমীয়া
1818
name.english = Assamese
1919
name.babel = assamese

locale/bn/babel-bn.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
[identification]
1313
charset = utf8
14-
version = 1.9
15-
date = 2021-06-25
14+
version = 1.10
15+
date = 2021-12-13
1616
name.local = বাংলা
1717
name.english = Bangla
1818
name.babel = bengali

locale/gu/babel-gu.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
[identification]
1313
charset = utf8
14-
version = 1.8
15-
date = 2021-06-25
14+
version = 1.9
15+
date = 2021-12-13
1616
name.local = ગુજરાતી
1717
name.english = Gujarati
1818
name.babel = gujarati

0 commit comments

Comments
 (0)