summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-18 22:27:04 +0000
committerKarl Berry <karl@freefriends.org>2011-10-18 22:27:04 +0000
commit86a5f1787b71ce0d2d78ec9cc32fe01f4b97d3ee (patch)
tree06373cfb6df563df4195f8247ccb0cbaed8cd0d1 /Master/texmf-dist/source
parent9570de045eef234423490cbec0cf6b72cf808d4e (diff)
bidi (18oct11)
git-svn-id: svn://tug.org/texlive/trunk@24316 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/bidi/bidi.dtx17
1 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/bidi/bidi.dtx b/Master/texmf-dist/source/latex/bidi/bidi.dtx
index 4ae00824c1b..5e90049279c 100644
--- a/Master/texmf-dist/source/latex/bidi/bidi.dtx
+++ b/Master/texmf-dist/source/latex/bidi/bidi.dtx
@@ -5,7 +5,7 @@
%<*readme>
___________________
The bidi package
-v1.3.9
+v1.4.0
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX.
@@ -231,7 +231,7 @@ by Vafa Khalighi.
% Support for bidirectional typesetting in plain \TeX{} and \LaTeXe}
% \author{Vafa Khalighi\\
% \url{vafaklg@gmail.com}}
-% \date{\today\qquad Version 1.3.9}
+% \date{\today\qquad Version 1.4.0}
% \maketitle
% \tableofcontents
%\section*{Introduction}
@@ -246,7 +246,7 @@ by Vafa Khalighi.
%in plain TeX and LaTeX. The package includes adaptations for use
%with many other commonly-used packages.
%Copyright (c) 2009-2012 Vafa Khalighi
-%v1.3.9, 2012/01/01
+%v1.4.0, 2012/01/01
%License: LaTeX Project Public License, version 1.3c or higher (your choice)
%Location on CTAN: /macros/latex/contrib/bidi
%\end{lstlisting}
@@ -2520,7 +2520,7 @@ by Vafa Khalighi.
% \begin{macrocode}
\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{%
@@ -2586,6 +2586,7 @@ Location on CTAN: /macros/latex/contrib/bidi}
\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
@@ -15740,10 +15741,14 @@ bidi implementation of tufte title]
\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