texlive[61748] Master/texmf-dist: babel (26jan22)

commits+karl at tug.org commits+karl at tug.org
Wed Jan 26 22:08:47 CET 2022


Revision: 61748
          http://tug.org/svn/texlive?view=revision&revision=61748
Author:   karl
Date:     2022-01-26 22:08:47 +0100 (Wed, 26 Jan 2022)
Log Message:
-----------
babel (26jan22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/babel/README.md
    trunk/Master/texmf-dist/doc/latex/babel/babel.pdf
    trunk/Master/texmf-dist/source/latex/babel/babel.dtx
    trunk/Master/texmf-dist/source/latex/babel/babel.ins
    trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx
    trunk/Master/texmf-dist/source/latex/babel/locale.zip
    trunk/Master/texmf-dist/tex/generic/babel/babel-bidi-basic-r.lua
    trunk/Master/texmf-dist/tex/generic/babel/babel-bidi-basic.lua
    trunk/Master/texmf-dist/tex/generic/babel/babel-data-bidi.lua
    trunk/Master/texmf-dist/tex/generic/babel/babel-data-cjk.lua
    trunk/Master/texmf-dist/tex/generic/babel/babel-transforms.lua
    trunk/Master/texmf-dist/tex/generic/babel/babel.def
    trunk/Master/texmf-dist/tex/generic/babel/babel.sty
    trunk/Master/texmf-dist/tex/generic/babel/blplain.tex
    trunk/Master/texmf-dist/tex/generic/babel/bplain.tex
    trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg
    trunk/Master/texmf-dist/tex/generic/babel/locale/fi/babel-fi.ini
    trunk/Master/texmf-dist/tex/generic/babel/luababel.def
    trunk/Master/texmf-dist/tex/generic/babel/nil.ldf
    trunk/Master/texmf-dist/tex/generic/babel/plain.def
    trunk/Master/texmf-dist/tex/generic/babel/switch.def
    trunk/Master/texmf-dist/tex/generic/babel/txtbabel.def
    trunk/Master/texmf-dist/tex/generic/babel/xebabel.def

Modified: trunk/Master/texmf-dist/doc/latex/babel/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/babel/README.md	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/doc/latex/babel/README.md	2022-01-26 21:08:47 UTC (rev 61748)
@@ -1,4 +1,4 @@
-## Babel 3.69
+## Babel 3.70
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages. Many
@@ -8,9 +8,9 @@
 
 The latest stable version is available on <https://ctan.org/pkg/babel>.
 
-Changes in version 3.69 are described in:
+Changes in version 3.70 are described in:
 
-https://latex3.github.io/babel/news/whats-new-in-babel-3.69.html
+https://latex3.github.io/babel/news/whats-new-in-babel-3.70.html
 
 Apart from the manual, you can find information on some aspects of babel at:
 
@@ -46,18 +46,11 @@
 
 ### 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.
-         - The syntax provide=* didn’t work with Hebrew and a few other
-           languages.
-         - Wrong equation direction in first column in array and tabular
-           environment (#158).
-         - Tentative fixes for labels in displayed math (#159).
+3.70   2022-01-26
+       * Finnish: transform 'prehyphen.nobreak'.
+       * Better fixes for amsmath, as well as for the default
+         'equation' and 'eqnarray' (but still not perfect).
+       * Fix an error with bidi=basic and some fonts for graphics.
 ```
 
 ### Previous changes

Modified: trunk/Master/texmf-dist/doc/latex/babel/babel.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/babel/babel.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/babel/babel.dtx	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/source/latex/babel/babel.dtx	2022-01-26 21:08:47 UTC (rev 61748)
@@ -1,7 +1,7 @@
 % \iffalse
 % This document requires lualatex
 %%
-%% Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2021/12/30 v3.69 The Babel package]
+\ProvidesFile{babel.dtx}[2022/01/26 v3.70 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -3150,11 +3150,14 @@
 \trans{Czech, Polish, Slovak}{oneletter.nobreak}{Converts a space after
 a non-syllabic preposition or conjunction into a non-breaking space.}
 
+\trans{Finnish}{prehyphen.nobreak}{Line breaks just after hyphens
+prepended to words are prevented, like in “pakastekaapit ja -arkut”.}
+
 \trans{Greek}{diaeresis.hyphen}{Removes the diaeresis above iota and
 upsilon if hyphenated just before. It works with the three variants.}
 
-\trans{Greek}{transliteration.omega}{Although he provided combinations
-are not exactly the same, this transform follows the syntax of Omega:
+\trans{Greek}{transliteration.omega}{Although the provided combinations
+are not the full set, this transform follows the syntax of Omega:
 |=| for the circumflex, |v| for digamma, and so on. For better
 compatibility with Levy’s system, \texttt{\string~} (as ‘string’) is an
 alternative to |=|. |'| is tonos in Monotonic Greek, but oxia in
@@ -5119,8 +5122,8 @@
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.69>>
-%<<date=2021/12/30>>
+%<<version=3.70>>
+%<<date=2022/01/26>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -14301,8 +14304,8 @@
            else  
              rep = rep:gsub(    '(no)%s*=%s*([^%s,]*)', Babel.capture_func)
              rep = rep:gsub(   '(pre)%s*=%s*([^%s,]*)', Babel.capture_func)
-             rep = rep:gsub(  '(post)%s*=%s*([^%s,]*)', Babel.capture_func)
-           end          
+             rep = rep:gsub(  '(post)%s*=%s*([^%s,]*)', Babel.capture_func)      
+           end
            tex.print([[\string\babeltempa{{]] .. rep .. [[}}]])
          }}}&%
     \let\bbl at kv@attribute\relax
@@ -14516,39 +14519,85 @@
 %    \begin{macrocode}
 \bbl at trace{Redefinitions for bidi layout}
 \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
+  \let\bbl at eqnodir\relax
+  \AtBeginDocument{%
+    \ifx\maketag@@@\@undefined % Normal equation, eqnarray
+      \AddToHook{env/eqnarray/begin}{%
+        \ifnum\bbl at thetextdir>\z@
+          \edef\bbl at eqnodir{\noexpand\bbl at textdir{\the\bbl at thetextdir}}%
+          \chardef\bbl at thetextdir\z@
+          \bbl at add\normalfont{\bbl at eqnodir}%
+        \fi}%
+      \AddToHook{env/equation/begin}{%
+        \ifnum\bbl at thetextdir>\z@
+          \edef\bbl at eqnodir{\noexpand\bbl at textdir{\the\bbl at thetextdir}}%
+          \chardef\bbl at thetextdir\z@
+          \bbl at add\normalfont{\bbl at eqnodir}%
+          \pardir TLT % dir for \eqno is \pardir!
+        \fi}%
       \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]}}}}
+        \def\@eqnnum{%
+           \setbox\z@\hbox{\normalfont\normalcolor(\theequation)}%
+           \hbox to0.01pt{\hss\hbox to\displaywidth{\box\z@\hss}}}%
       \fi
-    \fi
-  \fi
+    \else % amstex
+      \bbl at sreplace\intertext@{\normalbaselines}%
+        {\normalbaselines
+         \ifx\bbl at eqnodir\relax\else\bbl at pardir\@ne\bbl at textdir\@ne\fi}
+      \def\bbl at ams@tagbox#1#2{#1{\bbl at eqnodir#2}}% #1=\hbox|ams at lap
+      \def\bbl at ams@eqtagbox#1{%
+        \setbox\z@\hbox{\bbl at eqnodir#1}%
+        \hbox to\wd\z@{%
+          \ifx\bbl at ams@lap\hbox
+            \hss\hbox to\displaywidth{\box\z@\hss}%
+          \else
+            \hbox to\displaywidth{\hss\box\z@}\hss
+          \fi}}
+      \def\bbl at ams@preset#1{%
+        \ifnum\bbl at thetextdir>\z@
+          \edef\bbl at eqnodir{\noexpand\bbl at textdir{\the\bbl at thetextdir}}%
+          \chardef\bbl at thetextdir\z@
+          \bbl at sreplace\textdef@{\hbox}{\bbl at ams@tagbox\hbox}%
+          \bbl at sreplace\maketag@@@{\hbox}{\bbl at ams@tagbox#1}%
+        \fi}
+      \@ifpackagewith{amsmath}{leqno}%
+        {\let\bbl at ams@lap\hbox}% = leqno
+        {\let\bbl at ams@lap\llap}% = default
+      % Not required?: split, alignat
+      \AddToHook{env/cases/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/gather*/begin}{\bbl at ams@preset\bbl at ams@lap}%
+      \AddToHook{env/align/begin}{\bbl at ams@preset\bbl at ams@lap}%
+      \AddToHook{env/align*/begin}{\bbl at ams@preset\bbl at ams@lap}%
+      % Hackish, for proper alignment-don’t ask me why it works! :-)
+      \bbl at exp{%
+        \\\AddToHook{env/align*/end}{\<iftag@>\<else>\\\tag*{}\<fi>}}%
+      \AddToHook{env/flalign/begin}{\bbl at ams@preset\hbox}%
+      \AddToHook{env/split/before}{%
+        \def\bbl at tempa{equation}%
+        \ifx\@currenvir\bbl at tempa
+          \def\bbl at ams@eqtagbox#1{%
+            \setbox\z@\hbox{\bbl at eqnodir#1}%
+            \hbox to\wd\z@{\box\z@}}%
+        \fi}
+      \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        
+          \def\bbl at eqnodir{\bbl at textdir\@ne}%
+          \bbl at textdir\z@
+          \bbl at sreplace\maketag@@@{\hbox}{\bbl at ams@eqtagbox}%
+        \fi}%
+      \AddToHook{env/equation*/begin}{%
+        \bbl at add\ignorespacesafterend{\hrule\@height\z@}%
+        \ifnum\bbl at thetextdir>\z@            
+          \def\bbl at eqnodir{\bbl at textdir\@ne}%
+          \bbl at textdir\z@
+          \bbl at sreplace\maketag@@@{\hbox}{\bbl at ams@eqtagbox}%
+        \fi}%
+      \fi}
 \fi
 \ifx\bbl at opt@layout\@nnil\endinput\fi  % if no layout
 \ifnum\bbl at bidimode>\z@
@@ -21986,7 +22035,10 @@
         item = nodes[r][1]    -- MIRRORING
         if Babel.mirroring_enabled and item.id == GLYPH
              and temp == 'r' and characters[item.char] then
-          local font_mode = font.fonts[item.font].properties.mode
+          local font_mode = ''
+          if font.fonts[item.font].properties then
+            font_mode = font.fonts[item.font].properties.mode
+          end
           if font_mode ~= 'harf' and font_mode ~= 'plug' then
             item.char = characters[item.char].m or item.char
           end

Modified: trunk/Master/texmf-dist/source/latex/babel/babel.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/babel/babel.ins	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/source/latex/babel/babel.ins	2022-01-26 21:08:47 UTC (rev 61748)
@@ -3,7 +3,7 @@
 %% driver files from the doc files in this package when run through
 %% LaTeX or TeX.
 %%
-%% Copyright 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright 1989-2008 Johannes L. Braams and any individual authors
 %% listed elsewhere in this file.  All rights reserved.
 %% 
@@ -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/30}
+\def\filedate{2022/01/26}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 

Modified: trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx	2022-01-26 21:08:47 UTC (rev 61748)
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2021/12/30 v3.69]
+\ProvidesFile{bbcompat.dtx}[2022/01/26 v3.70]
 %</dtx>
 %
 %% File 'bbcompat.dtx'

Modified: trunk/Master/texmf-dist/source/latex/babel/locale.zip
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/generic/babel/babel-bidi-basic-r.lua
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel-bidi-basic-r.lua	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel-bidi-basic-r.lua	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 -- babel.dtx  (with options: `basic-r')
 -- 
 --
--- Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+-- Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 -- Copyright (C) 1989-2012 Johannes L. Braams and
 --           any individual authors listed elsewhere in this file.
 -- All rights reserved.

Modified: trunk/Master/texmf-dist/tex/generic/babel/babel-bidi-basic.lua
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel-bidi-basic.lua	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel-bidi-basic.lua	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 -- babel.dtx  (with options: `basic')
 -- 
 --
--- Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+-- Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 -- Copyright (C) 1989-2012 Johannes L. Braams and
 --           any individual authors listed elsewhere in this file.
 -- All rights reserved.
@@ -341,7 +341,10 @@
         item = nodes[r][1]    -- MIRRORING
         if Babel.mirroring_enabled and item.id == GLYPH
              and temp == 'r' and characters[item.char] then
-          local font_mode = font.fonts[item.font].properties.mode
+          local font_mode = ''
+          if font.fonts[item.font].properties then
+            font_mode = font.fonts[item.font].properties.mode
+          end
           if font_mode ~= 'harf' and font_mode ~= 'plug' then
             item.char = characters[item.char].m or item.char
           end

Modified: trunk/Master/texmf-dist/tex/generic/babel/babel-data-bidi.lua
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel-data-bidi.lua	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel-data-bidi.lua	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 -- babel.dtx  (with options: `bididata')
 -- 
 --
--- Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+-- Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 -- Copyright (C) 1989-2012 Johannes L. Braams and
 --           any individual authors listed elsewhere in this file.
 -- All rights reserved.

Modified: trunk/Master/texmf-dist/tex/generic/babel/babel-data-cjk.lua
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel-data-cjk.lua	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel-data-cjk.lua	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 -- babel.dtx  (with options: `cjkdata')
 -- 
 --
--- Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+-- Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 -- Copyright (C) 1989-2012 Johannes L. Braams and
 --           any individual authors listed elsewhere in this file.
 -- All rights reserved.

Modified: trunk/Master/texmf-dist/tex/generic/babel/babel-transforms.lua
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel-transforms.lua	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel-transforms.lua	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 -- babel.dtx  (with options: `transforms')
 -- 
 --
--- Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+-- Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 -- Copyright (C) 1989-2012 Johannes L. Braams and
 --           any individual authors listed elsewhere in this file.
 -- All rights reserved.

Modified: trunk/Master/texmf-dist/tex/generic/babel/babel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel.def	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel.def	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 %% babel.dtx  (with options: `core')
 %% 
 %%
-%% Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.
@@ -40,7 +40,7 @@
     \wlog{File: #1 #4 #3 <#2>}%
     \let\ProvidesFile\@undefined}
 \fi
-\ProvidesFile{babel.def}[2021/12/30 3.69 Babel common definitions]
+\ProvidesFile{babel.def}[2022/01/26 3.70 Babel common definitions]
 \ifx\AtBeginDocument\@undefined  % TODO. change test.
   \def\@empty{}
 \def\loadlocalcfg#1{%
@@ -406,8 +406,8 @@
 \expandafter\newif\csname ifbbl at single\endcsname
 \chardef\bbl at bidimode\z@
 \fi
-\def\bbl at version{3.69}
-\def\bbl at date{2021/12/30}
+\def\bbl at version{3.70}
+\def\bbl at date{2022/01/26}
 \ifx\language\@undefined
   \csname newcount\endcsname\language
 \fi

Modified: trunk/Master/texmf-dist/tex/generic/babel/babel.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel.sty	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel.sty	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 %% babel.dtx  (with options: `package')
 %% 
 %%
-%% Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.
@@ -34,7 +34,7 @@
 %%
 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
-\ProvidesPackage{babel}[2021/12/30 3.69 The Babel package]
+\ProvidesPackage{babel}[2022/01/26 3.70 The Babel package]
 \@ifpackagewith{babel}{debug}
   {\providecommand\bbl at trace[1]{\message{^^J[ #1 ]}}%
    \let\bbl at debug\@firstofone
@@ -453,8 +453,8 @@
       \expandafter\@secondoftwo
     \fi}
 \fi
-\def\bbl at version{3.69}
-\def\bbl at date{2021/12/30}
+\def\bbl at version{3.70}
+\def\bbl at date{2022/01/26}
 \ifx\language\@undefined
   \csname newcount\endcsname\language
 \fi

Modified: trunk/Master/texmf-dist/tex/generic/babel/blplain.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/blplain.tex	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/blplain.tex	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 %% babel.dtx  (with options: `blplain')
 %% 
 %%
-%% Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.

Modified: trunk/Master/texmf-dist/tex/generic/babel/bplain.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/bplain.tex	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/bplain.tex	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 %% babel.dtx  (with options: `bplain')
 %% 
 %%
-%% Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.

Modified: trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 %% babel.dtx  (with options: `patterns')
 %% 
 %%
-%% Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.
@@ -38,10 +38,10 @@
     \wlog{File: #1 #4 #3 <#2>}%
     \let\ProvidesFile\@undefined}
 \fi
-\ProvidesFile{hyphen.cfg}[2021/12/30 3.69 Babel hyphens]
+\ProvidesFile{hyphen.cfg}[2022/01/26 3.70 Babel hyphens]
 \xdef\bbl at format{\jobname}
-\def\bbl at version{3.69}
-\def\bbl at date{2021/12/30}
+\def\bbl at version{3.70}
+\def\bbl at date{2022/01/26}
 \ifx\AtBeginDocument\@undefined
   \def\@empty{}
 \fi

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/fi/babel-fi.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/fi/babel-fi.ini	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/fi/babel-fi.ini	2022-01-26 21:08:47 UTC (rev 61748)
@@ -12,8 +12,8 @@
 
 [identification]
 charset = utf8
-version = 1.3
-date = 2020-06-30
+version = 1.4
+date = 2022-01-02
 name.local = suomi
 name.english = Finnish
 name.babel = finnish
@@ -184,3 +184,10 @@
 superscriptingExponent = ×
 
 [counters]
+
+[transforms.prehyphenation]
+prehyphen.nobreak.1.0 = { [{p}|] () -{a} () }
+prehyphen.nobreak.1.1 =   {}
+prehyphen.nobreak.1.2 =   { insert, penalty = 10000 }
+prehyphen.nobreak.1.3 =   { insert, space = 0 0 0 }
+prehyphen.nobreak.1.4 =   {}
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/generic/babel/luababel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/luababel.def	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/luababel.def	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 %% babel.dtx  (with options: `luatex')
 %% 
 %%
-%% Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.
@@ -1340,39 +1340,85 @@
   \ifcase\bbl at attr@dir\expandafter\rlap\else\expandafter\llap\fi}
 \bbl at trace{Redefinitions for bidi layout}
 \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
+  \let\bbl at eqnodir\relax
+  \AtBeginDocument{%
+    \ifx\maketag@@@\@undefined % Normal equation, eqnarray
+      \AddToHook{env/eqnarray/begin}{%
+        \ifnum\bbl at thetextdir>\z@
+          \edef\bbl at eqnodir{\noexpand\bbl at textdir{\the\bbl at thetextdir}}%
+          \chardef\bbl at thetextdir\z@
+          \bbl at add\normalfont{\bbl at eqnodir}%
+        \fi}%
+      \AddToHook{env/equation/begin}{%
+        \ifnum\bbl at thetextdir>\z@
+          \edef\bbl at eqnodir{\noexpand\bbl at textdir{\the\bbl at thetextdir}}%
+          \chardef\bbl at thetextdir\z@
+          \bbl at add\normalfont{\bbl at eqnodir}%
+          \pardir TLT % dir for \eqno is \pardir!
+        \fi}%
       \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]}}}}
+        \def\@eqnnum{%
+           \setbox\z@\hbox{\normalfont\normalcolor(\theequation)}%
+           \hbox to0.01pt{\hss\hbox to\displaywidth{\box\z@\hss}}}%
       \fi
-    \fi
-  \fi
+    \else % amstex
+      \bbl at sreplace\intertext@{\normalbaselines}%
+        {\normalbaselines
+         \ifx\bbl at eqnodir\relax\else\bbl at pardir\@ne\bbl at textdir\@ne\fi}
+      \def\bbl at ams@tagbox#1#2{#1{\bbl at eqnodir#2}}% #1=\hbox|ams at lap
+      \def\bbl at ams@eqtagbox#1{%
+        \setbox\z@\hbox{\bbl at eqnodir#1}%
+        \hbox to\wd\z@{%
+          \ifx\bbl at ams@lap\hbox
+            \hss\hbox to\displaywidth{\box\z@\hss}%
+          \else
+            \hbox to\displaywidth{\hss\box\z@}\hss
+          \fi}}
+      \def\bbl at ams@preset#1{%
+        \ifnum\bbl at thetextdir>\z@
+          \edef\bbl at eqnodir{\noexpand\bbl at textdir{\the\bbl at thetextdir}}%
+          \chardef\bbl at thetextdir\z@
+          \bbl at sreplace\textdef@{\hbox}{\bbl at ams@tagbox\hbox}%
+          \bbl at sreplace\maketag@@@{\hbox}{\bbl at ams@tagbox#1}%
+        \fi}
+      \@ifpackagewith{amsmath}{leqno}%
+        {\let\bbl at ams@lap\hbox}% = leqno
+        {\let\bbl at ams@lap\llap}% = default
+      % Not required?: split, alignat
+      \AddToHook{env/cases/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/gather*/begin}{\bbl at ams@preset\bbl at ams@lap}%
+      \AddToHook{env/align/begin}{\bbl at ams@preset\bbl at ams@lap}%
+      \AddToHook{env/align*/begin}{\bbl at ams@preset\bbl at ams@lap}%
+      % Hackish, for proper alignment-don’t ask me why it works! :-)
+      \bbl at exp{%
+        \\\AddToHook{env/align*/end}{\<iftag@>\<else>\\\tag*{}\<fi>}}%
+      \AddToHook{env/flalign/begin}{\bbl at ams@preset\hbox}%
+      \AddToHook{env/split/before}{%
+        \def\bbl at tempa{equation}%
+        \ifx\@currenvir\bbl at tempa
+          \def\bbl at ams@eqtagbox#1{%
+            \setbox\z@\hbox{\bbl at eqnodir#1}%
+            \hbox to\wd\z@{\box\z@}}%
+        \fi}
+      \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
+          \def\bbl at eqnodir{\bbl at textdir\@ne}%
+          \bbl at textdir\z@
+          \bbl at sreplace\maketag@@@{\hbox}{\bbl at ams@eqtagbox}%
+        \fi}%
+      \AddToHook{env/equation*/begin}{%
+        \bbl at add\ignorespacesafterend{\hrule\@height\z@}%
+        \ifnum\bbl at thetextdir>\z@
+          \def\bbl at eqnodir{\bbl at textdir\@ne}%
+          \bbl at textdir\z@
+          \bbl at sreplace\maketag@@@{\hbox}{\bbl at ams@eqtagbox}%
+        \fi}%
+      \fi}
 \fi
 \ifx\bbl at opt@layout\@nnil\endinput\fi  % if no layout
 \ifnum\bbl at bidimode>\z@

Modified: trunk/Master/texmf-dist/tex/generic/babel/nil.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/nil.ldf	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/nil.ldf	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 %% babel.dtx  (with options: `nil')
 %% 
 %%
-%% Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.
@@ -33,7 +33,7 @@
 %% extension |.ins|) which are part of the distribution.
 %%
 
-\ProvidesLanguage{nil}[2021/12/30 3.69 Nil language]
+\ProvidesLanguage{nil}[2022/01/26 3.70 Nil language]
 \LdfInit{nil}{datenil}
 \ifx\l at nil\@undefined
   \newlanguage\l at nil

Modified: trunk/Master/texmf-dist/tex/generic/babel/plain.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/plain.def	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/plain.def	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 %% babel.dtx  (with options: `plain')
 %% 
 %%
-%% Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.

Modified: trunk/Master/texmf-dist/tex/generic/babel/switch.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/switch.def	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/switch.def	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 %% babel.dtx  (with options: `kernel')
 %% 
 %%
-%% Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.

Modified: trunk/Master/texmf-dist/tex/generic/babel/txtbabel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/txtbabel.def	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/txtbabel.def	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 %% babel.dtx  (with options: `texxet')
 %% 
 %%
-%% Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.

Modified: trunk/Master/texmf-dist/tex/generic/babel/xebabel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/xebabel.def	2022-01-26 21:07:10 UTC (rev 61747)
+++ trunk/Master/texmf-dist/tex/generic/babel/xebabel.def	2022-01-26 21:08:47 UTC (rev 61748)
@@ -7,7 +7,7 @@
 %% babel.dtx  (with options: `xetex')
 %% 
 %%
-%% Copyright (C) 2012-2021 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2022 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.



More information about the tex-live-commits mailing list.