[latex3-commits] [git/LaTeX3-latex3-babel] main: Fix Thai captions. Minor advances in amsmath. (dfa91ac)

Javier email at dante.de
Thu Feb 17 19:23:21 CET 2022


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

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

commit dfa91acab4dc484f4ccca01cb8adfef31ac9a9f5
Author: Javier <email at localhost>
Date:   Thu Feb 17 19:23:21 2022 +0100

    Fix Thai captions. Minor advances in amsmath.


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

dfa91acab4dc484f4ccca01cb8adfef31ac9a9f5
 README.md              |   8 ++++++--
 babel.dtx              |  32 +++++++++++---------------------
 babel.ins              |   2 +-
 babel.pdf              | Bin 853443 -> 853420 bytes
 bbcompat.dtx           |   2 +-
 locale/th/babel-th.ini |  30 +++++++++++++++---------------
 6 files changed, 34 insertions(+), 40 deletions(-)

diff --git a/README.md b/README.md
index 41c7e9d..9e7dac4 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-## Babel 3.71
+## Babel 3.71.2651
 
-2022-02-13
+(Development.)
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages. Many
@@ -48,6 +48,10 @@ respective authors.
 
 ### Summary of Latest changes
 ```
+3.72   2022-02-?? (dev)
+       * Advances in amsmath
+       * Fix: captions in Thai.
+
 3.71   2022-02-13
        * IAST transliteration for Sanskrit (by Maximilian Mehner).
        * Fixes:
diff --git a/babel.dtx b/babel.dtx
index d5706cd..3628b32 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2022/02/13 v3.71 The Babel package]
+\ProvidesFile{babel.dtx}[2022/02/17 v3.71.2651 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -5100,8 +5100,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.71>>
-%<<date=2022/02/13>>
+%<<version=3.71.2651>>
+%<<date=2022/02/17>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -14478,19 +14478,8 @@ end
 %
 \ifnum\bbl at bidimode>\z@
   \def\bbl at insidemath{0}%
-  \def\bbl at mathboxdir{%
-    \ifcase\bbl at thetextdir\relax
-      \everyhbox{\bbl at mathboxdir@aux L}%
-    \else
-      \everyhbox{\bbl at mathboxdir@aux R}%
-     \fi}
-  \def\bbl at mathboxdir@aux#1{%
-    \@ifnextchar\egroup{}{\textdir T#1T\relax}}
   \def\bbl at everymath{\def\bbl at insidemath{1}}
-  \def\bbl at everydisplay{%
-    \bbl at mathboxdir
-    \def\bbl at everymath{\bbl at mathboxdir}%
-    \def\bbl at insidemath{2}}
+  \def\bbl at everydisplay{\def\bbl at insidemath{2}}
   \frozen at everymath\expandafter{%
     \expandafter\bbl at everymath\the\frozen at everymath}
   \frozen at everydisplay\expandafter{%
@@ -14584,15 +14573,15 @@ end
         \def\bbl at ams@eqtagbox#1{%
           \setbox\z@\hbox{\bbl at eqnodir#1}%
           \hbox to 0.01pt{%
-            \ifx\bbl at ams@lap\hbox
-              \hbox to\displaywidth{\hss\box\z@}\hss
-            \else
+            \ifx\bbl at ams@lap\hbox % leqno
               \hss\hbox to\displaywidth{\box\z@\hss}%
-            \fi}}
+            \else % eqno
+              \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@
+            \chardef\bbl at thetextdir\z@ % necessary? doesn’t hurt
             \bbl at sreplace\textdef@{\hbox}{\bbl at ams@tagbox\hbox}%
             \bbl at sreplace\maketag@@@{\hbox}{\bbl at ams@tagbox#1}%
           \fi}
@@ -14606,6 +14595,7 @@ end
         \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}%
+        \AddToHook{env/eqnalign/begin}{\bbl at ams@preset\hbox}%
         % Hackish, for proper alignment-don’t ask me why it works! :-)
         \bbl at exp{%
           \\\AddToHook{env/align*/end}{\<iftag@>\<else>\\\tag*{}\<fi>}}%
@@ -14616,7 +14606,7 @@ end
             \ifx\@currenvir\bbl at tempa
               \def\bbl at ams@eqtagbox#1{%
                 \ifx\bbl at ams@lap\hbox
-                  \hbox to0.01pt{\hss\bbl at eqnodir#1}% leqno
+                  \hbox to0.01pt{\bbl at eqnodir\hss#1}% leqno
                 \else
                   \hbox to0.01pt{\bbl at eqnodir#1\hss}% eqno
                 \fi}
diff --git a/babel.ins b/babel.ins
index 5bbdbce..639787d 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/02/13}
+\def\filedate{2022/02/17}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index f909b4d..502975b 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 2da4345..b8373ec 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2022/02/13 v3.71]
+\ProvidesFile{bbcompat.dtx}[2022/02/17 v3.71.2651]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/locale/th/babel-th.ini b/locale/th/babel-th.ini
index 58fbe84..65f800f 100644
--- a/locale/th/babel-th.ini
+++ b/locale/th/babel-th.ini
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.7
-date = 2020-09-30
+version = 1.8
+date = 2022-02-17
 name.local = ไทย
 name.english = Thai
 name.babel = thai
@@ -30,26 +30,26 @@ derivate = no
 require.babel = thai
 
 [captions]
-preface = คำนำ
-ref = เอกสารอ้างอิง
-abstract = บทคดั ยอ่
-bib = บรรณานกุ รม
-chapter = บทท่ี
+preface = บทนำ
+ref = หนังสืออ้างอิง
+abstract = บทคัดย่อ
+bib = บรรณานุกรม
+chapter = บทที่
 appendix = ภาคผนวก
 contents = สารบัญ
-listfigure = สารบัญรปู
-listtable = สารบญั ตาราง
+listfigure = สารบัญรูป
+listtable = สารบัญตาราง
 index = ดรรชนี
-figure = รปู ท่ี
-table = ตารางท่ี
+figure = รูปที่
+table = ตารางที่
 part = ภาค
-encl = สง่ิ ทแ่ี นบมาด้วย
+encl = สิ่งที่แนบมาด้วย
 cc = สำเนาถึง
-headto = เรยี น
+headto = เรียน
 page = หน้า
 see = ดู
-also = ดูเพ่ิมเตมิ
-proof = พิสจู น์
+also = ดูเพิ่มเติม
+proof = พิสูจน์
 glossary = 
 
 [captions.licr]





More information about the latex3-commits mailing list.