[latex3-commits] [git/LaTeX3-latex3-babel] main: ams/lua: vertical space almost correct (but not quite). (1edfd5e)

Javier email at dante.de
Fri Jan 7 18:37:37 CET 2022


Repository : https://github.com/latex3/babel
On branch  : main
Link       : https://github.com/latex3/babel/commit/1edfd5e7921c826c2d4820f2b1db7047475f209a

>---------------------------------------------------------------

commit 1edfd5e7921c826c2d4820f2b1db7047475f209a
Author: Javier <email at localhost>
Date:   Fri Jan 7 18:37:37 2022 +0100

    ams/lua: vertical space almost correct (but not quite).
    
    * With a very dirty hack.
    * Pending: eqnalign, cases (sometimes), align*.


>---------------------------------------------------------------

1edfd5e7921c826c2d4820f2b1db7047475f209a
 README.md    |   3 ++-
 babel.dtx    |  14 ++++++++++----
 babel.ins    |   2 +-
 babel.pdf    | Bin 861986 -> 862296 bytes
 bbcompat.dtx |   2 +-
 5 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index f31f026..bbb2de2 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.69.2608
+## Babel 3.69.2610
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages. Many
@@ -47,6 +47,7 @@ respective authors.
 ### Summary of Latest changes
 ```
 3.70   2022-01-?? (dev)
+       * Finnish: transform 'prehyphen.nobreak'.
        * Fixes for amsmath (in progress).
 
 3.69   2021-12-30
diff --git a/babel.dtx b/babel.dtx
index 010cb8e..a1fe82d 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2022/01/05 v3.69.2608 The Babel package]
+\ProvidesFile{babel.dtx}[2022/01/07 v3.69.2610 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -5119,8 +5119,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.69.2608>>
-%<<date=2022/01/05>>
+%<<version=3.69.2610>>
+%<<date=2022/01/07>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -14516,6 +14516,7 @@ end
 %    \begin{macrocode}
 \bbl at trace{Redefinitions for bidi layout}
 \ifnum\bbl at bidimode>\z@
+% \iffalse
   \AtBeginDocument{%
     \ifx\maketag@@@\@undefined\else
     \let\@eqnnum\bbl at savedeqnnum
@@ -14535,7 +14536,9 @@ end
           \hskip\ifx\bbl at ams@lap\hbox-\fi\displaywidth
           \bbl at ams@tagbox\bbl at ams@lap{#1}}}}
     \def\bbl at ams@preset#1{%
+      \bbl at add\ignorespacesafterend{\hrule\@height\z@}%
       \ifnum\bbl at thetextdir>\z@
+        % \hrule\@height\z@
         \let\bbl at outertextdir\@ne
         \bbl at textdir\z@
         \bbl at sreplace\textdef@{\hbox}{\bbl at ams@tagbox\hbox}%
@@ -14544,13 +14547,16 @@ end
     \@ifpackagewith{amsmath}{leqno}%
       {\let\bbl at ams@lap\hbox}%
       {\let\bbl at ams@lap\llap}%
-    % \AddToHook{env/aligned/begin}{\bbl at ams@preset\bbl at ams@lap}%
+    %%% \AddToHook{env/aligned/begin}{\bbl at ams@preset\bbl at ams@lap}%
     \AddToHook{env/multline/begin}{\bbl at ams@preset\hbox}%
     \AddToHook{env/gather/begin}{\bbl at ams@preset\bbl at ams@lap}%
     \AddToHook{env/align/begin}{\bbl at ams@preset\bbl at ams@lap}%
+    \AddToHook{env/flalign/begin}{\bbl at ams@preset\hbox}%
     \AddToHook{env/align*/begin}{\bbl at ams@preset\bbl at ams@lap}%
     \AddToHook{env/equation/begin}{%
+      \bbl at add\ignorespacesafterend{\hrule\@height\z@}%
       \ifnum\bbl at thetextdir>\z@
+        \ifx\bbl at ams@lap\llap\hrule\@height\z@\fi
         \let\bbl at outertextdir\@ne
         \bbl at textdir\z@
         \bbl at sreplace\maketag@@@{\hbox}{\bbl at ams@eqtagbox}%
diff --git a/babel.ins b/babel.ins
index cce4d58..8f68372 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/05}
+\def\filedate{2022/01/07}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index dd69bea..3ac62a6 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 6e9da72..6db98a3 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2022/01/05 v3.69.2608]
+\ProvidesFile{bbcompat.dtx}[2022/01/07 v3.69.2610]
 %</dtx>
 %
 %% File 'bbcompat.dtx'





More information about the latex3-commits mailing list.