summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/bidi/ChangeLog4
-rw-r--r--Master/texmf-dist/doc/latex/bidi/README4
-rw-r--r--Master/texmf-dist/doc/latex/bidi/bidi.pdfbin202520 -> 202633 bytes
-rw-r--r--Master/texmf-dist/source/latex/bidi/bidi.dtx29
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidi.sty4
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidi.tex2
-rw-r--r--Master/texmf-dist/tex/latex/bidi/cals-xetex-bidi.def11
7 files changed, 38 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/latex/bidi/ChangeLog b/Master/texmf-dist/doc/latex/bidi/ChangeLog
index d34e23501ff..d68be051a15 100644
--- a/Master/texmf-dist/doc/latex/bidi/ChangeLog
+++ b/Master/texmf-dist/doc/latex/bidi/ChangeLog
@@ -1,3 +1,7 @@
+2013/05/28 version 13.5 Persian TeX Group
+ * Version 13.5 released.
+ * Added alignment option to `calstable' environment.
+
2013/05/26 version 13.4 Persian TeX Group
* Version 13.4 released.
* Synced `cals-xetex-bidi.def' with version 2.1 of `cals' package.
diff --git a/Master/texmf-dist/doc/latex/bidi/README b/Master/texmf-dist/doc/latex/bidi/README
index ec542c3ad5d..6f5f6a7a034 100644
--- a/Master/texmf-dist/doc/latex/bidi/README
+++ b/Master/texmf-dist/doc/latex/bidi/README
@@ -1,6 +1,6 @@
___________________
The bidi package
-v13.4
+v13.5
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX.
@@ -17,7 +17,7 @@ In doing so, please always explain your issue well enough, always include
a minimal working examples showing the issue, and always choose the appropriate
label for your query (i.e. if you are reporting any bugs, choose `bug' label).
-Current version release date: 2013/05/26
+Current version release date: 2013/05/28
___________________
Persian TeX Group
diff --git a/Master/texmf-dist/doc/latex/bidi/bidi.pdf b/Master/texmf-dist/doc/latex/bidi/bidi.pdf
index aae517cb0b4..c5853e0b413 100644
--- a/Master/texmf-dist/doc/latex/bidi/bidi.pdf
+++ b/Master/texmf-dist/doc/latex/bidi/bidi.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/bidi/bidi.dtx b/Master/texmf-dist/source/latex/bidi/bidi.dtx
index 43b9e3c1d6d..ab91f5f06a1 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
-v13.4
+v13.5
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX.
@@ -24,7 +24,7 @@ a minimal working examples showing the issue, and always choose the appropriate
label for your query (i.e. if you are reporting any bugs, choose `bug' label).
-Current version release date: 2013/05/26
+Current version release date: 2013/05/28
___________________
Persian TeX Group
@@ -39,6 +39,10 @@ This work is “maintained” (as per LPPL maintenance status)
by Persian TeX Group.
%</readme>
%<*changelog>
+2013/05/28 version 13.5 Persian TeX Group
+ * Version 13.5 released.
+ * Added alignment option to `calstable' environment.
+
2013/05/26 version 13.4 Persian TeX Group
* Version 13.4 released.
* Synced `cals-xetex-bidi.def' with version 2.1 of `cals' package.
@@ -366,7 +370,7 @@ by Persian TeX Group.
% Support for bidirectional typesetting in plain \TeX{} and \LaTeXe}
% \author{Persian TeX Group\\
% \url{persian-tex@tug.org}}
-% \date{\today\qquad Version 13.4}
+% \date{\today\qquad Version 13.5}
%\maketitle
% \tableofcontents
%\section*{Introduction}
@@ -381,7 +385,7 @@ by Persian TeX Group.
%in plain TeX and LaTeX. The package includes adaptations for use
%with many other commonly-used packages.
%Copyright (c) 2009-2013 Persian TeX Group
-%v13.4, 2013/05/26
+%v13.5, 2013/05/28
%License: LaTeX Project Public License, version 1.3c or higher (your choice)
%Location on CTAN: /macros/latex/contrib/bidi
%\end{lstlisting}
@@ -2705,8 +2709,8 @@ by Persian TeX Group.
% \subsection{\textsf{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2013/05/26}
-\def\bidiversion{v13.4}
+\def\bididate{2013/05/28}
+\def\bidiversion{v13.5}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\bidiinfo{%
@@ -2774,7 +2778,7 @@ Location on CTAN: /macros/latex/contrib/bidi}
%\fi
% \subsection{\textsf{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2013/05/26}
+\def\bididate{2013/05/28}
\def\bidiversion{v0.2}
\catcode`@=11
\let \protect \relax
@@ -6807,9 +6811,16 @@ bidi implementation of tufte title]
%\fi
% \subsection{\textsf{cals-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{cals-xetex-bidi.def}[2013/05/26 v0.2 bidi adaptations for cals package for XeTeX engine]
-\renewenvironment{calstable}{%
+\ProvidesFile{cals-xetex-bidi.def}[2013/05/28 v0.3 bidi adaptations for cals package for XeTeX engine]
+\renewenvironment{calstable}[1][c]{%
\if@RTL\@RTLtabtrue\cals@activate@rtl\fi
+ \if l#1%
+ \if@RTLtab\leftskip\fill \rightskip\z@\else\leftskip\z@ \rightskip\fill\fi
+ \else\if r#1%
+ \if@RTLtab\leftskip\z@ \rightskip\fill\else\leftskip\fill \rightskip\z@\fi
+ \else\if c#1%
+ \leftskip\fill \rightskip\fill
+ \fi\fi\fi
\let\cals@thead@tokens=\relax
\let\cals@tfoot@tokens=\relax
\let\cals@tbreak@tokens=\relax
diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.sty b/Master/texmf-dist/tex/latex/bidi/bidi.sty
index b0062e9f8a2..2964c0b36e0 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidi.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidi.sty
@@ -13,8 +13,8 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2013/05/26}
-\def\bidiversion{v13.4}
+\def\bididate{2013/05/28}
+\def\bidiversion{v13.5}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\bidiinfo{%
diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.tex b/Master/texmf-dist/tex/latex/bidi/bidi.tex
index 2e2e466c782..8477d6f0032 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidi.tex
+++ b/Master/texmf-dist/tex/latex/bidi/bidi.tex
@@ -12,7 +12,7 @@
%% License information appended.
%%
%%
-\def\bididate{2013/05/26}
+\def\bididate{2013/05/28}
\def\bidiversion{v0.2}
\catcode`@=11
\let \protect \relax
diff --git a/Master/texmf-dist/tex/latex/bidi/cals-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/cals-xetex-bidi.def
index 9290121c902..95fc7535dc2 100644
--- a/Master/texmf-dist/tex/latex/bidi/cals-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/cals-xetex-bidi.def
@@ -12,9 +12,16 @@
%% License information appended.
%%
%%
-\ProvidesFile{cals-xetex-bidi.def}[2013/05/26 v0.2 bidi adaptations for cals package for XeTeX engine]
-\renewenvironment{calstable}{%
+\ProvidesFile{cals-xetex-bidi.def}[2013/05/28 v0.3 bidi adaptations for cals package for XeTeX engine]
+\renewenvironment{calstable}[1][c]{%
\if@RTL\@RTLtabtrue\cals@activate@rtl\fi
+ \if l#1%
+ \if@RTLtab\leftskip\fill \rightskip\z@\else\leftskip\z@ \rightskip\fill\fi
+ \else\if r#1%
+ \if@RTLtab\leftskip\z@ \rightskip\fill\else\leftskip\fill \rightskip\z@\fi
+ \else\if c#1%
+ \leftskip\fill \rightskip\fill
+ \fi\fi\fi
\let\cals@thead@tokens=\relax
\let\cals@tfoot@tokens=\relax
\let\cals@tbreak@tokens=\relax