diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/bidi.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/bidi.tex | 1 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/xetex-bidi.def | 8 |
3 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.sty b/Master/texmf-dist/tex/latex/bidi/bidi.sty index e62202863ed..6e0790b63d3 100644 --- a/Master/texmf-dist/tex/latex/bidi/bidi.sty +++ b/Master/texmf-dist/tex/latex/bidi/bidi.sty @@ -14,7 +14,7 @@ %% \NeedsTeXFormat{LaTeX2e} \def\bididate{2012/01/01} -\def\bidiversion{v1.3.9} +\def\bidiversion{v1.4.0} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\bidiinfo{% diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.tex b/Master/texmf-dist/tex/latex/bidi/bidi.tex index 1a353fe43d4..b9b688f4782 100644 --- a/Master/texmf-dist/tex/latex/bidi/bidi.tex +++ b/Master/texmf-dist/tex/latex/bidi/bidi.tex @@ -15,6 +15,7 @@ \def\bididate{2012/01/01} \def\bidiversion{v0.1} \catcode`@=11 +\let \protect \relax \newlinechar`\^^J \edef\bidiinfo{% bidi package (Support for bidirectional typesetting in plain TeX and LaTeX)^^J diff --git a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def index eaae1938649..e1b76cf708a 100644 --- a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def @@ -95,10 +95,14 @@ \let\setRL=\setRTL \let\setLR=\setLTR \let\unsetRL=\setLTR +\gdef\endpicture{% + \egroup\hss\egroup + \ht\@picbox\@picht\dp\@picbox\z@ + \ifmmode\else\LTR\beginL\fi% + \mbox{\box\@picbox}% + \ifmmode\else\endL\endLTR\fi} \@ifpackageloaded{mathtools}{\RequirePackage{graphicx}}{} \@ifpackageloaded{sidecap}{\RequirePackage{ragged2e}}{} -\bidi@BeforeBeginEnvironment{picture}{\ifmmode\else\LTR\beginL\fi} -\bidi@AfterEndEnvironment{picture}{\ifmmode\else\endL\endLTR\fi} \DeclareOption{RTLdocument}{\@RTLtrue\@RTL@footnotetrue\g@addto@macro\document{\autofootnoterule}} \DeclareOption{rldocument}{\@RTLtrue\@RTL@footnotetrue\g@addto@macro\document{\autofootnoterule}} \def\RTLcases#1{\left.\vcenter{\normalbaselines\m@th |