summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-29 23:28:08 +0000
committerKarl Berry <karl@freefriends.org>2013-04-29 23:28:08 +0000
commit2e581c28cb4e1f20cd408c0bdc9885c7f18f9e5e (patch)
tree79876e1688dd867b5b98a3244df5e23fb40b0a26 /Master
parentedb774bed555c3ebe551d39c690375bc1d850c21 (diff)
bidi (29apr13)
git-svn-id: svn://tug.org/texlive/trunk@30165 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/bidi/ChangeLog5
-rw-r--r--Master/texmf-dist/doc/latex/bidi/README4
-rw-r--r--Master/texmf-dist/doc/latex/bidi/bidi.pdfbin202324 -> 202498 bytes
-rw-r--r--Master/texmf-dist/source/latex/bidi/bidi.dtx72
-rw-r--r--Master/texmf-dist/source/latex/bidi/bidi.ins1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def5
-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/fancybox-xetex-bidi.def57
-rw-r--r--Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def6
-rw-r--r--Master/texmf-dist/tex/latex/bidi/xetex-bidi.def3
11 files changed, 136 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/latex/bidi/ChangeLog b/Master/texmf-dist/doc/latex/bidi/ChangeLog
index bf9d5a789d9..edf4157a6dd 100644
--- a/Master/texmf-dist/doc/latex/bidi/ChangeLog
+++ b/Master/texmf-dist/doc/latex/bidi/ChangeLog
@@ -1,3 +1,8 @@
+2013/05/01 version 13.2 Persian TeX Group
+ * Version 13.2 released.
+ * `fancybox' package is supported.
+ * Removed redefinition of `\eqref' from `amsmath-xetex-bidi.def'.
+
2013/04/27 version 13.1 Persian TeX Group
* Version 13.1 released.
* Removed redefinition of `\@imakebox' from `xetex-bidi.def'.
diff --git a/Master/texmf-dist/doc/latex/bidi/README b/Master/texmf-dist/doc/latex/bidi/README
index 04850223d58..d066986f38a 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.1
+v13.2
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/04/27
+Current version release date: 2013/05/01
___________________
Persian TeX Group
diff --git a/Master/texmf-dist/doc/latex/bidi/bidi.pdf b/Master/texmf-dist/doc/latex/bidi/bidi.pdf
index c00cf7a1c37..bf50180bfbd 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 d167d95e074..0f4f6cd0e41 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.1
+v13.2
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/04/27
+Current version release date: 2013/05/01
___________________
Persian TeX Group
@@ -39,6 +39,11 @@ This work is “maintained” (as per LPPL maintenance status)
by Persian TeX Group.
%</readme>
%<*changelog>
+2013/05/01 version 13.2 Persian TeX Group
+ * Version 13.2 released.
+ * `fancybox' package is supported.
+ * Removed redefinition of `\eqref' from `amsmath-xetex-bidi.def'.
+
2013/04/27 version 13.1 Persian TeX Group
* Version 13.1 released.
* Removed redefinition of `\@imakebox' from `xetex-bidi.def'.
@@ -201,6 +206,7 @@ by Persian TeX Group.
\generate{\file{extletter-xetex-bidi.def}{\from{\jobname.dtx}{extletter-xetex-bidi.def}}}
\generate{\file{extrafootnotefeatures.def}{\from{\jobname.dtx}{extrafootnotefeatures.def}}}
\generate{\file{extreport-xetex-bidi.def}{\from{\jobname.dtx}{extreport-xetex-bidi.def}}}
+\generate{\file{fancybox-xetex-bidi.def}{\from{\jobname.dtx}{fancybox-xetex-bidi.def}}}
\generate{\file{fancyhdr-xetex-bidi.def}{\from{\jobname.dtx}{fancyhdr-xetex-bidi.def}}}
\generate{\file{fix2col-xetex-bidi.def}{\from{\jobname.dtx}{fix2col-xetex-bidi.def}}}
\generate{\file{fleqn-xetex-bidi.def}{\from{\jobname.dtx}{fleqn-xetex-bidi.def}}}
@@ -348,7 +354,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.1}
+% \date{\today\qquad Version 13.2}
%\maketitle
% \tableofcontents
%\section*{Introduction}
@@ -363,7 +369,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.1, 2013/04/27
+%v13.2, 2013/05/01
%License: LaTeX Project Public License, version 1.3c or higher (your choice)
%Location on CTAN: /macros/latex/contrib/bidi
%\end{lstlisting}
@@ -776,7 +782,7 @@ by Persian TeX Group.
%\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{amstext}, \textsf{amsthm}, \textsf{array}, \textsf{arydshln}, \textsf{breqn}, \textsf{caption}, \textsf{color}, \textsf{colortbl}, \textsf{crop}, \textsf{cuted}, \textsf{cutwin}, \textsf{dblfnote} \textsf{draftwatermark}, \textsf{empheq}, \textsf{fancyhdr}, \textsf{fix2col}, \textsf{float}, \textsf{floatrow}, \textsf{flowfram}, \textsf{framed}, \textsf{ftnright}, \textsf{geometry}, \textsf{graphicx}, \textsf{hvfloat}, \textsf{hyperref}, \textsf{lettrine}, \textsf{listings}, \textsf{mdframed}, \textsf{midfloat}, \textsf{minitoc}, \textsf{multicol}, \textsf{multienum}, \textsf{pdfpages}, \textsf{pstricks}, \textsf{quotchap}, \textsf{picinpar}, \textsf{ragged2e}, \textsf{rotating}, \textsf{sidecap}, \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{flashcards}, \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{scrartcl}, \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{amstext}, \textsf{amsthm}, \textsf{array}, \textsf{arydshln}, \textsf{breqn}, \textsf{caption}, \textsf{color}, \textsf{colortbl}, \textsf{crop}, \textsf{cuted}, \textsf{cutwin}, \textsf{dblfnote} \textsf{draftwatermark}, \textsf{empheq}, \textsf{fancyhdr}, \textsf{fancybox}, \textsf{fix2col}, \textsf{float}, \textsf{floatrow}, \textsf{flowfram}, \textsf{framed}, \textsf{ftnright}, \textsf{geometry}, \textsf{graphicx}, \textsf{hvfloat}, \textsf{hyperref}, \textsf{lettrine}, \textsf{listings}, \textsf{mdframed}, \textsf{midfloat}, \textsf{minitoc}, \textsf{multicol}, \textsf{multienum}, \textsf{pdfpages}, \textsf{pstricks}, \textsf{quotchap}, \textsf{picinpar}, \textsf{ragged2e}, \textsf{rotating}, \textsf{sidecap}, \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{flashcards}, \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{scrartcl}, \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}
@@ -1446,7 +1452,7 @@ by Persian TeX Group.
%\fi
% \subsection{\textsf{amsmath-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{amsmath-xetex-bidi.def}[2013/04/25 v0.5 bidi adaptations for amsmath package for XeTeX engine]
+\ProvidesFile{amsmath-xetex-bidi.def}[2013/05/01 v0.6 bidi adaptations for amsmath package for XeTeX engine]
\let\veqno=\eqno
\iftagsleft@ \let\veqno=\leqno \fi
\renewcommand{\numberwithin}[3][\arabic]{%
@@ -1456,8 +1462,7 @@ by Persian TeX Group.
\@xp\xdef\csname the#2\endcsname{%
\@xp\@nx\csname the#3\endcsname \@nx\@SepMark\@nx#1{#2}}}}%
}
-\def\tagform@#1{\maketag@@@{\if@RTL\beginR\fi(\ignorespaces#1\unskip\@@italiccorr)\if@RTL\endR\fi}}
-\renewcommand{\eqref}[1]{\beginL\textup{\tagform@{\ref{#1}}}\endL}
+\def\tagform@#1{\maketag@@@{\if@Latin\else\beginR\fi(\ignorespaces#1\unskip\@@italiccorr)\if@Latin\else\endR\fi}}
\DeclareRobustCommand{\[}{\begin{equation*}}
\DeclareRobustCommand{\]}{\end{equation*}}
% \end{macrocode}
@@ -2688,8 +2693,8 @@ by Persian TeX Group.
% \subsection{\textsf{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2013/04/27}
-\def\bidiversion{v13.1}
+\def\bididate{2013/05/01}
+\def\bidiversion{v13.2}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\bidiinfo{%
@@ -2757,7 +2762,7 @@ Location on CTAN: /macros/latex/contrib/bidi}
%\fi
% \subsection{\textsf{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2013/04/27}
+\def\bididate{2013/05/01}
\def\bidiversion{v0.2}
\catcode`@=11
\let \protect \relax
@@ -10455,6 +10460,42 @@ bidi implementation of tufte title]
% \end{macrocode}
% \iffalse
%</extreport-xetex-bidi.def>
+%<*fancybox-xetex-bidi.def>
+%\fi
+% \subsection{\textsf{fancybox-xetex-bidi.def}}
+% \begin{macrocode}
+\ProvidesFile{fancybox-xetex-bidi.def}[2013/05/01 v0.1 bidi adaptations for fancybox package for XeTeX engine]
+\def\fancy@@oval#1#2#3{%
+ \boxmaxdepth \maxdimen
+ \@ovttrue \@ovbtrue \@ovltrue \@ovrtrue
+ \@tfor\@tempa :=#3\do{\csname @ov\@tempa false\endcsname}%
+ \@ovxx#1\relax
+ \advance\@ovxx-\@wholewidth
+ \@ovyy#2\relax
+ \advance\@ovyy-\@wholewidth
+ \@tempdimb \ifdim \@ovyy >\@ovxx \@ovxx\else \@ovyy \fi
+ \advance\@tempdimb-2\p@
+ \ifdim\@tempdimb>\the@cornersize\relax
+ \@tempdimb=\the@cornersize
+ \fi
+ \@getcirc\@tempdimb
+ \@ovro\ht\@tempboxa \@ovri\dp\@tempboxa
+ \@ovdx\@ovxx \advance\@ovdx-\@tempdima \divide\@ovdx \tw@
+ \@ovdy\@ovyy \advance\@ovdy-\@tempdima \divide\@ovdy \tw@
+ \@circlefnt
+ \setbox\@tempboxa\hbox{\beginL%
+ \if@ovr \@ovvert32\kern -\@tempdima \fi
+ \if@ovl \kern \@ovxx \@ovvert01\kern -\@tempdima \kern -\@ovxx \fi
+ \if@ovt \@ovhorz \kern -\@ovxx \fi
+ \if@ovb \raise \@ovyy \@ovhorz \fi\endL}%
+ \advance\@ovdx\@ovro
+ \advance\@ovdy\@ovro
+ \advance\@ovxx\@wholewidth
+ \wd\@tempboxa=\@ovxx
+ \dp\@tempboxa=\z@}
+% \end{macrocode}
+% \iffalse
+%</fancybox-xetex-bidi.def>
%<*fancyhdr-xetex-bidi.def>
%\fi
% \subsection{\textsf{fancyhdr-xetex-bidi.def}}
@@ -12214,7 +12255,7 @@ bidi implementation of tufte title]
%\fi
% \subsection{\textsf{loadingorder-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{loadingorder-bidi.def}[2013/04/12 v0.93 making sure that bidi is the last package loaded]
+\ProvidesFile{loadingorder-bidi.def}[2013/05/01 v0.94 making sure that bidi is the last package loaded]
\bidi@isloaded{amsmath}
\bidi@isloaded{amstext}
\bidi@isloaded{amsthm}
@@ -12243,6 +12284,7 @@ bidi implementation of tufte title]
\bidi@isloaded{ntheorem}
\bidi@isloaded{ntheorem-hyper}
\bidi@isloaded{hyperref}
+\bidi@isloaded{fancybox}
\bidi@isloaded{fancyhdr}
\bidi@isloaded{fix2col}
\bidi@isloaded{draftwatermark}
@@ -12362,6 +12404,9 @@ bidi implementation of tufte title]
\if@bidi@hyperrefloaded@\else
\bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package hyperref after bidi package. Please load package hyperref before bidi package, and then try to run xelatex on your document again}{}]{hyperref}
\fi%
+ \if@bidi@fancyboxloaded@\else
+ \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fancybox after bidi package. Please load package fancybox before bidi package, and then try to run xelatex on your document again}{}]{fancybox}
+ \fi%
\if@bidi@fancyhdrloaded@\else
\bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fancyhdr after bidi package. Please load package fancyhdr before bidi package, and then try to run xelatex on your document again}{}]{fancyhdr}
\fi%
@@ -17542,7 +17587,7 @@ to\rtside{\box\bslice\hfil}}
%\fi
% \subsection{\textsf{xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{xetex-bidi.def}[2013/04/27 v1.1.1 bidi adaptations for XeTeX engine]
+\ProvidesFile{xetex-bidi.def}[2013/05/01 v1.1.2 bidi adaptations for XeTeX engine]
\newcommand{\TeXXeTOn}{\TeXXeTstate=1 }
\newcommand{\TeXXeTOff}{\TeXXeTstate=0 }
\TeXXeTOn
@@ -18234,6 +18279,7 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\@ifpackageloaded{ntheorem}{\input{ntheorem-xetex-bidi.def}}{}
\@ifpackageloaded{hyperref}{\input{hyperref-xetex-bidi.def}}{}
\@ifpackageloaded{ntheorem-hyper}{\input{ntheorem-hyper-xetex-bidi.def}}{}
+\@ifpackageloaded{fancybox}{\input{fancybox-xetex-bidi.def}}{}
\@ifpackageloaded{fancyhdr}{\input{fancyhdr-xetex-bidi.def}}{}
\@ifpackageloaded{fix2col}{\input{fix2col-xetex-bidi.def}}{}
\@ifpackageloaded{ftnright}{\input{ftnright-xetex-bidi.def}}{}
diff --git a/Master/texmf-dist/source/latex/bidi/bidi.ins b/Master/texmf-dist/source/latex/bidi/bidi.ins
index 0e9b95af940..220a88c7d40 100644
--- a/Master/texmf-dist/source/latex/bidi/bidi.ins
+++ b/Master/texmf-dist/source/latex/bidi/bidi.ins
@@ -88,6 +88,7 @@ by Persian TeX Group.
\generate{\file{extletter-xetex-bidi.def}{\from{\jobname.dtx}{extletter-xetex-bidi.def}}}
\generate{\file{extrafootnotefeatures.def}{\from{\jobname.dtx}{extrafootnotefeatures.def}}}
\generate{\file{extreport-xetex-bidi.def}{\from{\jobname.dtx}{extreport-xetex-bidi.def}}}
+\generate{\file{fancybox-xetex-bidi.def}{\from{\jobname.dtx}{fancybox-xetex-bidi.def}}}
\generate{\file{fancyhdr-xetex-bidi.def}{\from{\jobname.dtx}{fancyhdr-xetex-bidi.def}}}
\generate{\file{fix2col-xetex-bidi.def}{\from{\jobname.dtx}{fix2col-xetex-bidi.def}}}
\generate{\file{fleqn-xetex-bidi.def}{\from{\jobname.dtx}{fleqn-xetex-bidi.def}}}
diff --git a/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def
index b815480d47b..71672f8f305 100644
--- a/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def
@@ -12,7 +12,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{amsmath-xetex-bidi.def}[2013/04/25 v0.5 bidi adaptations for amsmath package for XeTeX engine]
+\ProvidesFile{amsmath-xetex-bidi.def}[2013/05/01 v0.6 bidi adaptations for amsmath package for XeTeX engine]
\let\veqno=\eqno
\iftagsleft@ \let\veqno=\leqno \fi
\renewcommand{\numberwithin}[3][\arabic]{%
@@ -22,8 +22,7 @@
\@xp\xdef\csname the#2\endcsname{%
\@xp\@nx\csname the#3\endcsname \@nx\@SepMark\@nx#1{#2}}}}%
}
-\def\tagform@#1{\maketag@@@{\if@RTL\beginR\fi(\ignorespaces#1\unskip\@@italiccorr)\if@RTL\endR\fi}}
-\renewcommand{\eqref}[1]{\beginL\textup{\tagform@{\ref{#1}}}\endL}
+\def\tagform@#1{\maketag@@@{\if@Latin\else\beginR\fi(\ignorespaces#1\unskip\@@italiccorr)\if@Latin\else\endR\fi}}
\DeclareRobustCommand{\[}{\begin{equation*}}
\DeclareRobustCommand{\]}{\end{equation*}}
%%
diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.sty b/Master/texmf-dist/tex/latex/bidi/bidi.sty
index 4a488c5ab05..f4d53b04b97 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/04/27}
-\def\bidiversion{v13.1}
+\def\bididate{2013/05/01}
+\def\bidiversion{v13.2}
\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 0d604a7c889..dc42bc827ce 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/04/27}
+\def\bididate{2013/05/01}
\def\bidiversion{v0.2}
\catcode`@=11
\let \protect \relax
diff --git a/Master/texmf-dist/tex/latex/bidi/fancybox-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/fancybox-xetex-bidi.def
new file mode 100644
index 00000000000..9fcc78e2ca2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bidi/fancybox-xetex-bidi.def
@@ -0,0 +1,57 @@
+%%
+%% This is file `fancybox-xetex-bidi.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bidi.dtx (with options: `fancybox-xetex-bidi.def')
+%%
+%% ______________________________________
+%% Copyright © 2009–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{fancybox-xetex-bidi.def}[2013/05/01 v0.1 bidi adaptations for fancybox package for XeTeX engine]
+\def\fancy@@oval#1#2#3{%
+ \boxmaxdepth \maxdimen
+ \@ovttrue \@ovbtrue \@ovltrue \@ovrtrue
+ \@tfor\@tempa :=#3\do{\csname @ov\@tempa false\endcsname}%
+ \@ovxx#1\relax
+ \advance\@ovxx-\@wholewidth
+ \@ovyy#2\relax
+ \advance\@ovyy-\@wholewidth
+ \@tempdimb \ifdim \@ovyy >\@ovxx \@ovxx\else \@ovyy \fi
+ \advance\@tempdimb-2\p@
+ \ifdim\@tempdimb>\the@cornersize\relax
+ \@tempdimb=\the@cornersize
+ \fi
+ \@getcirc\@tempdimb
+ \@ovro\ht\@tempboxa \@ovri\dp\@tempboxa
+ \@ovdx\@ovxx \advance\@ovdx-\@tempdima \divide\@ovdx \tw@
+ \@ovdy\@ovyy \advance\@ovdy-\@tempdima \divide\@ovdy \tw@
+ \@circlefnt
+ \setbox\@tempboxa\hbox{\beginL%
+ \if@ovr \@ovvert32\kern -\@tempdima \fi
+ \if@ovl \kern \@ovxx \@ovvert01\kern -\@tempdima \kern -\@ovxx \fi
+ \if@ovt \@ovhorz \kern -\@ovxx \fi
+ \if@ovb \raise \@ovyy \@ovhorz \fi\endL}%
+ \advance\@ovdx\@ovro
+ \advance\@ovdy\@ovro
+ \advance\@ovxx\@wholewidth
+ \wd\@tempboxa=\@ovxx
+ \dp\@tempboxa=\z@}
+%%
+%% Copyright © 2009–2013 Persian TeX Group <persian-tex@tug.org>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `fancybox-xetex-bidi.def'.
diff --git a/Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def b/Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def
index 75e290a7145..997905ee294 100644
--- a/Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def
@@ -12,7 +12,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{loadingorder-bidi.def}[2013/04/12 v0.93 making sure that bidi is the last package loaded]
+\ProvidesFile{loadingorder-bidi.def}[2013/05/01 v0.94 making sure that bidi is the last package loaded]
\bidi@isloaded{amsmath}
\bidi@isloaded{amstext}
\bidi@isloaded{amsthm}
@@ -41,6 +41,7 @@
\bidi@isloaded{ntheorem}
\bidi@isloaded{ntheorem-hyper}
\bidi@isloaded{hyperref}
+\bidi@isloaded{fancybox}
\bidi@isloaded{fancyhdr}
\bidi@isloaded{fix2col}
\bidi@isloaded{draftwatermark}
@@ -160,6 +161,9 @@
\if@bidi@hyperrefloaded@\else
\bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package hyperref after bidi package. Please load package hyperref before bidi package, and then try to run xelatex on your document again}{}]{hyperref}
\fi%
+ \if@bidi@fancyboxloaded@\else
+ \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fancybox after bidi package. Please load package fancybox before bidi package, and then try to run xelatex on your document again}{}]{fancybox}
+ \fi%
\if@bidi@fancyhdrloaded@\else
\bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fancyhdr after bidi package. Please load package fancyhdr before bidi package, and then try to run xelatex on your document again}{}]{fancyhdr}
\fi%
diff --git a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
index 53a6df78925..009a8025274 100644
--- a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
@@ -12,7 +12,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{xetex-bidi.def}[2013/04/27 v1.1.1 bidi adaptations for XeTeX engine]
+\ProvidesFile{xetex-bidi.def}[2013/05/01 v1.1.2 bidi adaptations for XeTeX engine]
\newcommand{\TeXXeTOn}{\TeXXeTstate=1 }
\newcommand{\TeXXeTOff}{\TeXXeTstate=0 }
\TeXXeTOn
@@ -704,6 +704,7 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\@ifpackageloaded{ntheorem}{\input{ntheorem-xetex-bidi.def}}{}
\@ifpackageloaded{hyperref}{\input{hyperref-xetex-bidi.def}}{}
\@ifpackageloaded{ntheorem-hyper}{\input{ntheorem-hyper-xetex-bidi.def}}{}
+\@ifpackageloaded{fancybox}{\input{fancybox-xetex-bidi.def}}{}
\@ifpackageloaded{fancyhdr}{\input{fancyhdr-xetex-bidi.def}}{}
\@ifpackageloaded{fix2col}{\input{fix2col-xetex-bidi.def}}{}
\@ifpackageloaded{ftnright}{\input{ftnright-xetex-bidi.def}}{}