summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-10-31 21:48:35 +0000
committerKarl Berry <karl@freefriends.org>2012-10-31 21:48:35 +0000
commitb78d2a1cda41c8e3d83c82800ca01abb8ddf2b1f (patch)
treeacb1e721fe03b1333a3f6b4e976b8cc581ae0b3c
parent94d42d7395b8167256c615f1045aef29418dd937 (diff)
xepersian (31oct12)
git-svn-id: svn://tug.org/texlive/trunk@28145 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/README28
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex2
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdfbin223693 -> 268648 bytes
-rw-r--r--Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map2
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx447
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.ins4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def76
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def76
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/color-localise.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/empheq-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def85
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def85
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/messages-localise.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/misc-localise-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty8
63 files changed, 505 insertions, 412 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README
index 98bc8f6b695..93e44507309 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/README
+++ b/Master/texmf-dist/doc/xelatex/xepersian/README
@@ -1,10 +1,20 @@
-_________________
+____________________
The XePersian package
-v11.143
+v12 (Final Version)
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 11.143 and it will be developed to
-meet the needs of Persian typesetting properly.
+Persian easily. This is the final version of xepersian package and no more
+updates of xepersian 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
+xepersian package) and therefore do not wish to continue the
+development of xepersian package. Hence you may like to consider
+xepersian 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 xepersian package; I am not interested
+in those emails and your email will be deleted immediately without replying
+back.
The XePersian package is independent of any operating system, meaning it
will work on all operating systems.
@@ -15,17 +25,9 @@ in the documentation.
To get help, please explore http://forum.parsilatex.com
-________________________________________________________
-How to file bug reports and follow development of XePersian package
-
-The XePersian package is developed on <https://github.com/vafa/xepersian>.
-
-Users are encouraged to offer suggestions and file bug reports on
-the github issue tracker: <https://github.com/vafa/xepersian/issues>.
-
______________
Vafa Khalighi
-vafakhlg@gmail.com
+vafak12@gmail.com
Copyright © 2008–2012
Distributed under the LaTeX Project Public License
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex b/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
index 99eb2450b8b..f0419c26ec7 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
+++ b/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
@@ -54,7 +54,7 @@
وفا خلیقی، مهدی امیدعلی و مصطفی واحدی
-\texttt{vafakhlg@gmail.com\\[5pt]
+\texttt{vafak12@gmail.com\\[5pt]
http://google.com}\\
\end{authorblock}
\end{frontpage}
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
index f9ca0aa8a2b..225077ed77d 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
+++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
Binary files differ
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
index efa081f25ec..068292f762a 100644
--- a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
+++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
@@ -58,7 +58,7 @@ U+002C U+002C <> U+201E ; ,, -> DOUBLE LOW-9 QUOTATION MARK
U+003C U+003C <> U+00AB ; << -> LEFT POINTING GUILLEMET
U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
;;
-;; Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+;; Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
index 674e63f7dd9..2a697f57147 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
@@ -3,13 +3,23 @@
\iffalse
%</internal>
%<*readme>
-_________________
+____________________
The XePersian package
-v11.143
+v12 (Final Version)
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 11.143 and it will be developed to
-meet the needs of Persian typesetting properly.
+Persian easily. This is the final version of xepersian package and no more
+updates of xepersian 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
+xepersian package) and therefore do not wish to continue the
+development of xepersian package. Hence you may like to consider
+xepersian 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 xepersian package; I am not interested
+in those emails and your email will be deleted immediately without replying
+back.
The XePersian package is independent of any operating system, meaning it
will work on all operating systems.
@@ -22,17 +32,10 @@ in the documentation.
To get help, please explore http://forum.parsilatex.com
-________________________________________________________
-How to file bug reports and follow development of XePersian package
-
-The XePersian package is developed on <https://github.com/vafa/xepersian>.
-
-Users are encouraged to offer suggestions and file bug reports on
-the github issue tracker: <https://github.com/vafa/xepersian/issues>.
______________
Vafa Khalighi
-vafakhlg@gmail.com
+vafak12@gmail.com
Copyright © 2008–2012
Distributed under the LaTeX Project Public License
@@ -62,7 +65,7 @@ by Vafa Khalighi.
\endpreamble
\postamble
-Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
@@ -169,12 +172,9 @@ by Vafa Khalighi.
\definecolor{myred}{rgb}{0.65,0.04,0.07}
\definecolor{TFFrameColor}{rgb}{0.1,0.2,0.8}
\definecolor{TFTitleColor}{rgb}{1,1,1}
-\hypersetup{pdftitle={The XePersian Package (Persian for \LaTeXe{} over XeTeX)},pdfauthor={Vafa Khalighi <vafakhlg@gmail.com>},linkcolor=xepersianblue,urlcolor=xepersianblue,citecolor=xepersianblue}
+\hypersetup{pdftitle={The XePersian Package (Persian for \LaTeXe{} over XeTeX)},pdfauthor={Vafa Khalighi <vafak12@gmail.com>},linkcolor=xepersianblue,urlcolor=xepersianblue,citecolor=xepersianblue}
\usepackage{bidi}
\setlength\columnseprule{.4pt}
-\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Minion Pro}
-\setsansfont[Mapping=tex-text,Numbers=OldStyle]{Myriad Pro}
-\setmonofont{Andale Mono}
\newfontfamily\ParsiFont[Script=Arabic]{Iranian Sans}
\def\Pcs#1{\nxPLcs{#1}}
\def\nxPLcs#1{\RLE{\texttt{\symbol{92}\ParsiFont#1}}}
@@ -224,15 +224,24 @@ by Vafa Khalighi.
% \makeatletter
% \title{The \textsf{\XePersian} Package\\[10pt]
% \includegraphics[width=0.5\textwidth]{xepersian-logo}\\[10pt]
-% Persian for \LaTeXe{} over \XeTeX\\
-%\url{https://github.com/vafa/xepersian}}
+% Persian for \LaTeXe{} over \XeTeX}
% \author{Vafa Khalighi\\
-% \url{vafakhlg@gmail.com}}
-% \date{\today\qquad Version 11.143}
+% \url{vafak12@gmail.com}}
+% \date{\today\qquad Version 12 (Final Version)}
%\maketitle
-%\begin{titled-frame}{How to file bug reports and follow development of \textsf{XePersian} package}
-%The \textsf{XePersian} package is developed on \url{https://github.com/vafa/xepersian}. Users are encouraged to offer suggestions and file bug reports on the github issue tracker:
-%\url{https://github.com/vafa/xepersian/issues}.
+%\begin{titled-frame}{Important Note}
+%This is the final version of \textsf{xepersian} package and no more
+%updates of \textsf{xepersian} 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{xepersian} package) and therefore do not wish to continue the
+%development of \textsf{xepersian} package. Hence you may like to consider
+%\textsf{xepersian} 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{xepersian} package; I am not interested
+%in those emails and your email will be deleted immediately without replying
+%back.
%\end{titled-frame}
%\newpage
%\tableofcontents
@@ -253,7 +262,7 @@ by Vafa Khalighi.
%Description: The package supports Persian
%typesetting, using fonts provided in the distribution.
%Copyright © 2008-2012 Vafa Khalighi
-%v11.143, 2012/07/25
+%v12 (Final Version), 2012/12/12
%License: LaTeX Project Public License, version 1.3c or higher (your choice)
%Location on CTAN: /macros/xetex/latex/xepersian
%\end{lstlisting}
@@ -320,8 +329,8 @@ by Vafa Khalighi.
%\end{document}
%\end{lstlisting}
%\subsection{{Options of The Package\label{options}}}
-%There are three options:
-%\subsection{\texttt{extrafootnotefeatures} Option}
+%There are four options:
+%\subsubsection{\texttt{extrafootnotefeatures} Option}
%This is just the \texttt{extrafootnotefeatures} Option of \textsf{bidi} package. If you enable this option, you can typeset footnotes in paragraph form or in multi-columns (from two-columns to ten-columns). For more details, please read the manual of \textsf{bidi} package.
%\subsubsection{\texttt{Kashida} Option}
%If you pass \texttt{Kashida} option to the package, you will use Kashida for stretching words for better output quality and getting rid of underfull or overfull \Lcs{hbox} messages.
@@ -1768,7 +1777,7 @@ by Vafa Khalighi.
%\Lcs{harfinumeral}\Largb{\Larga{integer}}\quad\Lcs{adadinumeral}\Largb{\Larga{integer}}\quad\Lcs{tartibinumeral}\Largb{\Larga{integer}}\quad
%\end{BDef}
%\begin{itemize}
-%\item The range of \texttt{harfi} counter is integers between 1 and 32 (number of the Persian alphabets) and \texttt{adadi} and \texttt{harfi} counters, are integers between 0 and 999,999,999.
+%\item The range of \texttt{harfi} counter is integers between 1 and 32 (number of the Persian alphabets) and \texttt{adadi} and \texttt{tartibi} counters, are integers between 0 and 999,999,999.
%\item For \texttt{harfi} counter, if you give an integer bigger than 32 or a negative integer (if you give integer 0, it returns nothing), then you get error and for \texttt{adadi} and \texttt{tartibi} counters, if you give an integer bigger than 999,999,999, then you get an error message.
%\item For \texttt{adadi} and \texttt{tartibi} counters, if you give an integer less than 0 (a negative integer), then \texttt{adadi} and \texttt{tartibi} counters return \textbf{adadi} and \textbf{tartibi} form of the integer 0, respectively.
%\item \Lcs{harfinumeral} returns the \textbf{harfi} form of \Larga{integer}, where $1\leq integer\leq32$ and \Lcs{adadinumeral}, and \Lcs{tartibinumeral} return \textbf{adadi}, and \textbf{tartibi} form of \Larga{integer} respectively, where $0\leq integer\leq 999,999,999$.
@@ -1823,17 +1832,17 @@ by Vafa Khalighi.
%
%
%\subsection{Converting Your Farsi\TeX\ Files To \XePersian\ or Unicode}
-%There is a python program written by Mostafa Vahedi that enables you to convert Farsi\TeX\ files to \XePersian\ or unicode. This program can be found in \textsf{doc} folder with the name \texttt{ftxe-0.11.py}. To convert your Farsi\TeX\ files to \XePersian, put \texttt{ftxe-0.11.py} in the same directory that your Farsi\TeX\ file is, and then open a terminal/command prompt and do the following:
+%There is a python program written by Mostafa Vahedi that enables you to convert Farsi\TeX\ files to \XePersian\ or unicode. This program can be found in \textsf{doc} folder with the name \texttt{ftxe-0.12.py}. To convert your Farsi\TeX\ files to \XePersian, put \texttt{ftxe-0.12.py} in the same directory that your Farsi\TeX\ file is, and then open a terminal/command prompt and do the following:
%
%\begin{BDef}\ttfamily
-%python ftxe-0.11.py file.ftx file.tex
+%python ftxe-0.12.py file.ftx file.tex
%\end{BDef}
%
%This will convert your \texttt{file.ftx} (Farsi\TeX\ file) to \texttt{file.tex} (\XePersian\ file).
%
%The general syntax syntax of using the python script is as follow:
%\begin{BDef}\ttfamily
-%python ftxe-0.11.py [-r] [-s] [-x] [-u] input-filename1 input-filename2
+%python ftxe-0.12.py [-r] [-s] [-x] [-u] input-filename1 input-filename2
%\end{BDef}
%Where
%\begin{description}
@@ -2274,48 +2283,61 @@ by Vafa Khalighi.
\def\appendix{\par\c@section\z@ \c@subsection\z@
\let\sectionname\appendixname
\def\thesection{\@harfi\c@section}}
+
\long\def\@footnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize
+ \insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}}
+
+
+
+
+
\long\def\@RTLfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLtrue\reset@font\footnotesize
+ \insert\footins{%
+ \@RTLtrue%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\persianfont #1\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\unskip\strut\par}}}
+
+
+
+
+
+
+
\long\def\@LTRfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLfalse\reset@font\footnotesize
+ \insert\footins{%
+ \@RTLfalse%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\latinfont #1\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\unskip\strut\par}}}
+
+
+\footdir@temp\footdir@ORG@xepersian@amsart@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@amsart@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@amsart@LTRfootnotetext\@LTRfootnotetext{L}%
+
% \end{macrocode}
% \iffalse
%</amsart-xepersian.def>
@@ -2330,48 +2352,60 @@ by Vafa Khalighi.
\c@chapter\z@ \c@section\z@
\let\chaptername\appendixname
\def\thechapter{\@harfi\c@chapter}}
+
\long\def\@footnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize
+ \insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}}
+
+
+
+
+
\long\def\@RTLfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLtrue\reset@font\footnotesize
+ \insert\footins{%
+ \@RTLtrue%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\persianfont #1\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\unskip\strut\par}}}
+
+
+
+
+
+
+
\long\def\@LTRfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLfalse\reset@font\footnotesize
+ \insert\footins{%
+ \@RTLfalse%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\latinfont #1\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\unskip\strut\par}}}
+
+\footdir@temp\footdir@ORG@xepersian@amsbook@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@amsbook@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@amsbook@LTRfootnotetext\@LTRfootnotetext{L}%
+
% \end{macrocode}
% \iffalse
%</amsbook-xepersian.def>
@@ -3898,49 +3932,70 @@ by Vafa Khalighi.
% \subsection{\textsf{footnote-bidi-xepersian.def}}
% \begin{macrocode}
\ProvidesFile{footnote-bidi-xepersian.def}[2010/07/25 v0.2 footnote macros for xepersian package]
-\long\def\@footnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize
+
+
+
+\long\def\@footnotetext#1{\insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \reset@font\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\strut}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
-\long\def\@RTLfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLtrue\reset@font\footnotesize
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark
+ }%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox}%
+ \color@endgroup}}%
+
+
+
+
+
+\long\def\@RTLfootnotetext#1{\insert\footins{%
+ \@RTLtrue%
+ \reset@font\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\persianfont #1\strut}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
-\long\def\@LTRfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLfalse\reset@font\footnotesize
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark
+ }%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}%
+
+
+
+
+
+\long\def\@LTRfootnotetext#1{\insert\footins{%
+ \@RTLfalse%
+ \reset@font\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\latinfont #1\strut}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark
+ }%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}%
+
+\footdir@temp\footdir@ORG@xepersian@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@LTRfootnotetext\@LTRfootnotetext{L}%
+
+
+
\long\def\@mpfootnotetext#1{%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\if@RTL@footnote\rightfootnoterule\else\leftfootnoterule\fi\fi\fi%
\global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
\unvbox\@mpfootins
\reset@font\footnotesize
@@ -3949,12 +4004,16 @@ by Vafa Khalighi.
\protected@edef\@currentlabel
{\csname p@mpfootnote\endcsname\@thefnmark}%
\color@begingroup
- \bidi@footnotetext@dir{#1}
- \ifnum\c@mpfootnote=1\if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi\fi
\@makefntext{%
\rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox}%
- \color@endgroup}}
+ \color@endgroup}}
+
+
+
+
+
\long\def\@mpRTLfootnotetext#1{%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\rightfootnoterule\fi\fi%
\global\setbox\@mpfootins\vbox{\@RTLtrue%
\unvbox\@mpfootins
\reset@font\footnotesize
@@ -3963,12 +4022,13 @@ by Vafa Khalighi.
\protected@edef\@currentlabel
{\csname p@mpfootnote\endcsname\@thefnmark}%
\color@begingroup
- \bidi@footnotetext@dir{#1}
- \ifnum\c@mpfootnote=1\if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi\fi
\@makefntext{%
- \rule\z@\footnotesep\ignorespaces\persianfont#1\@finalstrut\strutbox}%
- \color@endgroup}}
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}
+
+
\long\def\@mpLTRfootnotetext#1{%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\leftfootnoterule\fi\fi%
\global\setbox\@mpfootins\vbox{\@RTLfalse%
\unvbox\@mpfootins
\reset@font\footnotesize
@@ -3977,10 +4037,8 @@ by Vafa Khalighi.
\protected@edef\@currentlabel
{\csname p@mpfootnote\endcsname\@thefnmark}%
\color@begingroup
- \bidi@footnotetext@dir{#1}
- \ifnum\c@mpfootnote=1\if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi\fi
\@makefntext{%
- \rule\z@\footnotesep\ignorespaces\latinfont#1\@finalstrut\strutbox}%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\@finalstrut\strutbox}%
\color@endgroup}}
% \end{macrocode}
% \iffalse
@@ -4044,7 +4102,7 @@ by Vafa Khalighi.
%\fi
% \subsection{\textsf{imsproc-xepersian.def}}
% \begin{macrocode}
-\ProvidesFile{imsproc-xepersian.def}[2012/05/03 v0.1 implementation of imsproc class for xepersian package]
+\ProvidesFile{imsproc-xepersian.def}[2012/12/12 v0.1 implementation of imsproc class for xepersian package]
\newenvironment{thebibliography}[1]{%
\@bibtitlestyle
\normalfont\bibliofont\labelsep .5em\relax
@@ -4068,62 +4126,79 @@ by Vafa Khalighi.
\if@RTL\raggedleft\else\raggedright\fi
\hyphenpenalty\@M
\footnotesize}
+\def\@idxitem{\par\hangindent \if@RTL-\fi2em}
+\def\subitem{\par\hangindent \if@RTL-\fi2em\hspace*{1em}}
+\def\subsubitem{\par\hangindent \if@RTL-\fi3em\hspace*{2em}}
\renewcommand \thepart {\@tartibi\c@part}
\def\appendix{\par\c@section\z@ \c@subsection\z@
\let\sectionname\appendixname
\def\thesection{\@harfi\c@section}}
-\def\right@footnote{%
+\def\right@footnoterule{%
\hbox to \columnwidth
{\beginR \vbox{\kern-.4\p@
\hrule\@width 5pc\kern11\p@\kern-\footnotesep}\hfil\endR}}
-\def\left@footnote{\kern-.4\p@
+\def\left@footnoterule{\kern-.4\p@
\hrule\@width 5pc\kern11\p@\kern-\footnotesep}
\def\@makefnmark{%
\leavevmode
\raise.9ex\hbox{\fontsize\sf@size\z@\normalfont\@thefnmark}%
}
+
+
+
\long\def\@footnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize
+ \insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}}
+
+
+
+
+
\long\def\@RTLfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLtrue\reset@font\footnotesize
+ \insert\footins{%
+ \@RTLtrue%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\persianfont #1\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\unskip\strut\par}}}
+
+
+
+
+
+
+
\long\def\@LTRfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLfalse\reset@font\footnotesize
+ \insert\footins{%
+ \@RTLfalse%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\latinfont #1\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\unskip\strut\par}}}
+
+\footdir@temp\footdir@ORG@xepersian@imsproc@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@imsproc@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@imsproc@LTRfootnotetext\@LTRfootnotetext{L}%
+
\def\part{\@startsection{part}{0}%
\z@{\linespacing\@plus\linespacing}{.5\linespacing}%
{\normalfont\bfseries\if@RTL\raggedleft\else\raggedright\fi}}
@@ -5426,8 +5501,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \subsection{\textsf{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v11.143}
-\def\xepersiandate{2012/07/25}
+\def\xepersianversion{v12 (Final Version)}
+\def\xepersiandate{2012/12/12}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -6008,7 +6083,7 @@ number is 999,999,999.}%
\@ifclassloaded{memoir}{\PackageError{xepersian}{This feature does not yet work with the memoir class}{}}{%
\renewcommand\printindex{\newpage%
\immediate\closeout\@indexfile
-\immediate\write18{xindy -L persian -C utf8 -M texindy \jobname.idx}
+\immediate\write18{xindy -L persian -C utf8 -M texindy -M page-ranges \jobname.idx}
\@input@{\jobname.ind}}}%
\else
\PackageError{xepersian}{“shell escape” (or “write18”) is not enabled. You need to run “xelatex --shell-escape” on your TeX document for this feature to work}{}
@@ -7493,7 +7568,7 @@ indexblock environment may only appear inside frontpage environment.
وفا خلیقی، مهدی امیدعلی و مصطفی واحدی
-\texttt{vafakhlg@gmail.com\\[5pt]
+\texttt{vafak12@gmail.com\\[5pt]
http://google.com}\\
\end{authorblock}
\end{frontpage}
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
index 5ef51b7bd91..498575899d1 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
@@ -25,7 +25,7 @@
\endpreamble
\postamble
-Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
@@ -99,7 +99,7 @@ by Vafa Khalighi.
\generate{\file{xepersian-persiancal.sty}{\from{\jobname.dtx}{xepersian-persiancal.sty}}}
\endbatchfile
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
index 7770f601b5b..4c8603ecedf 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
@@ -17,7 +17,7 @@
\def\ALGS@name{الگوریتم‌ها}
\def\listalgorithmname{\if@RTL فهرست \ALGS@name\else List of \ALG@name s\fi}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
index 6b64ea83b0c..5e131d72438 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
@@ -16,7 +16,7 @@
\def\algorithmicrequire{\if@RTL\textbf{ورودی:}\else\textbf{Require:}\fi}
\def\algorithmicensure{\if@RTL\textbf{خروجی:}\else\textbf{Ensure:}\fi}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
index d09ae8e6953..88c6b9c3ec2 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
@@ -17,50 +17,52 @@
\def\appendix{\par\c@section\z@ \c@subsection\z@
\let\sectionname\appendixname
\def\thesection{\@harfi\c@section}}
+
\long\def\@footnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize
+ \insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}}
+
\long\def\@RTLfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLtrue\reset@font\footnotesize
+ \insert\footins{%
+ \@RTLtrue%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\persianfont #1\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\unskip\strut\par}}}
+
\long\def\@LTRfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLfalse\reset@font\footnotesize
+ \insert\footins{%
+ \@RTLfalse%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\latinfont #1\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\unskip\strut\par}}}
+
+\footdir@temp\footdir@ORG@xepersian@amsart@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@amsart@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@amsart@LTRfootnotetext\@LTRfootnotetext{L}%
+
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
index baa0291edc9..941fbe0de6c 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
@@ -19,50 +19,52 @@
\c@chapter\z@ \c@section\z@
\let\chaptername\appendixname
\def\thechapter{\@harfi\c@chapter}}
+
\long\def\@footnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize
+ \insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}}
+
\long\def\@RTLfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLtrue\reset@font\footnotesize
+ \insert\footins{%
+ \@RTLtrue%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\persianfont #1\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\unskip\strut\par}}}
+
\long\def\@LTRfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLfalse\reset@font\footnotesize
+ \insert\footins{%
+ \@RTLfalse%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\latinfont #1\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\unskip\strut\par}}}
+
+\footdir@temp\footdir@ORG@xepersian@amsbook@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@amsbook@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@amsbook@LTRfootnotetext\@LTRfootnotetext{L}%
+
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
index 1d4eae1984a..34b3de2e809 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
@@ -19,7 +19,7 @@
\setcounter{subsection}{0}%
\gdef\thesection{\@harfi\c@section}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
index 21e0769e073..8f5d182c92f 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
@@ -19,7 +19,7 @@
\setcounter{subsection}{0}%
\gdef\thesection{\@harfi\c@section}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
index de7f0378cae..15e6f33a3b5 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
@@ -19,7 +19,7 @@
\setcounter{subsection}{0}%
\gdef\thesection{\@harfi\c@section}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
index c07b506fd67..48d705787b7 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
@@ -19,7 +19,7 @@
\setcounter{subsection}{0}%
\gdef\thesection{\@harfi\c@section}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
index ecdfcbb4192..c918d9826af 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
@@ -33,7 +33,7 @@
}%
}%
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def
index b2c847c287f..ebf74a66c5b 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def
@@ -14,7 +14,7 @@
%%
\ProvidesFile{bidicode-xepersian.def}[2010/07/25 v0.0 Persian captions for bidicode package]
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
index 364e64dccbd..be273b94edd 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
@@ -15,7 +15,7 @@
\ProvidesFile{bidimoderncv-xepersian.def}[2010/07/25 v0.1 adaptations for bidimoderncv class]
\def\refname{\if@RTL تألیفات\else Publications\fi}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
index bc4472238c2..616c6fb6397 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
@@ -82,7 +82,7 @@
\let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command
}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
index 8c4d6b8a510..67d154a89ce 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
@@ -24,7 +24,7 @@
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@harfi\c@chapter}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
index 5b537f88b77..c44a9716390 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
@@ -24,7 +24,7 @@
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@harfi\c@chapter}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
index 2c806cdd1dc..0c85bf4379c 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
@@ -25,7 +25,7 @@
\gdef\thechapter{\@harfi\c@chapter}
}%end appendix
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
index 77c0e74cf92..52f9f21ae13 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
@@ -21,7 +21,7 @@
\gdef\thechapter{\@harfi\c@chapter}
}%end appendix
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
index be7a342d84e..c979793e1e0 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
@@ -53,7 +53,7 @@
\ignorespaces
}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/color-localise.def b/Master/texmf-dist/tex/xelatex/xepersian/color-localise.def
index db5db4040bb..88f9376171d 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/color-localise.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/color-localise.def
@@ -22,7 +22,7 @@
\تعریف‌رنگ{بنفش}{cmyk}{0,1,0,0}
\تعریف‌رنگ{زرد}{cmyk}{0,0,1,0}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def b/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
index ea4fafb6c1c..9080382ddad 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
@@ -957,7 +957,7 @@
\eqcommand{@فر}{z@}
\eqcommand{@فرفاصله}{z@skip}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
index fbb2bdd9e97..41a5ff4f15d 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
@@ -73,7 +73,7 @@
\eqcommand{تاریخ‌گونه‌زی‌پرشین}{xepersiandate}
\eqcommand{زی‌تک}{XeTeX}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/empheq-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/empheq-xepersian.def
index c1582a304a3..d364299c2e9 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/empheq-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/empheq-xepersian.def
@@ -16,7 +16,7 @@
\def\tagform@#1{\maketag@@@{\if@Latin\else\beginR\fi(\ignorespaces#1\unskip\@@italiccorr)\if@Latin\else\endR\fi}}
\def\text#1{\@@text{\if@Latin\else\beginR\fi#1\if@Latin\else\endR\fi}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
index 8a33d58166e..07429b1780b 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
@@ -30,7 +30,7 @@
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\@tempa}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def b/Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def
index c90483dc6f4..584837456d4 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def
@@ -56,7 +56,7 @@
\eqenvironment{لیست‌بدوی}{trivlist}
\eqenvironment{شعر}{verse}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def
index f56e7beb99a..3f2a34e59b9 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def
@@ -24,7 +24,7 @@
\eqenvironment{شعرسنتی}{traditionalpoem}
\eqenvironment{شعرسنتی*}{traditionalpoem*}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
index e995ba5b95d..d890fa74dc4 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
@@ -19,7 +19,7 @@
\setcounter{subsection}{0}%
\gdef\thesection{\@harfi\c@section}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
index 1595b8c9ab5..4f0348b10dc 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
@@ -25,7 +25,7 @@
\gdef\thechapter{\@harfi\c@chapter}
}%end appendix
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
index 2577d022646..f7f9d0ba9fe 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
@@ -17,7 +17,7 @@
\renewcommand{\LTRfoottextfont}{\footnotesize\latinfont}
\renewcommand{\RTLfoottextfont}{\footnotesize\persianfont}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
index 98b58cc9102..4cdc6842024 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
@@ -20,7 +20,7 @@
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@harfi\c@chapter}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
index 9bf095cc41f..ce387c7c9bc 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
@@ -42,7 +42,7 @@
\setcounter{displayedframe}{0}%
\let\firstmark\botmark}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def
index 890ddf58395..89f0655cfaf 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def
@@ -13,49 +13,58 @@
%%
%%
\ProvidesFile{footnote-bidi-xepersian.def}[2010/07/25 v0.2 footnote macros for xepersian package]
-\long\def\@footnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize
+
+\long\def\@footnotetext#1{\insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \reset@font\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\strut}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
-\long\def\@RTLfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLtrue\reset@font\footnotesize
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark
+ }%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox}%
+ \color@endgroup}}%
+
+\long\def\@RTLfootnotetext#1{\insert\footins{%
+ \@RTLtrue%
+ \reset@font\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\persianfont #1\strut}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
-\long\def\@LTRfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLfalse\reset@font\footnotesize
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark
+ }%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}%
+
+\long\def\@LTRfootnotetext#1{\insert\footins{%
+ \@RTLfalse%
+ \reset@font\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\latinfont #1\strut}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark
+ }%
+ \color@begingroup
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\@finalstrut\strutbox}%
+ \color@endgroup}}%
+
+\footdir@temp\footdir@ORG@xepersian@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@LTRfootnotetext\@LTRfootnotetext{L}%
+
\long\def\@mpfootnotetext#1{%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\if@RTL@footnote\rightfootnoterule\else\leftfootnoterule\fi\fi\fi%
\global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
\unvbox\@mpfootins
\reset@font\footnotesize
@@ -64,12 +73,12 @@
\protected@edef\@currentlabel
{\csname p@mpfootnote\endcsname\@thefnmark}%
\color@begingroup
- \bidi@footnotetext@dir{#1}
- \ifnum\c@mpfootnote=1\if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi\fi
\@makefntext{%
\rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox}%
\color@endgroup}}
+
\long\def\@mpRTLfootnotetext#1{%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\rightfootnoterule\fi\fi%
\global\setbox\@mpfootins\vbox{\@RTLtrue%
\unvbox\@mpfootins
\reset@font\footnotesize
@@ -78,12 +87,12 @@
\protected@edef\@currentlabel
{\csname p@mpfootnote\endcsname\@thefnmark}%
\color@begingroup
- \bidi@footnotetext@dir{#1}
- \ifnum\c@mpfootnote=1\if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi\fi
\@makefntext{%
- \rule\z@\footnotesep\ignorespaces\persianfont#1\@finalstrut\strutbox}%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\@finalstrut\strutbox}%
\color@endgroup}}
+
\long\def\@mpLTRfootnotetext#1{%
+ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\leftfootnoterule\fi\fi%
\global\setbox\@mpfootins\vbox{\@RTLfalse%
\unvbox\@mpfootins
\reset@font\footnotesize
@@ -92,13 +101,11 @@
\protected@edef\@currentlabel
{\csname p@mpfootnote\endcsname\@thefnmark}%
\color@begingroup
- \bidi@footnotetext@dir{#1}
- \ifnum\c@mpfootnote=1\if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi\fi
\@makefntext{%
- \rule\z@\footnotesep\ignorespaces\latinfont#1\@finalstrut\strutbox}%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\@finalstrut\strutbox}%
\color@endgroup}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def
index 725cd3765d1..a04c5739108 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def
@@ -25,7 +25,7 @@
\MakeFramed{\advance\hsize-20pt \FrameRestore}}%
{\endMakeFramed}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
index 5350f9d273a..d7607054c22 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
@@ -40,7 +40,7 @@
}
}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
index ab978b9b94e..0f6d6ed1afd 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
@@ -12,7 +12,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{imsproc-xepersian.def}[2012/05/03 v0.1 implementation of imsproc class for xepersian package]
+\ProvidesFile{imsproc-xepersian.def}[2012/12/12 v0.1 implementation of imsproc class for xepersian package]
\newenvironment{thebibliography}[1]{%
\@bibtitlestyle
\normalfont\bibliofont\labelsep .5em\relax
@@ -36,62 +36,67 @@
\if@RTL\raggedleft\else\raggedright\fi
\hyphenpenalty\@M
\footnotesize}
+\def\@idxitem{\par\hangindent \if@RTL-\fi2em}
+\def\subitem{\par\hangindent \if@RTL-\fi2em\hspace*{1em}}
+\def\subsubitem{\par\hangindent \if@RTL-\fi3em\hspace*{2em}}
\renewcommand \thepart {\@tartibi\c@part}
\def\appendix{\par\c@section\z@ \c@subsection\z@
\let\sectionname\appendixname
\def\thesection{\@harfi\c@section}}
-\def\right@footnote{%
+\def\right@footnoterule{%
\hbox to \columnwidth
{\beginR \vbox{\kern-.4\p@
\hrule\@width 5pc\kern11\p@\kern-\footnotesep}\hfil\endR}}
-\def\left@footnote{\kern-.4\p@
+\def\left@footnoterule{\kern-.4\p@
\hrule\@width 5pc\kern11\p@\kern-\footnotesep}
\def\@makefnmark{%
\leavevmode
\raise.9ex\hbox{\fontsize\sf@size\z@\normalfont\@thefnmark}%
}
+
\long\def\@footnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize
+ \insert\footins{%
+ \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\unskip\strut\par}}}
+
\long\def\@RTLfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLtrue\reset@font\footnotesize
+ \insert\footins{%
+ \@RTLtrue%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\persianfont #1\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\persianfont #1\unskip\strut\par}}}
+
\long\def\@LTRfootnotetext#1{%
- \begingroup
- \setbox\footins
- \vbox{\@RTLfalse\reset@font\footnotesize
+ \insert\footins{%
+ \@RTLfalse%
+ \normalfont\footnotesize
\interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore \parindent\normalparindent \sloppy
- \bidi@footnotetext@dir{#1}%
- \protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces\latinfont #1\unskip\strut\par}}%
- \bidi@footnotetext@after
- \insert\footins{\unvbox\footins}%
- \endgroup}
+ \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
+ \floatingpenalty\@MM \hsize\columnwidth
+ \@parboxrestore \parindent\normalparindent \sloppy
+ \protected@edef\@currentlabel{%
+ \csname p@footnote\endcsname\@thefnmark}%
+ \@makefntext{%
+ \rule\z@\footnotesep\ignorespaces\latinfont #1\unskip\strut\par}}}
+
+\footdir@temp\footdir@ORG@xepersian@imsproc@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}%
+\footdir@temp\footdir@ORG@xepersian@imsproc@RTLfootnotetext\@RTLfootnotetext{R}%
+\footdir@temp\footdir@ORG@xepersian@imsproc@LTRfootnotetext\@LTRfootnotetext{L}%
+
\def\part{\@startsection{part}{0}%
\z@{\linespacing\@plus\linespacing}{.5\linespacing}%
{\normalfont\bfseries\if@RTL\raggedleft\else\raggedright\fi}}
@@ -138,7 +143,7 @@
\@cleartopmattertags
}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
index 0d54352ad5e..6dd59aa5679 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
@@ -57,7 +57,7 @@
\newcommand{\KashidaOff}{\XeTeXinterchartokenstate=0}
\KashidaOn
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
index 094513704ea..3dab8f9280f 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
@@ -16,7 +16,7 @@
\def\lstlistingname{\if@RT برنامهٔ\else Listing\fi}
\def\lstlistlistingname{\if@RTL فهرست برنامه‌ها\else Listings\fi}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def
index f4aa525b3be..8b3877f30d8 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def
@@ -40,7 +40,7 @@
\fi%
}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
index 0c1b7400e87..73c4f5158ef 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
@@ -93,7 +93,7 @@
\aliasfontfeatureoption{Script}{Parsi}{پارسی}
\aliasfontfeatureoption{Script}{Latin}{لاتین}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
index 11b02e05ce3..1c9a9c3f667 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
@@ -25,7 +25,7 @@
\gdef\thechapter{\@harfi\c@chapter}%
\anappendixtrue}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/messages-localise.def b/Master/texmf-dist/tex/xelatex/xepersian/messages-localise.def
index 19710006526..322957dbab9 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/messages-localise.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/messages-localise.def
@@ -14,7 +14,7 @@
%%
\آماده‌سازی‌پرونده{messages-localise.def}[2011/03/01 v0.1 localising LaTeX2e messages]
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
index b7b7147c62c..c0d6eca117e 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
@@ -23,7 +23,7 @@
\def\slftitle{\if@RTL اشکال\else Figures\fi}%
\def\slttitle{\if@RTL جداول\else Tables\fi}%
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/misc-localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/misc-localise-xepersian.def
index 48790f285b9..011d372a3f9 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/misc-localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/misc-localise-xepersian.def
@@ -381,7 +381,7 @@
\ExplSyntaxOff
\expandafter\let\csname endهمانطورکه‌هست*\endcsname =\endهمانطورکه‌هست
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
index 42226b2879c..e4520e21c99 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
@@ -228,7 +228,7 @@
\newcommand\NAT@@Latin@@citetp{}
\def\NAT@@Latin@@citetp[#1]{\@ifnextchar[{\@Latincitex[#1]}{\@Latincitex[][#1]}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
index 599ff65883a..43ecbd37007 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
@@ -161,7 +161,7 @@
\معادل@کلید{Grot}{واحد}{units}
}{}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
index 7ca86a4b1f7..89cf25ee8a1 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
@@ -20,7 +20,7 @@
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@harfi\c@chapter}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
index d82f3f855a5..ce4e236c304 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
@@ -20,7 +20,7 @@
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@harfi\c@chapter}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
index 4c35d20cc0f..9e1ebdab9e9 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
@@ -21,7 +21,7 @@
\gdef\thechapter{\@harfi\c@chapter}
}%end appendix
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
index 0d0df23410d..dd6b431ac0d 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
@@ -21,7 +21,7 @@
\gdef\thechapter{\@harfi\c@chapter}
}%end appendix
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
index f6b2e071c37..5170f5ba2fa 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
@@ -42,7 +42,7 @@
\@@maybeautodot
}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
index b976dbcc4cd..c80365a6ba9 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
@@ -47,7 +47,7 @@
\@@maybeautodot
}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
index b161378d1c5..25798e488a5 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
@@ -43,7 +43,7 @@
\@@maybeautodot
}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
index 78ceebacf1f..e7a7a2bae24 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
@@ -33,7 +33,7 @@
\setcounter{C@CurrentNode}{0}
}%
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
index 209302d0f61..a9c29625bd7 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
@@ -24,7 +24,7 @@
\renewcommand*{\cfttabname}{\if@RTL جدول\else table\fi}
\renewcommand*{\cftsubtabname}{\if@RTL زیرجدول\else subtable\fi}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
index 1230028ed76..bae815c2036 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
@@ -882,7 +882,7 @@ indexblock environment may only appear inside frontpage environment.
{\noindent #2}\\
}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
index d6664cb0ef7..eca7da9bb04 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
@@ -219,7 +219,7 @@
\everymath\expandafter{\the\everymath\SetMathsDigits}
\g@addto@macro\document{\everydisplay\expandafter{\the\everydisplay\SetMathsDigits}}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
index 0946e7827b8..3d4a70d2d84 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
@@ -150,7 +150,7 @@
\questiontitle{سؤال \thequestion:}
\ProcessOptions
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
index e9891246101..0d25cee5c9c 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
@@ -184,7 +184,7 @@
دی\or بهمن\or
اسفند\fi}
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index 24f1aca80d3..02718c10f02 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -13,8 +13,8 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v11.143}
-\def\xepersiandate{2012/07/25}
+\def\xepersianversion{v12 (Final Version)}
+\def\xepersiandate{2012/12/12}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -595,7 +595,7 @@ number is 999,999,999.}%
\@ifclassloaded{memoir}{\PackageError{xepersian}{This feature does not yet work with the memoir class}{}}{%
\renewcommand\printindex{\newpage%
\immediate\closeout\@indexfile
-\immediate\write18{xindy -L persian -C utf8 -M texindy \jobname.idx}
+\immediate\write18{xindy -L persian -C utf8 -M texindy -M page-ranges \jobname.idx}
\@input@{\jobname.ind}}}%
\else
\PackageError{xepersian}{“shell escape” (or “write18”) is not enabled. You need to run “xelatex --shell-escape” on your TeX document for this feature to work}{}
@@ -603,7 +603,7 @@ number is 999,999,999.}%
\ExecuteOptions{localise}
\ProcessOptions
%%
-%% Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafak12@gmail.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