summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bidi
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-14 18:39:21 +0000
committerKarl Berry <karl@freefriends.org>2010-05-14 18:39:21 +0000
commit68718172c3dd919c579d25e9534ef18f67c62692 (patch)
tree46e077330de4e2644e76296c8f5d2ac041dc308a /Master/texmf-dist/tex/latex/bidi
parentafc4f8ea64aab19792d8dfc601c957eea844ff13 (diff)
bidi update (10may10)
git-svn-id: svn://tug.org/texlive/trunk@18263 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi')
-rw-r--r--Master/texmf-dist/tex/latex/bidi/artikel3-xetex-bidi.def6
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidi.sty4
-rw-r--r--Master/texmf-dist/tex/latex/bidi/listings-xetex-bidi.def12
-rw-r--r--Master/texmf-dist/tex/latex/bidi/pgf-xetex-bidi.def6
-rw-r--r--Master/texmf-dist/tex/latex/bidi/pstricks-xetex-bidi.def7
-rw-r--r--Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def4
-rw-r--r--Master/texmf-dist/tex/latex/bidi/tikz-xetex-bidi.def8
7 files changed, 21 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/artikel3-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/artikel3-xetex-bidi.def
index 138ebffc601..c037160e5dc 100644
--- a/Master/texmf-dist/tex/latex/bidi/artikel3-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/artikel3-xetex-bidi.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{artikel3-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for artikel3 class for XeTeX engine]
+\ProvidesFile{artikel3-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for artikel3 class for XeTeX engine]
\renewcommand*\head@style{%
\interlinepenalty \@M
\hyphenpenalty=\@M \exhyphenpenalty=\@M
@@ -248,8 +248,8 @@
{\large \TitleFont \lineskip .5em \tabcolsep\z@
\def\and{%%% \begin{tabular} has already started
\end{tabular}\hskip 1em plus .17fil
- \begin{tabular}[t]{l}}%% \end{tabular} will come
- \begin{tabular}[t]{l}\@author\end{tabular}\par}
+ \if@RTL\begin{tabular}[t]{r}\else\begin{tabular}[t]{l}\fi}%% \end{tabular} will come
+ \if@RTL\begin{tabular}[t]{r}\else\begin{tabular}[t]{l}\fi\@author\end{tabular}\par}
\vskip 1em {\large \TitleFont \@date}
\fi
\par
diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.sty b/Master/texmf-dist/tex/latex/bidi/bidi.sty
index 91288f61c0b..8c717f6db03 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidi.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidi.sty
@@ -10,8 +10,8 @@
%%
\NeedsTeXFormat{LaTeX2e}
\def\bididate{2010/07/25}
-\def\bidiversion{v1.0.9}
-\def\bidicommit{commit 42}
+\def\bidiversion{v1.1.0}
+\def\bidicommit{commit 52}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space <\bidicommit>
Bidirectional typesetting in XeLaTeX and LuaLaTeX]
\edef\bidiinfo{%
diff --git a/Master/texmf-dist/tex/latex/bidi/listings-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/listings-xetex-bidi.def
index 4056084b29c..a7fa9d78051 100644
--- a/Master/texmf-dist/tex/latex/bidi/listings-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/listings-xetex-bidi.def
@@ -8,18 +8,8 @@
%% License information appended.
%%
%%
-\ProvidesFile{listings-xetex-bidi.def}[2010/07/25 v0.3 bidi adaptations for listings package for XeTeX engine]
-\long\def\@makecaption#1#2{%
- \vskip 10pt%
- \setbox\@tempboxa\hbox{#1: #2}%
- \ifdim \wd\@tempboxa >\hsize \if@RTLmain\beginR\fi#1: #2\par%
- \else \hbox
-to\hsize{\if@RTLmain\beginR\fi\hfil\box\@tempboxa\hfil%
-\if@RTLmain\endR\fi}%
- \fi}
+\ProvidesFile{listings-xetex-bidi.def}[2010/07/25 v0.4 bidi adaptations for listings package for XeTeX engine]
\AtBeginDocument{
-\def\SepMark#1{\gdef\@SepMark{\if@RTLmain\beginR\fi#1\if@RTLmain\endR\fi}}
-\SepMark{.}
\@ifundefined{thechapter}{\let\lst@ifnumberbychapter\iffalse}{}
\lst@ifnumberbychapter
\gdef\thelstlisting%
diff --git a/Master/texmf-dist/tex/latex/bidi/pgf-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/pgf-xetex-bidi.def
index 7e2cc1c5009..a21f11bfc99 100644
--- a/Master/texmf-dist/tex/latex/bidi/pgf-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/pgf-xetex-bidi.def
@@ -8,11 +8,11 @@
%% License information appended.
%%
%%
-\ProvidesFile{pgf-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for pgf package for XeTeX engine]
+\ProvidesFile{pgf-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for pgf package for XeTeX engine]
\let\origin@pgfpicture=\pgfpicture
\let\origin@endpgfpicture=\endpgfpicture
-\def\pgfpicture{\ifmmode\else\LTR\fi\origin@pgfpicture}
-\def\endpgfpicture{\origin@endpgfpicture\ifmmode\else\endLTR\fi}
+\def\pgfpicture{\ifmmode\else\beginL\fi\origin@pgfpicture}
+\def\endpgfpicture{\origin@endpgfpicture\ifmmode\else\endL\fi}
%%
%% Copyright © 2009-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
diff --git a/Master/texmf-dist/tex/latex/bidi/pstricks-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/pstricks-xetex-bidi.def
index 018c964f0fb..589d50963ca 100644
--- a/Master/texmf-dist/tex/latex/bidi/pstricks-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/pstricks-xetex-bidi.def
@@ -8,8 +8,11 @@
%% License information appended.
%%
%%
-\ProvidesFile{pstricks-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for pstricks package for XeTeX engine]
-\def\pspicture{\begingroup\ifmmode\else\@RTLfalse\fi\pst@ifstar\pst@picture}%
+\ProvidesFile{pstricks-xetex-bidi.def}[2010/07/25 v0.3 bidi adaptations for pstricks package for XeTeX engine]
+\let\origin@pspicture=\pspicture
+\let\origin@endpspicture=\endpspicture
+\def\pspicture{\ifmmode\else\beginL\fi\origin@pspicture}
+\def\endpspicture{\origin@endpspicture\ifmmode\else\endL\fi}
%%
%% Copyright © 2009-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
diff --git a/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def
index 9bbeaebbf9c..7aac92380e6 100644
--- a/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def
@@ -141,8 +141,8 @@
{\large \TitleFont \lineskip .5em \tabcolsep\z@
\def\and{%%% \begin{tabular} has already started
\end{tabular}\hskip 1em plus .17fil
- \begin{tabular}[t]{l}}%% \end{tabular} will come
- \begin{tabular}[t]{l}\@author\end{tabular}\par}
+ \if@RTL\begin{tabular}[t]{r}\else\begin{tabular}[t]{l}\fi}%% \end{tabular} will come
+ \if@RTL\begin{tabular}[t]{r}\else\begin{tabular}[t]{l}\fi\@author\end{tabular}\par}
\vskip 1em {\large \TitleFont \@date}
\fi
\par
diff --git a/Master/texmf-dist/tex/latex/bidi/tikz-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/tikz-xetex-bidi.def
index 88e5703bed6..2547d4b12a4 100644
--- a/Master/texmf-dist/tex/latex/bidi/tikz-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/tikz-xetex-bidi.def
@@ -8,11 +8,13 @@
%% License information appended.
%%
%%
-\ProvidesFile{tikz-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for tikz package for XeTeX engine]
+\ProvidesFile{tikz-xetex-bidi.def}[2010/07/25 v0.4 bidi adaptations for tikz package for XeTeX engine]
\let\origin@tikzpicture=\tikzpicture
\let\origin@endtikzpicture=\endtikzpicture
-\def\tikzpicture{\ifmmode\else\LTR\fi\origin@tikzpicture}
-\def\endtikzpicture{\origin@endtikzpicture\ifmmode\else\endLTR\fi}
+\let\pgfutil@minipage=\minipage
+\let\pgfutil@endminipage=\endminipage
+\def\tikzpicture{\ifmmode\else\beginL\fi\origin@tikzpicture}
+\def\endtikzpicture{\origin@endtikzpicture\ifmmode\else\endL\fi}
%%
%% Copyright © 2009-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%