From 68718172c3dd919c579d25e9534ef18f67c62692 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 14 May 2010 18:39:21 +0000 Subject: bidi update (10may10) git-svn-id: svn://tug.org/texlive/trunk@18263 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/bidi/README | 4 ++-- Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf | Bin 177275 -> 179138 bytes Master/texmf-dist/doc/latex/bidi/bidi-doc.tex | 5 +++-- Master/texmf-dist/doc/latex/bidi/bidi.tex | 2 +- .../tex/latex/bidi/artikel3-xetex-bidi.def | 6 +++--- Master/texmf-dist/tex/latex/bidi/bidi.sty | 4 ++-- .../tex/latex/bidi/listings-xetex-bidi.def | 12 +----------- .../texmf-dist/tex/latex/bidi/pgf-xetex-bidi.def | 6 +++--- .../tex/latex/bidi/pstricks-xetex-bidi.def | 7 +++++-- .../tex/latex/bidi/rapport3-xetex-bidi.def | 4 ++-- .../texmf-dist/tex/latex/bidi/tikz-xetex-bidi.def | 8 +++++--- 11 files changed, 27 insertions(+), 31 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/bidi/README b/Master/texmf-dist/doc/latex/bidi/README index 5d0e6550f2f..e98d8b3075b 100644 --- a/Master/texmf-dist/doc/latex/bidi/README +++ b/Master/texmf-dist/doc/latex/bidi/README @@ -1,11 +1,11 @@ _________________ The bidi package -v1.0.9 +v1.1.0 This package provides a convenient interface for typesetting bidirectional texts in Plain TeX and LaTeX. -This version fixes all the bugs that were present in v1.0.8. +This version fixes all the bugs that were present in v1.0.9. ______________ Vafa Khalighi diff --git a/Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf b/Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf index 943c940179e..ed76c693c5e 100644 Binary files a/Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf and b/Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/bidi/bidi-doc.tex b/Master/texmf-dist/doc/latex/bidi/bidi-doc.tex index 5b1e80defe8..d6ab81e13b4 100644 --- a/Master/texmf-dist/doc/latex/bidi/bidi-doc.tex +++ b/Master/texmf-dist/doc/latex/bidi/bidi-doc.tex @@ -21,10 +21,11 @@ \newcommand\LuaLaTeX{Lua\LaTeX} \title{The \textsf{bidi} Package\\ \href{http://bitbucket.org/vafa/bidi}{\texttt{http://bitbucket.org/vafa/bidi}}} \author{Vafa Khalighi\\ \href{mailto:vafakh84@gmail.com}{\texttt{vafakh84@gmail.com}}} -\date{Version 1.0.9} +\date{Version 1.1.0} \begin{document} \maketitle \tableofcontents +\part{User Guide} \section{Introduction} \textsf{bidi} provides a convenient interface for typesetting bidirectional texts with \XeLaTeX\ and \LuaLaTeX\footnote{At present support for \LuaTeX\ is not present but it will be added when \LuaTeX\ 0.70 is released. This is because that direction support of \LuaTeX\ in 0.70 will be backward incompatible with 0.60.}. The package includes adaptations for use with many other commonly-used packages. @@ -37,7 +38,7 @@ Description: A convenient interface for typesetting bidirectional texts with XeLaTeX and LuaLaTeX. The package includes adaptations for use with many other commonly-used packages. Copyright (c) 2009-2010 Vafa Khalighi -v1.0.9, , 2010/07/25 +v1.1.0, , 2010/07/25 License: LaTeX Project Public License, version 1.3c or higher (your choice) Home: http://bitbucket.org/vafa/bidi Location on CTAN: /macros/latex/contrib/bidi diff --git a/Master/texmf-dist/doc/latex/bidi/bidi.tex b/Master/texmf-dist/doc/latex/bidi/bidi.tex index a6e9975c625..f9294da47e8 100644 --- a/Master/texmf-dist/doc/latex/bidi/bidi.tex +++ b/Master/texmf-dist/doc/latex/bidi/bidi.tex @@ -10,7 +10,7 @@ %% \def\bididate{2010/07/25} \def\bidiversion{v0.1} -\def\bidicommit{commit 42} +\def\bidicommit{commit 44} \catcode`@=11 \edef\bidiinfo{% bidi package (Support for bidirectional typesetting with XeLaTeX and LuaLaTeX)^^J 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 %% 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 %% 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 %% -- cgit v1.2.3