From b06a6a419a7f96c70daab3defe237f7ac9bea921 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 15 May 2010 00:34:13 +0000 Subject: bidi update (14may10) git-svn-id: svn://tug.org/texlive/trunk@18271 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/bidi/README | 4 ++-- Master/texmf-dist/doc/latex/bidi/bidi-doc.pdf | Bin 179138 -> 176205 bytes Master/texmf-dist/doc/latex/bidi/bidi-doc.tex | 16 ++++++++-------- Master/texmf-dist/doc/latex/bidi/bidi.tex | 6 +++--- Master/texmf-dist/tex/latex/bidi/bidi.sty | 10 +++++----- .../tex/latex/bidi/loadingorder-bidi.def | 6 +++++- Master/texmf-dist/tex/latex/bidi/xetex-bidi.def | 2 +- 7 files changed, 24 insertions(+), 20 deletions(-) diff --git a/Master/texmf-dist/doc/latex/bidi/README b/Master/texmf-dist/doc/latex/bidi/README index e98d8b3075b..92d46716259 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.1.0 +v1.1.1 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.9. +This version fixes all the bugs that were present in v1.1.0. ______________ 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 ed76c693c5e..dd81b49caab 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 d6ab81e13b4..ff039be4b5b 100644 --- a/Master/texmf-dist/doc/latex/bidi/bidi-doc.tex +++ b/Master/texmf-dist/doc/latex/bidi/bidi-doc.tex @@ -21,24 +21,24 @@ \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.1.0} +\date{Version 1.1.1} \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. +\textsf{bidi} provides a convenient interface for typesetting bidirectional texts in plain \TeX\ and \LaTeX. -The \textsf{bidi} package at the moment only works with both \XeTeX\ and \LuaTeX\ engines, but we will support other \TeX\ engines as well in the future. +The \textsf{bidi} package at the moment only works with \XeTeX\ engine, but we will support other \TeX\ engines as well in the future. \subsection{\textsf{bidi} Info On The Terminal and In The Log File} If you use \textsf{bidi} package to write any input \TeX\ document, and then run \texttt{xelatex} on your document, \textsf{bidi} writes some information about itself to the terminal and to the log file. The information is something like: \begin{lstlisting}[numbers=none,backgroundcolor=\color{skugga}] -bidi package (Support for bidirectional typesetting with XeLaTeX and LuaLaTeX) -Description: A convenient interface for typesetting bidirectional -texts with XeLaTeX and LuaLaTeX. The package includes adaptations for use +bidi package (Support for bidirectional typesetting in plain TeX and LaTeX) +Description: A convenient interface for typesetting bidirectional texts +in plain TeX and LaTeX. The package includes adaptations for use with many other commonly-used packages. Copyright (c) 2009-2010 Vafa Khalighi -v1.1.0, , 2010/07/25 +v1.1.1, , 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 @@ -380,7 +380,7 @@ In RTL mode, tabular are typeset RTL and in LTR mode, tabular are typeset LTR. \subsection{Equation Numbers} For \texttt{reqno}, equation numbers are on the right hand side and for \texttt{leqno}, equation numbers are on the left hand side, independent on the current mode. \section{Support For Various Packages and Classes} -The \textsf{bidi} package supports \textsf{amsmath}, \textsf{amsthm}, \textsf{array}, \textsf{arydshln}, \textsf{breqn}, \textsf{caption}, \textsf{color}, \textsf{colortbl}, \textsf{draftwatermark}, \textsf{fancyhdr}, \textsf{flowfram}, \textsf{graphicx}, \textsf{hyperref}, \textsf{listings}, \textsf{minitoc}, \textsf{multicol}, \textsf{pdfpages}, \textsf{pstricks}, \textsf{ragged2e}, \textsf{stabular}, \textsf{subfigure}, \textsf{supertabular}, \textsf{xtab}, \textsf{tabls}, \textsf{tabulary}, \textsf{PGF \&\ TIKZ}, \textsf{tocbibind}, \textsf{tocloft}, \textsf{tocstyle}, \textsf{wrapfig}, \textsf{xcolor}, \textsf{xltxtra} packages, \textsf{amsart}, \textsf{amsbook}, \textsf{artikel1}, \textsf{artikel2}, \textsf{artikel3}, \textsf{extarticle}, \textsf{standrad article}, \textsf{boek}, \textsf{boek3}, \textsf{standard book}, \textsf{bookest}, \textsf{extbook}, \textsf{extletter}, \textsf{scrlettr},\textsf{standard letter}, \textsf{memoir}, \textsf{extreport}, \textsf{rapport1}, \textsf{rapport3}, \textsf{refrep}, \textsf{standard report}, \textsf{scartcl}, \textsf{scrbook}, \textsf{scrreprt} classes and any other packages and classes that relies on these packages and classes. This means, you can use all these packages and classes in addition to other packages and classes that rely on these packages and classes and use their functionality fully for your bidirectional documents. +The \textsf{bidi} package supports \textsf{amsmath}, \textsf{amsthm}, \textsf{array}, \textsf{arydshln}, \textsf{breqn}, \textsf{caption}, \textsf{color}, \textsf{colortbl}, \textsf{draftwatermark}, \textsf{fancyhdr}, \textsf{flowfram}, \textsf{graphicx}, \textsf{hyperref}, \textsf{listings}, \textsf{minitoc}, \textsf{multicol}, \textsf{pdfpages}, \textsf{pstricks}, \textsf{ragged2e}, \textsf{stabular}, \textsf{subfig}, \textsf{subfigure}, \textsf{supertabular}, \textsf{xtab}, \textsf{tabls}, \textsf{tabulary}, \textsf{PGF \&\ TIKZ}, \textsf{tocbibind}, \textsf{tocloft}, \textsf{tocstyle}, \textsf{wrapfig}, \textsf{xcolor}, \textsf{xltxtra} packages, \textsf{amsart}, \textsf{amsbook}, \textsf{artikel1}, \textsf{artikel2}, \textsf{artikel3}, \textsf{extarticle}, \textsf{standrad article}, \textsf{boek}, \textsf{boek3}, \textsf{standard book}, \textsf{bookest}, \textsf{extbook}, \textsf{extletter}, \textsf{scrlettr},\textsf{standard letter}, \textsf{memoir}, \textsf{extreport}, \textsf{rapport1}, \textsf{rapport3}, \textsf{refrep}, \textsf{standard report}, \textsf{scartcl}, \textsf{scrbook}, \textsf{scrreprt} classes and any other packages and classes that relies on these packages and classes. This means, you can use all these packages and classes in addition to other packages and classes that rely on these packages and classes and use their functionality fully for your bidirectional documents. We now give some details that you should know about the supported packages or classes. \subsection{Color} diff --git a/Master/texmf-dist/doc/latex/bidi/bidi.tex b/Master/texmf-dist/doc/latex/bidi/bidi.tex index f9294da47e8..d964d1fa2fd 100644 --- a/Master/texmf-dist/doc/latex/bidi/bidi.tex +++ b/Master/texmf-dist/doc/latex/bidi/bidi.tex @@ -10,12 +10,12 @@ %% \def\bididate{2010/07/25} \def\bidiversion{v0.1} -\def\bidicommit{commit 44} +\def\bidicommit{commit 54} \catcode`@=11 \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/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} -- cgit v1.2.3