diff options
author | Karl Berry <karl@freefriends.org> | 2019-04-03 21:42:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-04-03 21:42:12 +0000 |
commit | c2a0065ea224673b4596d0c66fe1ffa3ba0dad99 (patch) | |
tree | 178a538f781f23309587b3ae6c46d3657b1c0e4e /Master/texmf-dist/tex/generic/babel/babel.def | |
parent | 16435c3cdf744599d773364fe4472a12b53a9e44 (diff) |
babel (3apr19)
git-svn-id: svn://tug.org/texlive/trunk@50741 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel/babel.def')
-rw-r--r-- | Master/texmf-dist/tex/generic/babel/babel.def | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/generic/babel/babel.def b/Master/texmf-dist/tex/generic/babel/babel.def index accbb739ae7..530548f8eec 100644 --- a/Master/texmf-dist/tex/generic/babel/babel.def +++ b/Master/texmf-dist/tex/generic/babel/babel.def @@ -7,7 +7,7 @@ %% babel.dtx (with options: `core') %% %% -%% Copyright (C) 2012-2018 Javier Bezos and Johannes L. Braams. +%% Copyright (C) 2012-2019 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. @@ -41,7 +41,7 @@ \wlog{File: #1 #4 #3 <#2>}% \let\ProvidesFile\@undefined} \fi -\ProvidesFile{babel.def}[2019/04/01 3.28 Babel common definitions] +\ProvidesFile{babel.def}[2019/04/03 3.29 Babel common definitions] \ifx\AtBeginDocument\@undefined \input plain.def\relax \fi @@ -2072,16 +2072,14 @@ \def\bbl@bodydir{\bbl@setluadir{body}\bodydir} \def\bbl@pagedir{\bbl@setluadir{page}\pagedir} \def\bbl@dirparastext{\pardir\the\textdir\relax}% %%%% - % Sadly, we have to deal with boxes in math with basic: + % Sadly, we have to deal with boxes in math with basic. + % Activated every math with the package option bidi=: \def\bbl@mathboxdir{% \ifcase\bbl@thetextdir\relax \everyhbox{\bgroup\aftergroup\egroup\textdir TLT\relax}% \else \everyhbox{\bgroup\aftergroup\egroup\textdir TRT\relax}% \fi} - % TODO - the same trick as bbl@severypar - \everymath{\bbl@mathboxdir} - \everydisplay{\bbl@mathboxdir} \else % pdftex=0, xetex=2 \AddBabelHook{babel-bidi}{afterextras}{\bbl@switchdir} \DisableBabelHook{babel-bidi} |