summaryrefslogtreecommitdiff
path: root/macros/latex/required/babel/base/babel.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-01-01 03:00:53 +0000
committerNorbert Preining <norbert@preining.info>2022-01-01 03:00:53 +0000
commit39877769ecfa442af71b4ddd1c266f401957cdd8 (patch)
tree06aaa106eb40b7e0b2ee91073f636bb5975e502c /macros/latex/required/babel/base/babel.dtx
parent2c09a813df08895666d3755db66718dcd501aee5 (diff)
CTAN sync 202201010300
Diffstat (limited to 'macros/latex/required/babel/base/babel.dtx')
-rw-r--r--macros/latex/required/babel/base/babel.dtx81
1 files changed, 42 insertions, 39 deletions
diff --git a/macros/latex/required/babel/base/babel.dtx b/macros/latex/required/babel/base/babel.dtx
index 1c08c96668..47e8df74c5 100644
--- a/macros/latex/required/babel/base/babel.dtx
+++ b/macros/latex/required/babel/base/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@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@trace{Redefinitions for bidi layout}
-\AtBeginDocument{% amsmath
- \ifx\place@tag\@undefined\else
- \bbl@sreplace\place@tag{\llap}{\bbl@truellap}%
- \bbl@sreplace\place@tag@gather{\llap}{\bbl@truellap}%
- \bbl@sreplace\place@tag{\rlap}{\bbl@truerlap}%
- \bbl@sreplace\place@tag@gather{\rlap}{\bbl@truerlap}%
- \fi}
-\ifx\AddToHook\@undefined\else
- \AddToHook{env/equation/before}{\pardir TLT }{}
-\fi
-\ifx\@eqnnum\@undefined\else
- \ifx\bbl@attr@dir\@undefined\else
- \bbl@xin@{,leqno,}{,\@classoptionslist,}%
- \ifin@
- \bbl@sreplace\@eqnnum{\rlap}{\bbl@leqno@aux}
- \def\bbl@leqno@aux#1{%
- \bbl@truerlap{%
- \ifcase\bbl@attr@dir
- #1%
- \else
- \bbl@textdir\@ne
- #1%
- \hskip-\displaywidth
- \fi}}
- \else
- \bbl@exp{%
- \def\\\@eqnnum{{%
- \<ifcase>\\\bbl@attr@dir\<else>\\\bbl@textdir\@ne\<fi>%
- \\\bbl@ifsamestring{\\\@currenvir}{equation}%
- {}{\\\bbl@truellap}{\[@eqnnum]}}}}
+\ifnum\bbl@bidimode>\z@
+ \AtBeginDocument{% amsmath
+ \ifx\place@tag\@undefined\else
+ \bbl@sreplace\place@tag{\llap}{\bbl@truellap}%
+ \bbl@sreplace\place@tag@gather{\llap}{\bbl@truellap}%
+ \bbl@sreplace\place@tag{\rlap}{\bbl@truerlap}%
+ \bbl@sreplace\place@tag@gather{\rlap}{\bbl@truerlap}%
+ \fi}
+ \ifx\AddToHook\@undefined\else
+ \AddToHook{env/equation/before}{\pardir TLT }{}
+ \fi
+ \ifx\@eqnnum\@undefined\else
+ \ifx\bbl@attr@dir\@undefined\else
+ \bbl@xin@{,leqno,}{,\@classoptionslist,}%
+ \ifin@
+ \bbl@sreplace\@eqnnum{\rlap}{\bbl@leqno@aux}
+ \def\bbl@leqno@aux#1{%
+ \bbl@truerlap{%
+ \ifcase\bbl@attr@dir
+ #1%
+ \else
+ \bbl@textdir\@ne
+ #1%
+ \hskip-\displaywidth
+ \fi}}
+ \else
+ \bbl@exp{%
+ \def\\\@eqnnum{{%
+ \<ifcase>\\\bbl@attr@dir\<else>\\\bbl@textdir\@ne\<fi>%
+ \\\bbl@ifsamestring{\\\@currenvir}{equation}%
+ {}{\\\bbl@truellap}{\[@eqnnum]}}}}
+ \fi
\fi
\fi
\fi