Skip to content

Commit

Permalink
More tabular. Changes in lt and fa ini’s.
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier committed Feb 9, 2023
1 parent 39bc046 commit c994d9e
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 27 deletions.
6 changes: 3 additions & 3 deletions README.md
@@ -1,4 +1,4 @@
## Babel 3.85.03975
## Babel 3.85.04072

(Draft)

Expand All @@ -10,9 +10,9 @@ is a set of ini files for about 250 languages.

The latest stable version is available on <https://ctan.org/pkg/babel>.

Changes in version 3.85 are described in:
Changes in version 3.86 are described in:

https://latex3.github.io/babel/news/whats-new-in-babel-3.85.html
https://latex3.github.io/babel/news/whats-new-in-babel-3.86.html

Apart from the manual, you can find information on some aspects of babel at:

Expand Down
27 changes: 11 additions & 16 deletions babel.dtx
Expand Up @@ -32,7 +32,7 @@
%
% \iffalse
%<*filedriver>
\ProvidesFile{babel.dtx}[2023/02/08 v3.85.03975 The Babel package]
\ProvidesFile{babel.dtx}[2023/02/09 v3.85.04072 The Babel package]
\documentclass{ltxdoc}
\GetFileInfo{babel.dtx}
\usepackage{fontspec}
Expand Down Expand Up @@ -5287,8 +5287,8 @@ help from Bernd Raichle, for which I am grateful.
% \section{Tools}
%
% \begin{macrocode}
%<<version=3.85.03975>>
%<<date=2023/02/08>>
%<<version=3.85.04072>>
%<<date=2023/02/09>>
% \end{macrocode}
%
% \textbf{Do not use the following macros in \texttt{ldf} files. They
Expand Down Expand Up @@ -6101,7 +6101,6 @@ help from Bernd Raichle, for which I am grateful.
\endinput\fi % Same line!
<@Make sure ProvidesFile is defined@>
\ProvidesFile{babel.def}[<@date@> <@version@> Babel common definitions]
\let\bbl@isplain\relax
\ifx\AtBeginDocument\@undefined % TODO. change test.
<@Emulate LaTeX@>
\fi
Expand Down Expand Up @@ -15168,7 +15167,7 @@ end
\bbl@release@transforms\relax % \relax closes the last item.
\fi}
% Start tabular here: WIP
\def\babelrestoredirs{%
\def\localerestoredirs{%
\ifcase\bbl@thetextdir
\ifnum\textdirection=\z@\else\textdir TLT\fi
\else
Expand All @@ -15179,35 +15178,31 @@ end
\else
\ifnum\pardirection=\@ne\else\pardir TRT\bodydir TRT\fi
\fi}
\ifx\bbl@isplain\relax\endinput\fi % if plain
\ifx\AddToHook\@undefined\endinput\fi % if plain
\IfBabelLayout{tabular}%
{\chardef\bbl@tabular@mode\tw@}% All RTL
{\IfBabelLayout{notabular}%
{\chardef\bbl@tabular@mode\z@}%
{\chardef\bbl@tabular@mode\@ne}}% Mixed, with LTR cols
\ifnum\bbl@tabular@mode=\@ne
\let\bbl@parabefore\relax
\ifx\AddToHook\@undefined\else
\AddToHook{para/before}{\bbl@parabefore}%
\fi
\ifx\@tabular\@undefined\else
\AddToHook{para/before}{\bbl@parabefore}%
\AtBeginDocument{%
\bbl@replace\@tabular{$}{$%
\def\bbl@insidemath{0}%
\def\bbl@parabefore{\babelrestoredirs}}%
\def\bbl@parabefore{\localerestoredirs}}%
\bbl@ifunset{@tabclassz}{}{%
\bbl@exp{% Hide conditionals
\\\bbl@sreplace\\\@tabclassz
{\<ifcase>\\\@chnum}{\\\babelrestoredirs\<ifcase>\\\@chnum}}}%
\fi
\AtBeginDocument{%
{\<ifcase>\\\@chnum}{\\\localerestoredirs\<ifcase>\\\@chnum}}}%
\@ifpackageloaded{colortbl}%
{\bbl@sreplace\@classz
{\hbox\bgroup\bgroup}{\hbox\bgroup\bgroup\babelrestoredirs}}%
{\hbox\bgroup\bgroup}{\hbox\bgroup\bgroup\localerestoredirs}}%
{\@ifpackageloaded{array}%
{\bbl@exp{% Hide conditionals
\\\bbl@sreplace\\\@classz
{\<ifcase>\\\@chnum}%
{\bgroup\\\babelrestoredirs\<ifcase>\\\@chnum}%
{\bgroup\\\localerestoredirs\<ifcase>\\\@chnum}%
\\\bbl@sreplace\\\@classz
{\\\do@row@strut\<fi>}{\\\do@row@strut\<fi>\egroup}}}%
{}}}
Expand Down
2 changes: 1 addition & 1 deletion babel.ins
Expand Up @@ -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{2023/02/08}
\def\filedate{2023/02/09}
\def\batchfile{babel.ins}
\input docstrip.tex

Expand Down
Binary file modified babel.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion bbcompat.dtx
Expand Up @@ -30,7 +30,7 @@
%
% \iffalse
%<*dtx>
\ProvidesFile{bbcompat.dtx}[2023/02/08 v3.85.03975]
\ProvidesFile{bbcompat.dtx}[2023/02/09 v3.85.04072]
%</dtx>
%
%% File 'bbcompat.dtx'
Expand Down
9 changes: 5 additions & 4 deletions locale/fa/babel-fa.ini
Expand Up @@ -9,8 +9,8 @@

[identification]
charset = utf8
version = 1.11
date = 2022-12-08
version = 1.12
date = 2023-01-27
name.local = فارسی
name.english = Persian
name.babel = persian
Expand Down Expand Up @@ -194,8 +194,9 @@ abjad = ا ب ج د ه‍ و ز ح ط ی ک ل م ن س ع ف ص ق ر ش ت ث
alphabetic = ا ب پ ت ث ج چ ح خ د ذ ر ز ژ س ش ص ض ط ظ ع غ ف ق ک گ ل م ن و ه‍ ی

[transforms.prehyphenation]
kashida.plain.1.0 = { ()[يئهشسقفغعضصنمكلظطخحچجثتپب]()[يئهشسقفغعضصنمكلظطخحچجثتپباأإآوؤذدژزرة] }
kashida.plain.1.0 = { ()[يئهشسقفغعضصنمكلظطخحچجثتپب]()[ًٍَُِّ]*[يئهشسقفغعضصنمكلظطخحچجثتپباأإآوؤذدژزرة] }
kashida.plain.1.1 = { kashida = 500 }
kashida.plain.2.0 = { ()ل()[اأإآ] }
kashida.plain.2.0 = { ()ل()[ًٍَُِّ]*[اأإآ] }
kashida.plain.2.1 = { kashida = 0 }


5 changes: 3 additions & 2 deletions locale/lt/babel-lt.ini
Expand Up @@ -6,11 +6,12 @@
; * Common Locale Data Repository (license Unicode):
; http://cldr.unicode.org/
; http://unicode.org/copyright.html
; Contributions by Andrius Pukšta @yjhn.

[identification]
charset = utf8
version = 1.6
date = 2022-12-08
version = 1.7
date = 2023-01-29
name.local = lietuvių
name.english = Lithuanian
name.babel = lithuanian
Expand Down

0 comments on commit c994d9e

Please sign in to comment.