summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-15 00:34:13 +0000
committerKarl Berry <karl@freefriends.org>2010-05-15 00:34:13 +0000
commitb06a6a419a7f96c70daab3defe237f7ac9bea921 (patch)
treeb466b0e363440b53a9193535336eb0ad1effdd76 /Master/texmf-dist/tex
parent61022469573c70d6e80ea4689ea626d3c6656534 (diff)
bidi update (14may10)
git-svn-id: svn://tug.org/texlive/trunk@18271 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidi.sty10
-rw-r--r--Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def6
-rw-r--r--Master/texmf-dist/tex/latex/bidi/xetex-bidi.def2
3 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.sty b/Master/texmf-dist/tex/latex/bidi/bidi.sty
index 8c717f6db03..6576c109be0 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidi.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidi.sty
@@ -10,14 +10,14 @@
%%
\NeedsTeXFormat{LaTeX2e}
\def\bididate{2010/07/25}
-\def\bidiversion{v1.1.0}
-\def\bidicommit{commit 52}
+\def\bidiversion{v1.1.1}
+\def\bidicommit{commit 54}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space <\bidicommit>
-Bidirectional typesetting in XeLaTeX and LuaLaTeX]
+Bidirectional typesetting in plain TeX and LaTeX]
\edef\bidiinfo{%
-bidi package (Support for bidirectional typesetting with XeLaTeX and LuaLaTeX)^^J
+bidi package (Support for bidirectional typesetting in plain TeX and LaTeX)^^J
Description: A convenient interface for typesetting bidirectional^^J
-texts with XeLaTeX and LuaLaTeX. The package includes adaptations for use^^J
+texts in plain TeX and LaTeX. The package includes adaptations for use^^J
with many other commonly-used packages.^^J
Copyright © 2009-2010 Vafa Khalighi^^J
\bidiversion, <\bidicommit>, \bididate^^J
diff --git a/Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def b/Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def
index acb20581ea0..6ca995492ca 100644
--- a/Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{loadingorder-bidi.def}[2010/07/25 v0.4 making sure that bidi is the last package loaded]
+\ProvidesFile{loadingorder-bidi.def}[2010/07/25 v0.5 making sure that bidi is the last package loaded]
\newcommand\bidi@isloaded[2][]{
\expandafter\ifx\csname if@bidi@#2loaded@\endcsname\relax
\expandafter\newif\csname if@bidi@#2loaded@\endcsname
@@ -38,6 +38,7 @@
\bidi@isloaded{tikz}
\bidi@isloaded{array}
\bidi@isloaded{stabular}
+\bidi@isloaded{subfig}
\bidi@isloaded{subfigure}
\bidi@isloaded{supertabular}
\bidi@isloaded{xtab}
@@ -121,6 +122,9 @@
\if@bidi@stabularloaded@\else
\bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package stabular after bidi package. Please load package stabular before bidi package, and then try to run xelatex on your document again}{}]{stabular}
\fi%
+ \if@bidi@subfigloaded@\else
+ \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package subfig after bidi package. Please load package subfig before bidi package, and then try to run xelatex on your document again}{}]{subfig}
+ \fi%
\if@bidi@subfigureloaded@\else
\bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package subfigure after bidi package. Please load package subfigure before bidi package, and then try to run xelatex on your document again}{}]{subfigure}
\fi%
diff --git a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
index 16679305b61..049d676e4bd 100644
--- a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
@@ -97,7 +97,7 @@
\DeclareOption{rldocument}{\@RTLtrue\@RTL@footnotetrue\g@addto@macro\document{\autofootnoterule}}
\def\rcases#1{\left.\vcenter{\normalbaselines\m@th
\ialign{$##\hfil$&\quad{##}\hfil\crcr#1\crcr}}\,\right\}}
-\def\SepMark#1{\gdef\@SepMark{\if@RTL\beginR\fi#1\if@RTL\endR\fi}}
+\def\SepMark#1{\gdef\@SepMark{\hskip0pt#1}}
\SepMark{.}
\def\@thmcountersep{\@SepMark}
\def\setRTLbibitems{\@RTLbibitemstrue\@LTRbibitemsfalse}