summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/bidi/bidi.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/bidi/bidi.dtx')
-rw-r--r--Master/texmf-dist/source/latex/bidi/bidi.dtx658
1 files changed, 595 insertions, 63 deletions
diff --git a/Master/texmf-dist/source/latex/bidi/bidi.dtx b/Master/texmf-dist/source/latex/bidi/bidi.dtx
index d73a8acff92..a5c674ad533 100644
--- a/Master/texmf-dist/source/latex/bidi/bidi.dtx
+++ b/Master/texmf-dist/source/latex/bidi/bidi.dtx
@@ -5,35 +5,32 @@
%<*readme>
___________________
The bidi package
-v12 (Final Version)
+v12.1
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX.
-In this version, a new experimental package, namely,
-bidi-longtable.sty is provided for typesetting bidirectional
-longtables with longtable package. bidi-longtable.sty should
-be loaded after bidi package.This is the final version of bidi
-package and no more updates of bidi package will appear.
-I am working on a commercial package (namely Simurgh,
-for typesetting high quality Persian/English documents with
-LuaTeX, which does not have bugs and limitations of bidi
-package) and therefore do not wish to continue the
-development of bidi package. Hence you may like to consider
-bidi as obsolete and may wish to purchase a copy of Simurgh
-package. If you are interested to purchase a copy of Simurgh
-package, then send me an email. Please do not email me with
-questions/queries about bugs/limitations/usage of bidi package;
-I am not interested in those emails and your email will be deleted
-immediately without replying back.
+This version fixes bugs and adds new features; for more details please see
+the ChangeLog.
+If you want to report any bugs or typos and corrections in the documentation,
+or ask for any new features, or suggest any improvements, or ask any questions
+about the package, then please do not send any direct emails to me; I will not
+answer any direct emails. Instead please use the issue tracker:
+ <https://github.com/vafa/bidi/issues>
+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/01
___________________
Vafa Khalighi
-vafak12@gmail.com
+vafa[dot]kgh[at]gmail[dot]com
-Copyright © 2007–2012
+Copyright © 2007–2013
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
@@ -41,6 +38,21 @@ this license is at: http://www.latex-project.org/lppl.txt
This work is “author-maintained” (as per LPPL maintenance status)
by Vafa Khalighi.
%</readme>
+%<*changelog>
+2013/04/01 version 12.1 Vafa Khalighi
+ * Version 12.1 released.
+ * On page 17, line 2 of the documentation, `scartcl' changed to `scrartcl'.
+ * Fixed `format=hang' option of `caption' package in RTL.
+ * If any pages end inside `RTL/LTR' environment, then the direction of the
+ headers and footers do not get confused.
+ * Fixed `koma-script' and `caption' combination issue in RTL.
+ * Version 0.2 of `bidi.tex' released.
+ * Fixed `\setRTL' issue in plain xetex.
+ * Fixed horizontal alignment of `longtable'.
+ * `cuted' package supported.
+ * `ftnright' package supported.
+ * Fixed `showframe' option of geometry package.
+%</changelog>
%<*internal>
\fi
\begingroup
@@ -51,7 +63,7 @@ by Vafa Khalighi.
\preamble
______________________________________
- Copyright © 2009–2012 Vafa Khalighi
+ Copyright © 2009–2013 Vafa Khalighi
License information appended.
@@ -59,7 +71,7 @@ by Vafa Khalighi.
\endpreamble
\postamble
-Copyright © 2009–2012 Vafa Khalighi <vafak12@gmail.com>
+Copyright © 2009–2013 Vafa Khalighi <vafa[dot]kgh[at]gmail[dot]com>
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
@@ -106,11 +118,13 @@ by Vafa Khalighi.
\generate{\file{book-xetex-bidi.def}{\from{\jobname.dtx}{book-xetex-bidi.def}}}
\generate{\file{breqn-xetex-bidi.def}{\from{\jobname.dtx}{breqn-xetex-bidi.def}}}
\generate{\file{caption-xetex-bidi.def}{\from{\jobname.dtx}{caption-xetex-bidi.def}}}
+\generate{\file{caption3-xetex-bidi.def}{\from{\jobname.dtx}{caption3-xetex-bidi.def}}}
\generate{\file{colortbl-xetex-bidi.def}{\from{\jobname.dtx}{colortbl-xetex-bidi.def}}}
\generate{\file{color-xetex-bidi.def}{\from{\jobname.dtx}{color-xetex-bidi.def}}}
\generate{\file{combine-xetex-bidi.def}{\from{\jobname.dtx}{combine-xetex-bidi.def}}}
\generate{\file{crop-xetex-bidi.def}{\from{\jobname.dtx}{crop-xetex-bidi.def}}}
\generate{\file{cutwin-xetex-bidi.def}{\from{\jobname.dtx}{cutwin-xetex-bidi.def}}}
+\generate{\file{cuted-xetex-bidi.def}{\from{\jobname.dtx}{cuted-xetex-bidi.def}}}
\generate{\file{cvthemebidicasual.sty}{\from{\jobname.dtx}{cvthemebidicasual.sty}}}
\generate{\file{cvthemebidiclassic.sty}{\from{\jobname.dtx}{cvthemebidiclassic.sty}}}
\generate{\file{dblfnote-xetex-bidi.def}{\from{\jobname.dtx}{dblfnote-xetex-bidi.def}}}
@@ -129,7 +143,9 @@ by Vafa Khalighi.
\generate{\file{footnote-luatex-bidi.def}{\from{\jobname.dtx}{footnote-luatex-bidi.def}}}
\generate{\file{footnote-xetex-bidi.def}{\from{\jobname.dtx}{footnote-xetex-bidi.def}}}
\generate{\file{framed-xetex-bidi.def}{\from{\jobname.dtx}{framed-xetex-bidi.def}}}
+\generate{\file{ftnright-xetex-bidi.def}{\from{\jobname.dtx}{ftnright-xetex-bidi.def}}}
\generate{\file{graphicx-xetex-bidi.def}{\from{\jobname.dtx}{graphicx-xetex-bidi.def}}}
+\generate{\file{geometry-xetex-bidi.def}{\from{\jobname.dtx}{geometry-xetex-bidi.def}}}
\generate{\file{hvfloat-xetex-bidi.def}{\from{\jobname.dtx}{hvfloat-xetex-bidi.def}}}
\generate{\file{hyperref-xetex-bidi.def}{\from{\jobname.dtx}{hyperref-xetex-bidi.def}}}
\generate{\file{leqno-xetex-bidi.def}{\from{\jobname.dtx}{leqno-xetex-bidi.def}}}
@@ -182,6 +198,7 @@ by Vafa Khalighi.
\generate{\file{\jobname.ins}{\from{\jobname.dtx}{batchfile}}}
\nopreamble\nopostamble
\generate{\file{README.txt}{\from{\jobname.dtx}{readme}}}
+\generate{\file{ChangeLog.txt}{\from{\jobname.dtx}{changelog}}}
\generate{\file{bidi-logo.tex}{\from{\jobname.dtx}{bidi-logo.tex}}}
\generate{\file{bidisample2e.tex}{\from{\jobname.dtx}{bidisample2e.tex}}}
\generate{\file{bidismall2e.tex}{\from{\jobname.dtx}{bidismall2e.tex}}}
@@ -203,23 +220,21 @@ by Vafa Khalighi.
\generate{\file{test-tabulary.tex}{\from{\jobname.dtx}{test-tabulary.tex}}}
\endgroup
\immediate\write18{mv README.txt README}
+\immediate\write18{mv ChangeLog.txt ChangeLog}
\immediate\write18{makeindex -s gind.ist -o \jobname.ind \jobname.idx}
\immediate\write18{makeindex -s gglo.ist -o \jobname.gls \jobname.glo}
%</internal>
%
%<*driver>
\documentclass{ltxdoc}
-\usepackage{calc,framed,amssymb}
+\usepackage{calc}
\usepackage{pifont}
\usepackage{bbding}
\usepackage{bidicode}
-\usepackage{graphicx}
\usepackage{fontspec}
\definecolor{bidiblue}{rgb}{0.1,0.2,0.8}
-\definecolor{TFFrameColor}{rgb}{0.1,0.2,0.8}
-\definecolor{TFTitleColor}{rgb}{1,1,1}
\usepackage[numbered]{hypdoc}
-\hypersetup{pdftitle={The \textsf{bidi} Package (Support for bidirectional typesetting in plain \TeX{} and \LaTeXe)},pdfauthor={Vafa Khalighi <vafak12@gmail.com>},linkcolor=bidiblue,urlcolor=bidiblue,citecolor=bidiblue}
+\hypersetup{pdftitle={The \textsf{bidi} Package (Support for bidirectional typesetting in plain \TeX{} and \LaTeXe)},pdfauthor={Vafa Khalighi <vafa[dot]kgh[at]gmail[dot]com>},linkcolor=bidiblue,urlcolor=bidiblue,citecolor=bidiblue}
\setlength\columnseprule{.4pt}
\newcommand\XeTeX{Xe\TeX}
\newcommand\XeLaTeX{Xe\LaTeX}
@@ -262,28 +277,9 @@ by Vafa Khalighi.
% \includegraphics[width=0.5\textwidth]{bidi-logo}\\[10pt]
% Support for bidirectional typesetting in plain \TeX{} and \LaTeXe}
% \author{Vafa Khalighi\\
-% \url{vafak12@gmail.com}}
-% \date{\today\qquad Version 12 (Final Version)}
+% \url{vafa[dot]kgh[at]gmail[dot]com}}
+% \date{\today\qquad Version 12.1}
%\maketitle
-%\begin{titled-frame}{Important Note}
-%In this version, a new \emph{experimental} package, namely,
-%\textsf{bidi-longtable.sty} is provided for typesetting bidirectional
-%longtables with \textsf{longtable} package. \textsf{bidi-longtable.sty} should
-%be loaded after \textsf{bidi} package.This is the final version of \textsf{bidi}
-%package and no more updates of \textsf{bidi} package will appear.
-%I am working on a commercial package (namely \textsf{Simurgh},
-%for typesetting high quality Persian/English documents with
-%LuaTeX, which does not have bugs and limitations of \textsf{bidi}
-%package) and therefore do not wish to continue the
-%development of \textsf{bidi} package. Hence you may like to consider
-%\textsf{bidi} as obsolete and may wish to purchase a copy of \textsf{Simurgh}
-%package. If you are interested to purchase a copy of \textsf{Simurgh}
-%package, then send me an email. Please do not email me with
-%questions/queries about bugs/limitations/usage of \textsf{bidi} package;
-%I am not interested in those emails and your email will be deleted
-%immediately without replying back.
-%\end{titled-frame}
-%\newpage
% \tableofcontents
%\section*{Introduction}
%\textsf{bidi} provides a convenient interface for typesetting bidirectional texts in plain \TeX\ and \LaTeX.
@@ -296,8 +292,8 @@ by Vafa Khalighi.
%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-2012 Vafa Khalighi
-%v12 (Final Version), 2012/12/12
+%Copyright (c) 2009-2013 Vafa Khalighi
+%v12.1, 2013/04/01
%License: LaTeX Project Public License, version 1.3c or higher (your choice)
%Location on CTAN: /macros/latex/contrib/bidi
%\end{lstlisting}
@@ -342,8 +338,6 @@ by Vafa Khalighi.
%\end{enumerate}
%\subsection{\textsf{bidi}'s Symbol}
% As you may know lion symbolizes \TeX{} but lion does not symbolizes \textsf{bidi}. \textbf{Simorgh}\footnote{\textbf{Simorgh} is an Iranian benevolent, mythical flying creature which has been shown on the titlepage of this documentation. For more details see \url{http://en.wikipedia.org/wiki/Simurgh}} (shown on the first page of this documentation) symbolizes \textsf{bidi}.
-%\subsection{Version of \textsf{bidi} package}
-% Version of \textsf{bidi} package tends to \textbf{12} and finally, the version number of \textsf{bidi} package becomes \textbf{12}\footnote{This is because number \textbf{12} has been a sacred number between Iranians since ancient times. For instance, in the battles of Rostam against Keykavous, Esfandyar against Arjasp, Goudarz for the revenge of Siavash, and Bahram Mehran (Chobineh) against Turks, the number of Iranian army were 12000 and in all these battles, Iranians defeated enemy.}.
%\subsection{Commands for Version number, and Date of The Package}
%\begin{BDef}
%\Lcs{bidiversion}\quad\Lcs{bididate}
@@ -710,7 +704,7 @@ by Vafa Khalighi.
%\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{crop}, \textsf{cutwin}, \textsf{dblfnote} \textsf{draftwatermark}, \textsf{empheq}, \textsf{fancyhdr}, \textsf{fix2col}, \textsf{float}, \textsf{flowfram}, \textsf{framed}, \textsf{graphicx}, \textsf{hvfloat}, \textsf{hyperref}, \textsf{lettrine}, \textsf{listings}, \textsf{minitoc}, \textsf{multicol}, \textsf{multienum}, \textsf{pdfpages}, \textsf{pstricks}, \textsf{quotchap}, \textsf{picinpar}, \textsf{ragged2e}, \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{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{crop}, \textsf{cuted}, \textsf{cutwin}, \textsf{dblfnote} \textsf{draftwatermark}, \textsf{empheq}, \textsf{fancyhdr}, \textsf{fix2col}, \textsf{float}, \textsf{flowfram}, \textsf{framed}, \textsf{ftnright}, \textsf{geometry}, \textsf{graphicx}, \textsf{hvfloat}, \textsf{hyperref}, \textsf{lettrine}, \textsf{listings}, \textsf{minitoc}, \textsf{multicol}, \textsf{multienum}, \textsf{pdfpages}, \textsf{pstricks}, \textsf{quotchap}, \textsf{picinpar}, \textsf{ragged2e}, \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}
@@ -2597,8 +2591,8 @@ by Vafa Khalighi.
% \subsection{\textsf{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2012/12/12}
-\def\bidiversion{v12 (Final Version)}
+\def\bididate{2013/04/01}
+\def\bidiversion{v12.1}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\bidiinfo{%
@@ -2606,7 +2600,7 @@ bidi package (Support for bidirectional typesetting in plain TeX and LaTeX)^^J
Description: A convenient interface for typesetting bidirectional^^J
texts in plain TeX and LaTeX. The package includes adaptations for use^^J
with many other commonly-used packages.^^J
-Copyright © 2009–2012 Vafa Khalighi^^J
+Copyright © 2009–2013 Vafa Khalighi^^J
\bidiversion, \bididate^^J
License: LaTeX Project Public License, version 1.3c or higher (your choice)^^J
Location on CTAN: /macros/latex/contrib/bidi}
@@ -2666,8 +2660,8 @@ Location on CTAN: /macros/latex/contrib/bidi}
%\fi
% \subsection{\textsf{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2012/12/12}
-\def\bidiversion{v0.1}
+\def\bididate{2013/04/01}
+\def\bidiversion{v0.2}
\catcode`@=11
\let \protect \relax
\newlinechar`\^^J
@@ -2676,7 +2670,7 @@ bidi package (Support for bidirectional typesetting in plain TeX and LaTeX)^^J
Description: A convenient interface for typesetting bidirectional^^J
texts in plain TeX and LaTeX. The package includes adaptations for use^^J
with many other commonly-used packages.^^J
-Copyright © 2009–2012 Vafa Khalighi^^J
+Copyright © 2009–2013 Vafa Khalighi^^J
\bidiversion, \bididate^^J
License: LaTeX Project Public License, version 1.3c or higher (your choice)^^J
Location on CTAN: /macros/latex/contrib/bidi}
@@ -6703,6 +6697,16 @@ bidi implementation of tufte title]
% \end{macrocode}
% \iffalse
%</caption-xetex-bidi.def>
+%<*caption3-xetex-bidi.def>
+%\fi
+% \subsection{\textsf{caption3-xetex-bidi.def}}
+% \begin{macrocode}
+\ProvidesFile{caption3-xetex-bidi.def}[2013/04/01 v0.1 bidi adaptations for caption3 package for XeTeX engine]
+\renewcommand*\caption@@par{%
+ \parindent\caption@parindent\hangindent\if@RTL-\fi\caption@hangindent}%
+% \end{macrocode}
+% \iffalse
+%</caption3-xetex-bidi.def>
%<*colortbl-xetex-bidi.def>
%\fi
% \subsection{\textsf{colortbl-xetex-bidi.def}}
@@ -7019,6 +7023,382 @@ bidi implementation of tufte title]
% \end{macrocode}
% \iffalse
%</cutwin-xetex-bidi.def>
+%<*cuted-xetex-bidi.def>
+%\fi
+% \subsection{\textsf{cuted-xetex-bidi.def}}
+% \begin{macrocode}
+\ProvidesFile{cuted-xetex-bidi.def}[2013/04/01 v0.1 bidi adaptations for cuted package for XeTeX engine]
+\def\RTL@outputdblcol{%
+\if@firstcolumn \global\@firstcolumnfalse
+\global\setbox\@leftcolumn \box\@outputbox
+\else \global\@firstcolumntrue
+\setbox\@outputbox \vbox {\hbox to\textwidth {%
+\hskip \columnwidth
+\hfil \vrule width\columnseprule \hfil
+\hbox to\columnwidth {\box\@leftcolumn \hss}%
+\hskip -\textwidth
+\hbox to\columnwidth{\box\@outputbox \hss}%
+\hskip \columnsep
+\hskip \columnwidth }}%
+ \ifvoid\hold@viper
+ \else
+ \setbox\@outputbox \vbox to\textheight{%
+ \box\hold@viper
+ \box\@outputbox
+ \vss
+ }%
+ \fi
+\@combinedblfloats \@outputpage
+\begingroup \@dblfloatplacement \@startdblcolumn
+\@whilesw\if@fcolmade \fi
+{\@outputpage \@startdblcolumn }%
+ \ifvoid\@viper
+ \else
+ \global\setbox\@viper\vbox{%
+ \vskip-\stripsep
+ \unvbox\@viper
+ }%
+ \@viperoutput
+ \fi
+\endgroup
+\fi}
+\def\LTR@outputdblcol{%
+ \if@firstcolumn
+ \global \@firstcolumnfalse
+ \global \setbox\@leftcolumn \box\@outputbox
+ \else
+ \global \@firstcolumntrue
+ \setbox\@outputbox \vbox {%
+ \hb@xt@\textwidth {%
+ \hb@xt@\columnwidth {%
+ \box\@leftcolumn \hss}%
+ \hfil
+ \vrule \@width\columnseprule
+ \hfil
+ \hb@xt@\columnwidth {%
+ \box\@outputbox \hss}%
+ }%
+ }%
+ \ifvoid\hold@viper
+ \else
+ \setbox\@outputbox \vbox to\textheight{%
+ \box\hold@viper
+ \box\@outputbox
+ \vss
+ }%
+ \fi
+ \@combinedblfloats
+ \@outputpage
+ \begingroup
+ \@dblfloatplacement
+ \@startdblcolumn
+ \@whilesw\if@fcolmade \fi
+ {\@outputpage
+ \@startdblcolumn}%
+ \ifvoid\@viper
+ \else
+ \global\setbox\@viper\vbox{%
+ \vskip-\stripsep
+ \unvbox\@viper
+ }%
+ \@viperoutput
+ \fi
+ \endgroup
+ \fi
+ }
+\def \@addviper {%
+ \if@firstcolumn
+ \@insertfalse
+ \@reqcolroom .5\@pageht
+ \ht@viper\@reqcolroom
+ \advance \@reqcolroom \ht\@viper
+ \advance \@reqcolroom \stripsep
+ \ifvoid\hold@viper\@tempdima=\z@\else\@tempdima\ht\hold@viper\fi
+%%
+ \@tempdimb \ht@viper
+ \loop
+ \setbox\v@aaa\copy\@holdpg
+ \setbox\v@ccc\vbox to\@tempdimb{%
+ \vsplit\v@aaa to\@tempdimb\vss\vsplit\v@aaa to\@tempdimb}%
+ \wlog{Extra height:\the\ht\v@aaa\space when \the\@tempdimb}%
+ \ifvoid\v@aaa \else \advance\@tempdimb 1pt \repeat
+ \loop
+ \setbox\v@aaa\copy\@holdpg
+ \setbox\v@ccc\vbox to\@tempdimb{%
+ \vsplit\v@aaa to\@tempdimb\vss}%
+ \wlog{(2)Left:\the\ht\v@ccc\space Right:\the\ht\v@aaa\space Output:\the\@tempdimb}%
+ \ifdim \ht\v@ccc<\ht\v@aaa \@tempdimb \the\ht\v@aaa \repeat
+ \wlog{- LAST -^^JLeft:\the\ht\v@ccc^^JRight:\the\ht\v@aaa^^JOutput:\the\@tempdimb}%
+ \setbox\v@ccc\vbox to\@tempdimb{%
+ \vsplit\@holdpg to\@tempdimb\vss}%
+%%
+ \setbox\@tempboxa \vbox {%
+ \hb@xt@\textwidth {%
+ \if@RTLmain%
+ \hskip \columnwidth
+ \hfil \vrule width\columnseprule \hfil
+ \hb@xt@\columnwidth {%
+ \vbox to\ht@viper{\box\v@ccc\vss} \hss}%
+ \hskip -\textwidth
+ \hb@xt@\columnwidth {%
+ \vbox to\ht@viper{\box\@holdpg\vss} \hss}%
+ \hskip \columnsep
+ \hskip \columnwidth
+ \else%
+ \hb@xt@\columnwidth {%
+ \vbox to\ht@viper{\box\v@ccc\vss} \hss}%
+ \hfil
+ \vrule \@width\columnseprule
+ \hfil
+ \hb@xt@\columnwidth {%
+ \vbox to\ht@viper{\box\@holdpg\vss} \hss}%
+ \fi}%
+ }%
+ \ifvoid\hold@viper
+ \global\setbox\hold@viper \vbox {%
+ \unvbox\@tempboxa
+ \penalty\interlinepenalty
+ \vskip\stripsep
+ \ifnum\outputpenalty <-\@Mii \vskip -\parskip\fi
+ \outputpenalty \z@
+ }%
+ \else
+ \global\setbox\hold@viper \vbox {%
+ \unvbox\hold@viper
+ \unvbox\@tempboxa
+ \penalty\interlinepenalty
+ \vskip\stripsep
+ \ifnum\outputpenalty <-\@Mii \vskip -\parskip\fi
+ \outputpenalty \z@
+ }%
+ \fi
+ \ifdim \@colroom>\@reqcolroom
+ \global\setbox\hold@viper \vbox {%
+ \unvbox\hold@viper
+ \box\@viper
+ \penalty\interlinepenalty
+ \vskip\stripsep
+ \ifnum\outputpenalty <-\@Mii \vskip -\parskip\fi
+ \outputpenalty \z@
+ }%
+ \@inserttrue
+ \advance\@tempdima by-\ht\hold@viper
+ \global \advance \@colht \@tempdima
+ \ifdim \@colht<2.5\baselineskip
+ \@latex@warning@no@line {Optional argument of \noexpand\twocolumn
+ too tall on page \thepage (1 stulpelis)}%
+ \@emptycol
+ \if@firstcolumn
+ \else
+ \@emptycol
+ \fi
+ \global\@lastvipertrue
+ \else
+ \global \vsize \@colht
+ \global \@colroom \@colht
+ \check@floats
+ \ifdim\@tempdima>\z@
+ \global\advance\@colroom by-\@tempdima
+ \fi
+ \ifdim\@colroom<\z@
+ \global\@colroom 1pt
+ \ifdim\@tempdima>\@colht
+ \@latex@warning@no@line {TOP ir/ar BOT FLOAT's
+ netelpa lape \thepage (1 stulpelis)}%
+ \fi
+ \@emptycol
+ \if@firstcolumn
+ \else
+ \@emptycol
+ \fi
+ \global\@lastvipertrue
+ \fi
+ \fi
+ \fi
+ \else
+ \@insertfalse
+ \@reqcolroom\@colht
+ \advance\@reqcolroom \@pageht
+ \ht@viper.5\@reqcolroom
+ \@reqcolroom\ht@viper
+ \advance \@reqcolroom \ht\@viper
+ \advance \@reqcolroom \stripsep
+ \if@flushend@auto@baselineskip
+ \setbox\@tempboxa\vbox{\unvcopy\@leftcolumn
+ \global\lastskip@d\lastskip
+ \global\lastskip@b\lastskip
+ \loop
+ \global\lastskip@a\lastskip@b
+ \unskip\unpenalty
+ \global\lastskip@b\lastskip
+ \global\advance\lastskip@d by\lastskip
+ \ifdim\lastskip@b=-\lastskip@a
+ \global\advance\lastskip@d by-\lastskip
+ \else
+ \repeat
+ \ifdim\lastskip@b=-\lastskip@a
+ \ifdim\lastskip@b=\z@
+ \setbox\lastbox@a\lastbox
+ \global\advance\lastskip@d by\ht\lastbox@a
+ \global\advance\lastskip@d by\lastskip
+ \unskip\unpenalty
+ \setbox\lastbox@a\lastbox
+ \global\advance\lastskip@d by\dp\lastbox@a
+ \else
+ \global\lastskip@d\lastskip
+ \global\advance\lastskip@d by\topskip
+ \fi
+ \fi
+ \global\advance\lastskip@d by-\topskip
+ }%
+ \ifdim\ht\@holdpg>\@colht
+ \global\setbox\@holdpg\vbox{\unvbox\@leftcolumn\unskip\unpenalty
+ \par\eject
+ \vbox to \@colht{\unvbox\@holdpg\unskip}%
+ }%
+ \else
+ \global\setbox\@holdpg\vbox{%
+ \unvbox\@leftcolumn\unskip\unpenalty
+ \vskip\lastskip@d
+ \the\At@ViperColsBreak
+ \unvbox\@holdpg
+ \unskip
+ }%
+ \fi
+ \else
+ \global\setbox\@holdpg\vbox{%
+ \unvbox\@leftcolumn
+ \setbox\@tempboxa\lastbox
+ \on@stripcols@break
+ \the\At@ViperColsBreak
+ \unvbox\@holdpg
+ }%
+ \fi
+ \global\At@ViperColsBreak{}%
+ \ht@viper .5\ht\@holdpg
+ \ifdim \ht@viper>\@colht
+ \ht@viper \@colht
+ \fi
+ \ifvoid\hold@viper\@tempdima=\z@\else\@tempdima\ht\hold@viper\fi
+%%
+ \@tempdimb \ht@viper
+ \loop
+ \setbox\v@aaa\copy\@holdpg
+ \setbox\v@ccc\vbox to\@tempdimb{%
+ \vsplit\v@aaa to\@tempdimb
+ \vss
+ \vsplit\v@aaa to\@tempdimb
+ }%
+ \wlog{Extra height:\the\ht\v@aaa\space when \the\@tempdimb}%
+ \ifvoid\v@aaa
+ \else
+ \advance\@tempdimb 1\p@
+ \repeat
+ \loop
+ \setbox\v@aaa\copy\@holdpg
+ \setbox\v@ccc\vbox to\@tempdimb{\vsplit\v@aaa to\@tempdimb\vss}%
+ \wlog{(2)Left:\the\ht\v@ccc\space
+ Right:\the\ht\v@aaa\space
+ Output:\the\@tempdimb
+ }%
+ \ifdim\ht\v@ccc<\ht\v@aaa
+ \@tempdimb \the\ht\v@aaa
+ \repeat
+ \wlog{- LAST -^^JLeft:\the\ht\v@ccc
+ ^^JRight:\the\ht\v@aaa
+ ^^JOutput:\the\@tempdimb
+ }%
+ \setbox\v@ccc\vbox to\@tempdimb{\vsplit\@holdpg to\@tempdimb\vss}%
+ \setbox\@tempboxa\vbox{%
+ \hb@xt@\textwidth {%
+ \hb@xt@\columnwidth{\vbox to\ht@viper{\box\v@ccc\vss} \hss}%
+ \hfil
+ \vrule \@width\columnseprule
+ \hfil
+ \hb@xt@\columnwidth {\vbox to\ht@viper{\box\@holdpg\vss} \hss}%
+ }%
+ }%
+ \ifvoid\hold@viper
+ \global\setbox\hold@viper \vbox {%
+ \unvbox\@tempboxa
+ \penalty\interlinepenalty
+ \vskip\stripsep
+ \ifnum\outputpenalty <-\@Mii \vskip -\parskip\fi
+ \outputpenalty \z@
+ }%
+ \else
+ \global\setbox\hold@viper \vbox {%
+ \unvbox\hold@viper
+ \unvbox\@tempboxa
+ \penalty\interlinepenalty
+ \vskip\stripsep
+ \ifnum\outputpenalty <-\@Mii \vskip -\parskip\fi
+ \outputpenalty \z@
+ }%
+ \fi
+ \ifdim \@colht>\@reqcolroom
+ \global\setbox\hold@viper \vbox {%
+ \unvbox\hold@viper
+ \box\@viper
+ \penalty\interlinepenalty
+ \vskip\stripsep
+ \ifnum\outputpenalty <-\@Mii \vskip -\parskip\fi
+ \outputpenalty \z@
+ }%
+ \@inserttrue
+ \global\@firstcolumntrue
+ \advance\@tempdima by-\ht\hold@viper
+ \global \advance \@colht \@tempdima
+ \ifdim \@colht<2.5\baselineskip
+ \@latex@warning@no@line {Optional argument of \noexpand\twocolumn
+ too tall on page \thepage (2 stulpelis)}%
+ \@emptycol
+ \if@firstcolumn
+ \else
+ \@emptycol
+ \fi
+ \global\@lastvipertrue
+ \else
+ \global \vsize \@colht
+ \global \@colroom \@colht
+ \check@floats
+ \ifdim\@tempdima>\z@
+ \global\advance\@colroom by-\@tempdima
+ \fi
+ \ifdim\@colroom<\z@
+ \global\@colroom 1pt
+ \ifdim\@tempdima>\@colht
+ \@latex@warning@no@line {TOP ir/ar BOT FLOAT's
+ netelpa lape \thepage (2 stulpelis)}%
+ \fi
+ \@emptycol
+ \if@firstcolumn
+ \else
+ \@emptycol
+ \fi
+ \global\@lastvipertrue
+ \fi
+ \fi
+ \fi
+ \fi
+ \if@insert
+ \else
+ \advance\@tempdima by-\ht\hold@viper
+ \global \advance \@colht \@tempdima
+ \global\setbox\hold@viper \vbox {%
+ \unvbox\hold@viper
+ \csname viper@top@hook\endcsname
+ \vsplit\@viper to \@colht
+ \vss
+ }%
+ \vbox{}%
+ \global\@firstcolumnfalse
+ \newpage
+ \fi
+ }
+% \end{macrocode}
+% \iffalse
+%</cuted-xetex-bidi.def>
%<*cvthemebidicasual.sty>
%\fi
% \subsection{\textsf{cvthemebidicasual.sty}}
@@ -10773,6 +11153,59 @@ bidi implementation of tufte title]
% \end{macrocode}
% \iffalse
%</framed-xetex-bidi.def>
+%<*ftnright-xetex-bidi.def>
+%\fi
+% \subsection{\textsf{ftnright-xetex-bidi.def}}
+% \begin{macrocode}
+\ProvidesFile{ftnright-xetex-bidi.def}[2013/04/01 v0.1 bidi adaptations for ftnright package for XeTeX engine]
+\def\LTR@outputdblcol{\if@firstcolumn
+ \global\@firstcolumnfalse
+ \global\setbox\@leftcolumn\box\@outputbox
+ \global\count\footins\@m
+ \global\skip\footins\rcol@footinsskip
+ \else \preparefootins
+ \global\@firstcolumntrue
+ \setbox\@outputbox\vbox{\hbox to\textwidth
+ {\hbox to\columnwidth
+ {\box\@leftcolumn\hss}%
+ \hfil\vrule\@width\columnseprule\hfil
+ \hbox to\columnwidth
+ {\box\@outputbox\hss}}}%
+ \@combinedblfloats\@outputpage
+ \begingroup
+ \@dblfloatplacement\@startdblcolumn
+ \@whilesw\if@fcolmade\fi
+ {\@outputpage\@startdblcolumn}%
+ \endgroup
+ \fi}
+ \def\RTL@outputdblcol{\if@firstcolumn
+ \global\@firstcolumnfalse
+ \global\setbox\@leftcolumn\box\@outputbox
+ \global\count\footins\@m
+ \global\skip\footins\rcol@footinsskip
+ \else \preparefootins
+ \global\@firstcolumntrue
+ \setbox\@outputbox\vbox{\hbox to\textwidth
+ {\hskip \columnwidth
+ \hfil \vrule width\columnseprule \hfil
+ \hbox to\columnwidth
+ {\box\@leftcolumn\hss}%
+ \hskip -\textwidth
+ \hbox to\columnwidth
+ {\box\@outputbox\hss}
+ \hskip \columnsep
+ \hskip \columnwidth}}%
+ \@combinedblfloats\@outputpage
+ \begingroup
+ \@dblfloatplacement\@startdblcolumn
+ \@whilesw\if@fcolmade\fi
+ {\@outputpage\@startdblcolumn}%
+ \endgroup
+ \fi}
+\g@addto@macro\document{\let\footnoterule\@empty}
+% \end{macrocode}
+% \iffalse
+%</ftnright-xetex-bidi.def>
%<*graphicx-xetex-bidi.def>
%\fi
% \subsection{\textsf{graphicx-xetex-bidi.def}}
@@ -10898,6 +11331,35 @@ bidi implementation of tufte title]
% \end{macrocode}
% \iffalse
%</graphicx-xetex-bidi.def>
+%<*geometry-xetex-bidi.def>
+%\fi
+% \subsection{\textsf{geometry-xetex-bidi.def}}
+% \begin{macrocode}
+\ProvidesFile{geometry-xetex-bidi.def}[2013/04/01 v0.1 bidi adaptations for geometry package for XeTeX engine]
+\renewcommand*{\Gm@vrules@mpi}{%
+\if@RTLmain%
+ \hb@xt@\@tempdima{\hskip-\marginparwidth\hskip-\marginparsep
+ \llap{\Gm@vrule}\ignorespaces
+ \hskip \marginparwidth\rlap{\Gm@vrule}\hskip \marginparsep
+ \llap{\Gm@vrule}\hskip\textwidth\rlap{\Gm@vrule}\hss}%
+ \else%
+ \hb@xt@\@tempdima{\llap{\Gm@vrule}\ignorespaces
+ \hskip \textwidth\Gm@vrule\hskip \marginparsep
+ \llap{\Gm@vrule}\hfil\Gm@vrule}\fi}%
+\renewcommand*{\Gm@vrules@mpii}{%
+\if@RTLmain%
+ \hb@xt@\@tempdima{\llap{\Gm@vrule}\ignorespaces
+ \hskip \textwidth\Gm@vrule\hskip \marginparsep
+ \llap{\Gm@vrule}\hfil\Gm@vrule}%
+\else%
+ \hb@xt@\@tempdima{\hskip-\marginparwidth\hskip-\marginparsep
+ \llap{\Gm@vrule}\ignorespaces
+ \hskip \marginparwidth\rlap{\Gm@vrule}\hskip \marginparsep
+ \llap{\Gm@vrule}\hskip\textwidth\rlap{\Gm@vrule}\hss}\fi}%
+
+% \end{macrocode}
+% \iffalse
+%</geometry-xetex-bidi.def>
%<*hvfloat-xetex-bidi.def>
%\fi
% \subsection{\textsf{hvfloat-xetex-bidi.def}}
@@ -11611,6 +12073,7 @@ bidi implementation of tufte title]
\bidi@isloaded{breqn}
\bidi@isloaded{caption}
\bidi@isloaded{crop}
+\bidi@isloaded{cuted}
\bidi@isloaded{cutwin}
\bidi@isloaded{color}
\bidi@isloaded{dblfnote}
@@ -11619,10 +12082,12 @@ bidi implementation of tufte title]
\bidi@isloaded{float}
\bidi@isloaded{flowfram}
\bidi@isloaded{framed}
+\bidi@isloaded{ftnright}
\bidi@isloaded{xltxtra}
\bidi@isloaded{xunicode}
\bidi@isloaded{wrapfig}
\bidi@isloaded{graphicx}
+\bidi@isloaded{geometry}
\bidi@isloaded{hvfloat}
\bidi@isloaded{ntheorem}
\bidi@isloaded{ntheorem-hyper}
@@ -11685,6 +12150,9 @@ bidi implementation of tufte title]
\if@bidi@cutwinloaded@\else
\bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package cutwin after bidi package. Please load package cutwin before bidi package, and then try to run xelatex on your document again}{}]{cutwin}
\fi%
+ \if@bidi@cutedloaded@\else
+ \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package cuted after bidi package. Please load package cuted before bidi package, and then try to run xelatex on your document again}{}]{cuted}
+ \fi%
\if@bidi@dblfnoteloaded@\else
\bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package dblfnote after bidi package. Please load package dblfnote before bidi package, and then try to run xelatex on your document again}{}]{dblfnote}
\fi%
@@ -11703,6 +12171,9 @@ bidi implementation of tufte title]
\if@bidi@framedloaded@\else
\bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package framed after bidi package. Please load package framed before bidi package, and then try to run xelatex on your document again}{}]{framed}
\fi%
+ \if@bidi@ftnrightloaded@\else
+ \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package ftnright after bidi package. Please load package ftnright before bidi package, and then try to run xelatex on your document again}{}]{ftnright}
+ \fi%
\if@bidi@xltxtraloaded@\else
\bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xltxtra after bidi package. Please load package xltxtra before bidi package, and then try to run xelatex on your document again}{}]{xltxtra}
\fi%
@@ -11715,6 +12186,9 @@ bidi implementation of tufte title]
\if@bidi@graphicxloaded@\else
\bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package graphicx after bidi package. Please load package graphicx before bidi package, and then try to run xelatex on your document again}{}]{graphicx}
\fi%
+ \if@bidi@geometryloaded@\else
+ \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package geometry after bidi package. Please load package geometry before bidi package, and then try to run xelatex on your document again}{}]{geometry}
+ \fi%
\if@bidi@hvfloatloaded@\else
\bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package hvfloat after bidi package. Please load package hvfloat before bidi package, and then try to run xelatex on your document again}{}]{hvfloat}
\fi%
@@ -11834,7 +12308,60 @@ bidi implementation of tufte title]
%\fi
% \subsection{\textsf{longtable-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{longtable-xetex-bidi.def}[2012/12/12 v0.2 bidi adaptations for longtable package for XeTeX engine]
+\ProvidesFile{longtable-xetex-bidi.def}[2013/04/01 v0.3 bidi adaptations for longtable package for XeTeX engine]
+\def\LT@array[#1]#2{%
+ \refstepcounter{table}\stepcounter{LT@tables}%
+ \if l#1%
+ \if@RTLtab\LTleft\fill \LTright\z@\else\LTleft\z@ \LTright\fill\fi
+ \else\if r#1%
+ \if@RTLtab\LTleft\z@ \LTright\fill\else\LTleft\fill \LTright\z@\fi
+ \else\if c#1%
+ \LTleft\fill \LTright\fill
+ \fi\fi\fi
+ \let\LT@mcol\multicolumn
+ \let\LT@@tabarray\@tabarray
+ \let\LT@@hl\hline
+ \def\@tabarray{%
+ \let\hline\LT@@hl
+ \LT@@tabarray}%
+ \let\\\LT@tabularcr\let\tabularnewline\\%
+ \def\newpage{\noalign{\break}}%
+ \def\pagebreak{\noalign{\ifnum`}=0\fi\@testopt{\LT@no@pgbk-}4}%
+ \def\nopagebreak{\noalign{\ifnum`}=0\fi\@testopt\LT@no@pgbk4}%
+ \let\hline\LT@hline \let\kill\LT@kill\let\caption\LT@caption
+ \@tempdima\ht\strutbox
+ \let\@endpbox\LT@endpbox
+ \ifx\extrarowheight\@undefined
+ \let\@acol\@tabacol
+ \let\@classz\@tabclassz \let\@classiv\@tabclassiv
+ \def\@startpbox{\vtop\LT@startpbox}%
+ \let\@@startpbox\@startpbox
+ \let\@@endpbox\@endpbox
+ \let\LT@LL@FM@cr\@tabularcr
+ \else
+ \advance\@tempdima\extrarowheight
+ \col@sep\tabcolsep
+ \let\@startpbox\LT@startpbox\let\LT@LL@FM@cr\@arraycr
+ \fi
+ \setbox\@arstrutbox\hbox{\vrule
+ \@height \arraystretch \@tempdima
+ \@depth \arraystretch \dp \strutbox
+ \@width \z@}%
+ \let\@sharp##\let\protect\relax
+ \begingroup
+ \@mkpream{#2}%
+ \xdef\LT@bchunk{%
+ \global\advance\c@LT@chunks\@ne
+ \global\LT@rows\z@\setbox\z@\vbox\bgroup
+ \LT@setprevdepth
+ \tabskip\LTleft \noexpand\halign to\hsize\bgroup
+ \tabskip\z@ \@arstrut \@preamble \tabskip\LTright \cr}%
+ \endgroup
+ \expandafter\LT@nofcols\LT@bchunk&\LT@nofcols
+ \LT@make@row
+ \m@th\let\par\@empty
+ \everycr{}\lineskip\z@\baselineskip\z@
+ \LT@bchunk}
\def\LT@makecaption#1#2#3{%
\LT@mcol\LT@cols c{\hbox to\z@{\hss\parbox[t]\LTcapwidth{%
\sbox\@tempboxa{\if@RTL\beginR\fi#1{#2: }#3\if@RTL\endR\fi}%
@@ -12451,6 +12978,7 @@ bidi implementation of tufte title]
\def\TeXXeTOn{\TeXXeTstate=1 }
\def\TeXXeTOff{\TeXXeTstate=0 }
\TeXXeTOn
+\def\usebox#1{\leavevmode\copy #1\relax}
\def\bidi@RTL@everypar{\if@RTL{\setbox\z@\lastbox\beginR\ifvoid\z@\else\usebox\z@\fi}\fi}
\let\bidi@o@everypar=\everypar
\newtoks\bidi@n@everypar
@@ -16910,7 +17438,7 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\vfil
\color@hbox
\normalcolor
- \hb@xt@\textwidth{\if@RTLmain\beginR\fi\@thehead\if@RTLmain\endR\fi}%
+ \hb@xt@\textwidth{\if@RTLmain\@RTLtrue\beginR\else\@RTLfalse\beginL\fi\@thehead\if@RTLmain\endR\else\endL\fi}%
\color@endbox
}% %% 22 Feb 87
\dp\@tempboxa \z@
@@ -16920,7 +17448,7 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\baselineskip \footskip
\color@hbox
\normalcolor
- \hb@xt@\textwidth{\if@RTLmain\beginR\fi\@thefoot\if@RTLmain\endR\fi}%
+ \hb@xt@\textwidth{\if@RTLmain\@RTLtrue\beginR\else\@RTLfalse\beginL\fi\@thefoot\if@RTLmain\endR\else\endL\fi}%
\color@endbox
}%
}%
@@ -16979,9 +17507,11 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\@ifpackageloaded{amsthm}{\input{amsthm-xetex-bidi.def}}{}
\@ifpackageloaded{breqn}{\input{breqn-xetex-bidi.def}}{}
\@ifpackageloaded{caption}{\input{caption-xetex-bidi.def}}{}
+\@ifpackageloaded{caption3}{\input{caption3-xetex-bidi.def}}{}
\@ifpackageloaded{crop}{\@ifclassloaded{memoir}{}{\input{crop-xetex-bidi.def}}}{}
\@ifpackageloaded{color}{\input{color-xetex-bidi.def}}{}
\@ifpackageloaded{cutwin}{\input{cutwin-xetex-bidi.def}}{}
+\@ifpackageloaded{cuted}{\input{cuted-xetex-bidi.def}}{}
\@ifpackageloaded{xcolor}{\input{xcolor-xetex-bidi.def}}{}
\@ifpackageloaded{colortbl}{\input{colortbl-xetex-bidi.def}}{}
\@ifpackageloaded{float}{\input{float-xetex-bidi.def}}{}
@@ -16989,6 +17519,7 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\@ifpackageloaded{xltxtra}{\input{xltxtra-xetex-bidi.def}}{}
\@ifpackageloaded{wrapfig}{\input{wrapfig-xetex-bidi.def}}{}
\@ifpackageloaded{graphicx}{\input{graphicx-xetex-bidi.def}}{}
+\@ifpackageloaded{geometry}{\input{geometry-xetex-bidi.def}}{}
\@ifpackageloaded{hvfloat}{\input{hvfloat-xetex-bidi.def}}{}
\@ifpackageloaded{ntheorem}{\input{ntheorem-xetex-bidi.def}}{}
\@ifpackageloaded{hyperref}{\input{hyperref-xetex-bidi.def}}{}
@@ -16999,6 +17530,7 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\@ifpackageloaded{dblfnote}{\input{dblfnote-xetex-bidi.def}}{}
\@ifpackageloaded{empheq}{\input{empheq-xetex-bidi.def}}{}
\@ifpackageloaded{framed}{\input{framed-xetex-bidi.def}}{}
+\@ifpackageloaded{ftnright}{\input{ftnright-xetex-bidi.def}}{}
\@ifpackageloaded{pdfpages}{\input{pdfpages-xetex-bidi.def}}{}
\@ifpackageloaded{lettrine}{\input{lettrine-xetex-bidi.def}}{}
\@ifpackageloaded{listings}{\input{listings-xetex-bidi.def}}{}
@@ -18739,7 +19271,7 @@ dynamic frame when using one of the \cmdname{Ncolumntop} type of commands.
\mobile{۰۹۱۸۹۶۹۴۹۶}
\phone{۹۸۹۰۸۳۴۱}
\fax{۹۸۹۰۸۳۴۲}
-\email{vafak12@gmail.com}
+\email{vafa[dot]kgh[at]gmail[dot]com}
\extrainfo{اطلاعات اضافی}
\photo[64pt]{picture}
\quote{نقل قول}
@@ -18812,7 +19344,7 @@ dynamic frame when using one of the \cmdname{Ncolumntop} type of commands.
\mobile{۰۹۱۸۹۶۹۴۹۶}
\phone{۹۸۹۰۸۳۴۱}
\fax{۹۸۹۰۸۳۴۲}
-\email{vafak12@gmail.com}
+\email{vafa[dot]kgh[at]gmail[dot]com}
\extrainfo{اطلاعات اضافی}
\photo[64pt]{picture}
\quote{نقل قول}