From 39877769ecfa442af71b4ddd1c266f401957cdd8 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 1 Jan 2022 03:00:53 +0000 Subject: CTAN sync 202201010300 --- macros/latex/required/babel/base/README.md | 10 +++- macros/latex/required/babel/base/babel.dtx | 81 +++++++++++++------------- macros/latex/required/babel/base/babel.ins | 2 +- macros/latex/required/babel/base/babel.pdf | Bin 860656 -> 861065 bytes macros/latex/required/babel/base/bbcompat.dtx | 2 +- 5 files changed, 51 insertions(+), 44 deletions(-) (limited to 'macros/latex/required/babel') diff --git a/macros/latex/required/babel/base/README.md b/macros/latex/required/babel/base/README.md index 80910639b8..5702c7132b 100644 --- a/macros/latex/required/babel/base/README.md +++ b/macros/latex/required/babel/base/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 . -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/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} -%<> -%<> +%<> +%<> % \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{{% - \\\\bbl@attr@dir\\\\bbl@textdir\@ne\% - \\\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{{% + \\\\bbl@attr@dir\\\\bbl@textdir\@ne\% + \\\bbl@ifsamestring{\\\@currenvir}{equation}% + {}{\\\bbl@truellap}{\[@eqnnum]}}}} + \fi \fi \fi \fi diff --git a/macros/latex/required/babel/base/babel.ins b/macros/latex/required/babel/base/babel.ins index b9267340a3..16bde4384e 100644 --- a/macros/latex/required/babel/base/babel.ins +++ b/macros/latex/required/babel/base/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/macros/latex/required/babel/base/babel.pdf b/macros/latex/required/babel/base/babel.pdf index 3584ad17d6..fe1d580f2e 100644 Binary files a/macros/latex/required/babel/base/babel.pdf and b/macros/latex/required/babel/base/babel.pdf differ diff --git a/macros/latex/required/babel/base/bbcompat.dtx b/macros/latex/required/babel/base/bbcompat.dtx index b80d81c7cc..ed07287c37 100644 --- a/macros/latex/required/babel/base/bbcompat.dtx +++ b/macros/latex/required/babel/base/bbcompat.dtx @@ -30,7 +30,7 @@ % % \iffalse %<*dtx> -\ProvidesFile{bbcompat.dtx}[2021/12/28 v3.68] +\ProvidesFile{bbcompat.dtx}[2021/12/30 v3.69] % % %% File 'bbcompat.dtx' -- cgit v1.2.3