texlive[62166] Master/texmf-dist: babel (24feb22)
commits+karl at tug.org
commits+karl at tug.org
Thu Feb 24 21:55:40 CET 2022
Revision: 62166
http://tug.org/svn/texlive?view=revision&revision=62166
Author: karl
Date: 2022-02-24 21:55:39 +0100 (Thu, 24 Feb 2022)
Log Message:
-----------
babel (24feb22)
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.def
trunk/Master/texmf-dist/tex/generic/babel/babel.sty
trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg
trunk/Master/texmf-dist/tex/generic/babel/locale/pl/babel-pl.ini
trunk/Master/texmf-dist/tex/generic/babel/locale/th/babel-th.ini
trunk/Master/texmf-dist/tex/generic/babel/luababel.def
trunk/Master/texmf-dist/tex/generic/babel/nil.ldf
Modified: trunk/Master/texmf-dist/doc/latex/babel/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/babel/README.md 2022-02-24 20:54:22 UTC (rev 62165)
+++ trunk/Master/texmf-dist/doc/latex/babel/README.md 2022-02-24 20:55:39 UTC (rev 62166)
@@ -1,7 +1,5 @@
-## Babel 3.71
+## Babel 3.72
-2022-02-13
-
This package manages culturally-determined typographical (and other)
rules, and hyphenation patterns for a wide range of languages. Many
language styles work with pdflatex, as well as with xelatex and
@@ -10,9 +8,9 @@
The latest stable version is available on <https://ctan.org/pkg/babel>.
-Changes in version 3.71 are described in:
+Changes in version 3.72 are described in:
-https://latex3.github.io/babel/news/whats-new-in-babel-3.71.html
+https://latex3.github.io/babel/news/whats-new-in-babel-3.72.html
Apart from the manual, you can find information on some aspects of babel at:
@@ -48,13 +46,12 @@
### Summary of Latest changes
```
-3.71 2022-02-13
- * IAST transliteration for Sanskrit (by Maximilian Mehner).
+3.72 2022-02-24
+ * Advances in amsmath (lua).
* Fixes:
- - Bad interraction between bidi option and mathtools (#166).
- - 'provide+=' didn’t work with 'hebrew' as a secondary
- language.
- - Wrong equation direction in 'cases' and 'array' (#167).
+ - Captions in Thai.
+ - Some settings sometimes ignored with 'onchar' (lua).
+ - Extra colon in Polish 'cc' (#172)
```
### 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-02-24 20:54:22 UTC (rev 62165)
+++ trunk/Master/texmf-dist/source/latex/babel/babel.dtx 2022-02-24 20:55:39 UTC (rev 62166)
@@ -32,7 +32,7 @@
%
% \iffalse
%<*filedriver>
-\ProvidesFile{babel.dtx}[2022/02/13 v3.71 The Babel package]
+\ProvidesFile{babel.dtx}[2022/02/24 v3.72 The Babel package]
\documentclass{ltxdoc}
\GetFileInfo{babel.dtx}
\usepackage{fontspec}
@@ -2567,20 +2567,22 @@
(thus overriding that set when \babel\ is loaded). Only in newly defined
languages.
\begin{example}
- Let's assume your document is mainly in Polytonic Greek, but with some
- sections in Italian. Then, the first attempt should be:
+ Let's assume your document (\xetex{} or \luatex{}) is mainly in
+ Polytonic Greek with but with some sections in Italian. Then, the
+ first attempt should be:
\begin{verbatim}
\usepackage[italian, greek.polutonic]{babel}
\end{verbatim}
- But if, say, accents in Greek are not shown correctly, you can try:
+ But if, say, accents in Greek are not shown correctly, you can try
\begin{verbatim}
-\usepackage[italian]{babel}
-\babelprovide[import, main]{polytonicgreek}
+\usepackage[italian, polytonicgreek, provide=*]{babel}
\end{verbatim}
Remerber there is an alternative syntax for the latter:
\begin{verbatim}
-\usepackage[italian, polytonicgreek, provide=*]{babel}
+\usepackage[italian]{babel}
+\babelprovide[import, main]{polytonicgreek}
\end{verbatim}
+
Finally, also remember you might not need to load |italian| at all if
there are only a few word in this language (see~\ref{mostlymono}).
@@ -3813,13 +3815,14 @@
events. Some hooks are predefined when \luatex{} and \xetex{} are
used.
-% \New{3.62} This is not the only way to inject code at those points. The
-% events listed below can be used as a hook name in |\AddToHook| in the
-% form |babel/|\marg{name}, but there is a limitation, because the
-% parameters passed with the \babel{} mechanism are not allowed. The
-% |\AddToHook| mechanism does \textit{not} replace the current one in
-% `babel`. Its main advantage is you can reconfigure `babel` even before
-% loading it. See the example below.
+\New{3.64} This is not the only way to inject code at those points. The
+events listed below can be used as a hook name in |\AddToHook| in the
+form |babel/|\m{language-name}|/|\m{event-name} (with |*| it’s applied to
+all languages), but there is a limitation, because the parameters
+passed with the \babel{} mechanism are not allowed. The |\AddToHook|
+mechanism does \textit{not} replace the current one in `babel`. Its
+main advantage is you can reconfigure `babel` even before loading it.
+See the example below.
\Describe{\AddBabelHook}{\oarg{lang}\marg{name}\marg{event}\marg{code}}
@@ -3903,26 +3906,26 @@
file. Used by \file{luababel.def}.
\end{description}
-% \begin{example}
-% The generic unlocalized \LaTeX{} hooks are predefined, so that you can
-% write:
-% \begin{verbatim}
-% \AddToHook{babel/afterextras}{\frenchspacing}
-% \end{verbatim}
-% which is executed always after the extras for the language being
-% selected (and just before the non-localized hooks defined with
-% |\AddBabelHook|).
+\begin{example}
+The generic unlocalized \LaTeX{} hooks are predefined, so that you can
+write:
+\begin{verbatim}
+\AddToHook{babel/*/afterextras}{\frenchspacing}
+\end{verbatim}
+which is executed always after the extras for the language being
+selected (and just before the non-localized hooks defined with
+|\AddBabelHook|).
-% In addition, locale-specific hooks in the form
-% |babel/|\marg{hook-name}|/|\marg{language-name} are \textit{recognized}
-% (executed just before the localized \babel{} hooks), but they are \textit{not
-% predefined}. You have to do it yourself. For example, to set
-% |\frenchspacing| only in |bengali|:
-% \begin{verbatim}
-% \ProvideHook{babel/afterextras/bengali}
-% \AddToHook{babel/afterextras/bengali}{\frenchspacing}
-% \end{verbatim}
-% \end{example}
+In addition, locale-specific hooks in the form
+|babel/|\m{language-name}|/|\m{event-name} are \textit{recognized}
+(executed just before the localized \babel{} hooks), but they are
+\textit{not predefined}. You have to do it yourself. For example, to
+set |\frenchspacing| only in |bengali|:
+\begin{verbatim}
+\ActivateGenericHook{babel/bengali/afterextras}
+\AddToHook{babel/bengali/afterextras}{\frenchspacing}
+\end{verbatim}
+\end{example}
\Describe{\BabelContentsFiles}{}
\New{3.9a} This macro contains a list of ``toc'' types
@@ -4096,7 +4099,7 @@
mappings. Unfortunately, \cs{savinghyphcodes} is not a solution
either, because lccodes for hyphenation are frozen in the format
and cannot be changed.} So, if you write a chunk of French text
- with |\foreinglanguage|, the apostrophes might not be taken into
+ with |\foreignlanguage|, the apostrophes might not be taken into
account. This is a limitation of \TeX, not of
\babel. Alternatively, you may use |\useshorthands| to activate |'|
and |\defineshorthand|, or redefine |\textquoteright| (the latter
@@ -5100,8 +5103,8 @@
% \section{Tools}
%
% \begin{macrocode}
-%<<version=3.71>>
-%<<date=2022/02/13>>
+%<<version=3.72>>
+%<<date=2022/02/24>>
% \end{macrocode}
%
% \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -5364,7 +5367,7 @@
% \end{macrocode}
% \end{macro}
%
-% Two further tools. |\bbl at samestring| first expand its arguments and
+% Two further tools. |\bbl at ifsamestring| first expand its arguments and
% then compare their expansion (sanitized, so that the catcodes do not
% matter). |\bbl at engine| takes the following values: 0 is pdf\TeX, 1
% is \luatex, and 2 is \xetex. You may use the latter it in your
@@ -9735,6 +9738,8 @@
% == onchar ==
\ifx\bbl at KVP@onchar\@nil\else
\bbl at luahyphenate
+ \bbl at exp{%
+ \\\AddToHook{env/document/before}{{\\\select at language{#2}{}}}}%
\directlua{
if Babel.locale_mapped == nil then
Babel.locale_mapped = true
@@ -12133,6 +12138,10 @@
\fi
\fi}%
\fi
+\else
+ \bbl at info{Main language set with 'main='. Except if you have\\%
+ problems, prefer the default mechanism for setting\\%
+ the main language. Reported}
\fi
% \end{macrocode}
%
@@ -14478,19 +14487,8 @@
%
\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{%
@@ -14571,35 +14569,34 @@
\fi
\else % amstex
\ifx\bbl at noamsmath\@undefined
- \edef\bbl at tempa{%
- \catcode58=\the\catcode58\relax
- \catcode95=\the\catcode95\relax}%
- \catcode58=11
- \catcode95=11
+ \@ifpackagewith{amsmath}{leqno}%
+ {\let\bbl at ams@lap\hbox}% = leqno
+ {\let\bbl at ams@lap\llap}% = default
+ \ExplSyntaxOn
\bbl at sreplace\intertext@{\normalbaselines}%
{\normalbaselines
\ifx\bbl at eqnodir\relax\else\bbl at pardir\@ne\bbl at eqnodir\fi}%
- \bbl at tempa
- \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 0.01pt{%
- \ifx\bbl at ams@lap\hbox
- \hbox to\displaywidth{\hss\box\z@}\hss
- \else
- \hss\hbox to\displaywidth{\box\z@\hss}%
- \fi}}
+ \ExplSyntaxOff
+ \def\bbl at ams@tagbox#1#2{#1{\bbl at eqnodir#2}}% #1=hbox|@lap|flip
+ \ifx\bbl at ams@lap\hbox % leqno
+ \def\bbl at ams@flip#1{%
+ \hbox to 0.01pt{\hss\hbox to\displaywidth{{#1}\hss}}}%
+ \else % eqno
+ \def\bbl at ams@flip#1{%
+ \hbox to 0.01pt{\hbox to\displaywidth{\hss{#1}}\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
- %
+ \fi}%
+ \AddToHook{env/equation/begin}{%
+ \ifnum\bbl at thetextdir>\z@
+ \ifx\bbl at ams@lap\llap\hrule\@height\z@\fi
+ \bbl at ams@preset\bbl at ams@flip
+ \fi}%
+ \AddToHook{env/equation*/begin}{\bbl at ams@preset\bbl at ams@flip}%
\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}%
@@ -14606,34 +14603,22 @@
\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/eqnalign/begin}{\bbl at ams@preset\hbox}%
+ % Hackish, for proper alignment. Don’t ask me why it works!:
+ \AddToHook{env/align*/end}{\iftag@\else\tag*{}\fi}%
\AddToHook{env/flalign/begin}{\bbl at ams@preset\hbox}%
\AddToHook{env/split/before}{%
\ifnum\bbl at thetextdir>\z@
- \def\bbl at tempa{equation}%
- \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
- \else
- \hbox to0.01pt{\bbl at eqnodir#1\hss}% eqno
- \fi}
- \fi
- \fi}
- \AddToHook{env/equation/begin}{%
- \ifnum\bbl at thetextdir>\z@
- \ifx\bbl at ams@lap\llap\hrule\@height\z@\fi
- \edef\bbl at eqnodir{\noexpand\bbl at textdir{\the\bbl at thetextdir}}%
- \bbl at sreplace\maketag@@@{\hbox}{\bbl at ams@eqtagbox}%
+ \bbl at ifsamestring\@currenvir{equation}%
+ {\ifx\bbl at ams@lap\hbox % leqno
+ \def\bbl at ams@flip#1{%
+ \hbox to 0.01pt{\hbox to\displaywidth{{#1}\hss}\hss}}%
+ \else
+ \def\bbl at ams@flip#1{%
+ \hbox to 0.01pt{\hss\hbox to\displaywidth{\hss{#1}}}}%
+ \fi}%
+ {}%
\fi}%
- \AddToHook{env/equation*/begin}{%
- \ifnum\bbl at thetextdir>\z@
- \edef\bbl at eqnodir{\noexpand\bbl at textdir{\the\bbl at thetextdir}}%
- \bbl at sreplace\maketag@@@{\hbox}{\bbl at ams@eqtagbox}%
- \fi}%
- \fi
\fi}
\fi
\ifx\bbl at opt@layout\@nnil\endinput\fi % if no layout
Modified: trunk/Master/texmf-dist/source/latex/babel/babel.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/babel/babel.ins 2022-02-24 20:54:22 UTC (rev 62165)
+++ trunk/Master/texmf-dist/source/latex/babel/babel.ins 2022-02-24 20:55:39 UTC (rev 62166)
@@ -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/24}
\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-02-24 20:54:22 UTC (rev 62165)
+++ trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx 2022-02-24 20:55:39 UTC (rev 62166)
@@ -30,7 +30,7 @@
%
% \iffalse
%<*dtx>
-\ProvidesFile{bbcompat.dtx}[2022/02/13 v3.71]
+\ProvidesFile{bbcompat.dtx}[2022/02/24 v3.72]
%</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.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel.def 2022-02-24 20:54:22 UTC (rev 62165)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel.def 2022-02-24 20:55:39 UTC (rev 62166)
@@ -40,7 +40,7 @@
\wlog{File: #1 #4 #3 <#2>}%
\let\ProvidesFile\@undefined}
\fi
-\ProvidesFile{babel.def}[2022/02/13 3.71 Babel common definitions]
+\ProvidesFile{babel.def}[2022/02/24 3.72 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.71}
-\def\bbl at date{2022/02/13}
+\def\bbl at version{3.72}
+\def\bbl at date{2022/02/24}
\ifx\language\@undefined
\csname newcount\endcsname\language
\fi
@@ -2524,6 +2524,8 @@
% == onchar ==
\ifx\bbl at KVP@onchar\@nil\else
\bbl at luahyphenate
+ \bbl at exp{%
+ \\\AddToHook{env/document/before}{{\\\select at language{#2}{}}}}%
\directlua{
if Babel.locale_mapped == nil then
Babel.locale_mapped = true
Modified: trunk/Master/texmf-dist/tex/generic/babel/babel.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel.sty 2022-02-24 20:54:22 UTC (rev 62165)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel.sty 2022-02-24 20:55:39 UTC (rev 62166)
@@ -34,7 +34,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-\ProvidesPackage{babel}[2022/02/13 3.71 The Babel package]
+\ProvidesPackage{babel}[2022/02/24 3.72 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.71}
-\def\bbl at date{2022/02/13}
+\def\bbl at version{3.72}
+\def\bbl at date{2022/02/24}
\ifx\language\@undefined
\csname newcount\endcsname\language
\fi
@@ -2571,6 +2571,8 @@
% == onchar ==
\ifx\bbl at KVP@onchar\@nil\else
\bbl at luahyphenate
+ \bbl at exp{%
+ \\\AddToHook{env/document/before}{{\\\select at language{#2}{}}}}%
\directlua{
if Babel.locale_mapped == nil then
Babel.locale_mapped = true
@@ -4211,6 +4213,10 @@
\fi
\fi}%
\fi
+\else
+ \bbl at info{Main language set with 'main='. Except if you have\\%
+ problems, prefer the default mechanism for setting\\%
+ the main language. Reported}
\fi
\ifx\bbl at opt@main\@nnil\else
\bbl at csarg\let{loadmain\expandafter}\csname ds@\bbl at opt@main\endcsname
Modified: trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg 2022-02-24 20:54:22 UTC (rev 62165)
+++ trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg 2022-02-24 20:55:39 UTC (rev 62166)
@@ -38,10 +38,10 @@
\wlog{File: #1 #4 #3 <#2>}%
\let\ProvidesFile\@undefined}
\fi
-\ProvidesFile{hyphen.cfg}[2022/02/13 3.71 Babel hyphens]
+\ProvidesFile{hyphen.cfg}[2022/02/24 3.72 Babel hyphens]
\xdef\bbl at format{\jobname}
-\def\bbl at version{3.71}
-\def\bbl at date{2022/02/13}
+\def\bbl at version{3.72}
+\def\bbl at date{2022/02/24}
\ifx\AtBeginDocument\@undefined
\def\@empty{}
\fi
Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/pl/babel-pl.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/pl/babel-pl.ini 2022-02-24 20:54:22 UTC (rev 62165)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/pl/babel-pl.ini 2022-02-24 20:55:39 UTC (rev 62166)
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.3
-date = 2021-04-24
+version = 1.4
+date = 2022-02-24
name.local = polski
name.english = Polish
name.babel = polish
@@ -43,7 +43,7 @@
table = Tablica
part = Cześć
encl = Załacznik
-cc = Kopie:
+cc = Kopie
headto = Do
page = Strona
see = Porównaj
@@ -66,7 +66,7 @@
table = Tablica
part = Cze\'s\'c
encl = Za\l acznik
-cc = Kopie:
+cc = Kopie
headto = Do
page = Strona
see = Por\'ownaj
Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/th/babel-th.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/th/babel-th.ini 2022-02-24 20:54:22 UTC (rev 62165)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/th/babel-th.ini 2022-02-24 20:55:39 UTC (rev 62166)
@@ -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 @@
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]
Modified: trunk/Master/texmf-dist/tex/generic/babel/luababel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/luababel.def 2022-02-24 20:54:22 UTC (rev 62165)
+++ trunk/Master/texmf-dist/tex/generic/babel/luababel.def 2022-02-24 20:55:39 UTC (rev 62166)
@@ -1348,19 +1348,8 @@
\def\bbl at dirparastext{\pardir\the\textdir\relax}% %%%%
\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{%
@@ -1412,35 +1401,34 @@
\fi
\else % amstex
\ifx\bbl at noamsmath\@undefined
- \edef\bbl at tempa{%
- \catcode58=\the\catcode58\relax
- \catcode95=\the\catcode95\relax}%
- \catcode58=11
- \catcode95=11
+ \@ifpackagewith{amsmath}{leqno}%
+ {\let\bbl at ams@lap\hbox}% = leqno
+ {\let\bbl at ams@lap\llap}% = default
+ \ExplSyntaxOn
\bbl at sreplace\intertext@{\normalbaselines}%
{\normalbaselines
\ifx\bbl at eqnodir\relax\else\bbl at pardir\@ne\bbl at eqnodir\fi}%
- \bbl at tempa
- \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 0.01pt{%
- \ifx\bbl at ams@lap\hbox
- \hbox to\displaywidth{\hss\box\z@}\hss
- \else
- \hss\hbox to\displaywidth{\box\z@\hss}%
- \fi}}
+ \ExplSyntaxOff
+ \def\bbl at ams@tagbox#1#2{#1{\bbl at eqnodir#2}}% #1=hbox|@lap|flip
+ \ifx\bbl at ams@lap\hbox % leqno
+ \def\bbl at ams@flip#1{%
+ \hbox to 0.01pt{\hss\hbox to\displaywidth{{#1}\hss}}}%
+ \else % eqno
+ \def\bbl at ams@flip#1{%
+ \hbox to 0.01pt{\hbox to\displaywidth{\hss{#1}}\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
- %
+ \fi}%
+ \AddToHook{env/equation/begin}{%
+ \ifnum\bbl at thetextdir>\z@
+ \ifx\bbl at ams@lap\llap\hrule\@height\z@\fi
+ \bbl at ams@preset\bbl at ams@flip
+ \fi}%
+ \AddToHook{env/equation*/begin}{\bbl at ams@preset\bbl at ams@flip}%
\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}%
@@ -1447,34 +1435,22 @@
\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/eqnalign/begin}{\bbl at ams@preset\hbox}%
+ % Hackish, for proper alignment. Don’t ask me why it works!:
+ \AddToHook{env/align*/end}{\iftag@\else\tag*{}\fi}%
\AddToHook{env/flalign/begin}{\bbl at ams@preset\hbox}%
\AddToHook{env/split/before}{%
\ifnum\bbl at thetextdir>\z@
- \def\bbl at tempa{equation}%
- \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
- \else
- \hbox to0.01pt{\bbl at eqnodir#1\hss}% eqno
- \fi}
- \fi
- \fi}
- \AddToHook{env/equation/begin}{%
- \ifnum\bbl at thetextdir>\z@
- \ifx\bbl at ams@lap\llap\hrule\@height\z@\fi
- \edef\bbl at eqnodir{\noexpand\bbl at textdir{\the\bbl at thetextdir}}%
- \bbl at sreplace\maketag@@@{\hbox}{\bbl at ams@eqtagbox}%
+ \bbl at ifsamestring\@currenvir{equation}%
+ {\ifx\bbl at ams@lap\hbox % leqno
+ \def\bbl at ams@flip#1{%
+ \hbox to 0.01pt{\hbox to\displaywidth{{#1}\hss}\hss}}%
+ \else
+ \def\bbl at ams@flip#1{%
+ \hbox to 0.01pt{\hss\hbox to\displaywidth{\hss{#1}}}}%
+ \fi}%
+ {}%
\fi}%
- \AddToHook{env/equation*/begin}{%
- \ifnum\bbl at thetextdir>\z@
- \edef\bbl at eqnodir{\noexpand\bbl at textdir{\the\bbl at thetextdir}}%
- \bbl at sreplace\maketag@@@{\hbox}{\bbl at ams@eqtagbox}%
- \fi}%
- \fi
\fi}
\fi
\ifx\bbl at opt@layout\@nnil\endinput\fi % if no layout
Modified: trunk/Master/texmf-dist/tex/generic/babel/nil.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/nil.ldf 2022-02-24 20:54:22 UTC (rev 62165)
+++ trunk/Master/texmf-dist/tex/generic/babel/nil.ldf 2022-02-24 20:55:39 UTC (rev 62166)
@@ -33,7 +33,7 @@
%% extension |.ins|) which are part of the distribution.
%%
-\ProvidesLanguage{nil}[2022/02/13 3.71 Nil language]
+\ProvidesLanguage{nil}[2022/02/24 3.72 Nil language]
\LdfInit{nil}{datenil}
\ifx\l at nil\@undefined
\newlanguage\l at nil
More information about the tex-live-commits
mailing list.