diff options
author | Karl Berry <karl@freefriends.org> | 2010-01-11 18:47:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-01-11 18:47:10 +0000 |
commit | 3a7e27adc553f5e0ccf8206fff4e757bf3cdf062 (patch) | |
tree | 75c7259adef2093a5209db323b3bbecf67dc1709 /Master/texmf-dist/tex | |
parent | b2653703ac55bf05f550a80ffa1fe05c5fe8bd47 (diff) |
xepersian update (6jan10)
git-svn-id: svn://tug.org/texlive/trunk@16675 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
47 files changed, 1243 insertions, 1513 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def index f1bcebdd26d..5cd7b3e37e1 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def @@ -1,22 +1,18 @@ %% %% This is file `algorithm-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `algorithm-xepersian.def') %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{algorithm-xepersian.def}[2010/03/01 v0.2 adaptations for algorithm package] \def\ALG@name{\if@RTL الگوریتم\else Algorithm\fi} \def\ALGS@name{الگوریتمها} \def\listalgorithmname{\if@RTL لیست \ALGS@name\else List of \ALG@name s\fi} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 3a73b6afd02..b4976b15573 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def @@ -1,21 +1,17 @@ %% %% This is file `algorithmic-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `algorithmic-xepersian.def') %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{algorithmic-xepersian.def}[2010/03/01 v0.2 adaptations for algorithmic package] \def\algorithmicrequire{\if@RTL\textbf{ورودی:}\else\textbf{Require:}\fi} \def\algorithmicensure{\if@RTL\textbf{خروجی:}\else\textbf{Ensure:}\fi} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 9c741464de5..8cf59edcf0c 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def @@ -1,24 +1,61 @@ %% %% This is file `amsart-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `amsart-xepersian.def') %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{amsart-xepersian.def}[2010/03/01 v0.2 adaptations for amsart class] \renewcommand \thepart {\@tartibi\c@part} -\renewcommand\appendix{\par - \setcounter{section}{0}% - \setcounter{subsection}{0}% - \gdef\thesection{\@harfi\c@section}} +\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 + \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} +\long\def\@RTLfootnotetext#1{% + \begingroup + \setbox\footins + \vbox{\@RTLtrue\reset@font\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} +\long\def\@LTRfootnotetext#1{% + \begingroup + \setbox\footins + \vbox{\@RTLfalse\reset@font\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} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 04376bfd4f8..d08afdfbb3d 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def @@ -1,27 +1,63 @@ %% %% This is file `amsbook-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `amsbook-xepersian.def') %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{amsbook-xepersian.def}[2010/03/01 v0.3 adaptations for amsbook class] \def\frontmatter{\cleardoublepage\pagenumbering{harfi}} \renewcommand \thepart {\@tartibi\c@part} -\renewcommand\appendix{\par - \setcounter{chapter}{0}% - \setcounter{section}{0}% - \gdef\@chapapp{\appendixname}% - \gdef\thechapter{\@harfi\c@chapter} -}%end appendix -%% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +\def\appendix{\par + \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 + \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} +\long\def\@RTLfootnotetext#1{% + \begingroup + \setbox\footins + \vbox{\@RTLtrue\reset@font\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} +\long\def\@LTRfootnotetext#1{% + \begingroup + \setbox\footins + \vbox{\@RTLfalse\reset@font\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} +%% +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 afc406ba099..61e20ac0b40 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def @@ -1,24 +1,21 @@ %% %% This is file `article-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `article-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{article-xepersian.def}[2010/03/01 v0.1 adaptations for standard article class] \renewcommand \thepart {\@tartibi\c@part} \renewcommand\appendix{\par \setcounter{section}{0}% \setcounter{subsection}{0}% \gdef\thesection{\@harfi\c@section}} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 1b7b9c5a011..566712095fd 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def @@ -1,20 +1,17 @@ %% %% This is file `backref-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `backref-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{backref-xepersian.def}[2010/03/01 v0.1 adaptations for backref package] \def\backrefpagesname{\if@RTL صفحات\else pages\fi} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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/bidibeamer-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidibeamer-xepersian.def deleted file mode 100644 index 86503d0d7ea..00000000000 --- a/Master/texmf-dist/tex/xelatex/xepersian/bidibeamer-xepersian.def +++ /dev/null @@ -1,45 +0,0 @@ -%% -%% This is file `bidibeamer-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `bidibeamer-xepersian.def') -%% -%% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi -%% -%% License information appended. -%% -%% -\def\familydefault{\rmdefault} -\def\latin{\bgroup\LatinAlphs\par\raggedright\@RTLfalse\@RTL@footnotefalse\let\normalfont\latinfont\latinfont} -\def\endlatin{\par\egroup} -\def\persian{\bgroup\PersianAlphs\par\raggedleft\@RTLtrue\@RTL@footnotetrue\let\normalfont\persianfont\persianfont} -\def\endpersian{\par\egroup} -\def\biditheoremname{قضیه} -\def\bidicorollaryname{نتیجه} -\def\bidifactname{حقیقت} -\def\bidilemmaname{لم} -\def\bidiproblemname{مسئله} -\def\bidisolutionname{پاسخ} -\def\bididefinitionname{تعریف} -\def\bididefinitionsname{تعریفها} -\def\bidiexamplename{مثال} -\def\bidiexamplesname{مثالها} -\def\bidiproofname{اثبات} -%% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> -%% -%% Distributable under the LaTeX Project Public License, -%% version 1.3c or higher (your choice). The latest version of -%% this license is at: http://www.latex-project.org/lppl.txt -%% -%% This work is "maintained" (as per LPPL maintenance status) -%% by Vafa Khalighi. -%% -%% -%% -%% -%% -%% End of file `bidibeamer-xepersian.def'. diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def new file mode 100644 index 00000000000..d5bd5ad8a7e --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def @@ -0,0 +1,28 @@ +%% +%% This is file `bidicode-xepersian.def', + +%% +%% __________________________________ +%% Copyright © 2008-2010 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesFile{bidicode-xepersian.def}[2010/03/01 v0.1 Persian captions for bidicode package] +\lst@UserCommand\lstlistlistingname{فهرست مثالها} % \lstlistoflistings +\lst@UserCommand\lstlistingname{مثال} +%% +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> +%% +%% Distributable under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) +%% by Vafa Khalighi. +%% +%% +%% +%% +%% +%% End of file `bidicode-xepersian.def'. diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def deleted file mode 100644 index 38e65837ca3..00000000000 --- a/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def +++ /dev/null @@ -1,30 +0,0 @@ -%% -%% This is file `bidimoderncv-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `bidimoderncv-xepersian.def') -%% -%% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi -%% -%% License information appended. -%% -%% -\def\refname{تألیفات} -%% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> -%% -%% Distributable under the LaTeX Project Public License, -%% version 1.3c or higher (your choice). The latest version of -%% this license is at: http://www.latex-project.org/lppl.txt -%% -%% This work is "maintained" (as per LPPL maintenance status) -%% by Vafa Khalighi. -%% -%% -%% -%% -%% -%% End of file `bidimoderncv-xepersian.def'. diff --git a/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def index b555567e5ac..e9f5e8a0549 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def @@ -1,17 +1,14 @@ %% %% This is file `book-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `book-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{book-xepersian.def}[2010/03/01 v0.1 adaptations for standard book class] \renewcommand\frontmatter{% \cleardoublepage \@mainmatterfalse @@ -28,7 +25,7 @@ \gdef\thechapter{\@harfi\c@chapter} }%end appendix %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 ff5a679666f..b48318f1d72 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def @@ -1,17 +1,14 @@ %% %% This is file `bookest-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `bookest-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{bookest-xepersian.def}[2010/03/01 v0.1 adaptations for bookest class] \renewcommand \thepart {\@tartibi\c@part} \renewcommand\appendix{\par \setcounter{chapter}{0}% @@ -20,7 +17,7 @@ \gdef\thechapter{\@harfi\c@chapter} }%end appendix %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 new file mode 100644 index 00000000000..0c118b3d91f --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def @@ -0,0 +1,65 @@ +%% +%% This is file `breqn-xepersian.def', + +%% +%% __________________________________ +%% Copyright © 2008-2010 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesFile{breqn-xepersian.def}[2010/03/01 v0.1 adaptations for breqn package] +\def\@dmath[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi% + \everydisplay\expandafter{\the\everydisplay \display@setup}% + \if@noskipsec \leavevmode \fi + \if@inlabel \leavevmode \global\@inlabelfalse \fi + \if\eq@group\else\eq@prelim\fi + \setkeys{breqn}{#1}% + \the\eqstyle + \eq@setnumber + \begingroup + \eq@setup@a + \eq@startup +} +\def\@dgroup[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi% + \let\eq@group\@True \global\let\eq@GRP@first@dmath\@True + \global\GRP@queue\@emptytoks \global\setbox\GRP@box\box\voidb@x + \global\let\GRP@label\@empty + \global\grp@wdL\z@\global\grp@wdR\z@\global\grp@wdT\z@ + \global\grp@linewidth\z@\global\grp@wdNum\z@ + \global\let\grp@eqs@numbered\@False + \global\let\grp@aligned\@True + \global\let\grp@shiftnumber\@False + \eq@prelim + \setkeys{breqn}{#1}% + \if\grp@hasNumber \grp@setnumber \fi +} +\def\@dseries[#1]{\if@RTL\@RTLfalse\addfontfeatures{Mapping=farsidigits}\fi% + \let\display@setup\dseries@display@setup + % Question: should this be the default for dseries??? + \global\eq@wdCond\z@ + \@dmath[layout={M},#1]% + \mathsurround\z@\@@math \penalty\@Mi + \let\endmath\ends@math + \def\premath{% + \ifdim\lastskip<.3em \unskip + \else\ifnum\lastpenalty<\@M \dquad\fi\fi +}% + \def\postmath{\unpenalty\eq@addpunct \penalty\intermath@penalty \dquad \@ignoretrue}% +\ignorespaces +} +%% +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> +%% +%% Distributable under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) +%% by Vafa Khalighi. +%% +%% +%% +%% +%% +%% End of file `breqn-xepersian.def'. diff --git a/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def b/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def index 2b3bf59a5e4..82a8ddf5da2 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def @@ -1,831 +1,484 @@ %% %% This is file `commands-ltx.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `commands-ltx.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% -\eqcommand[]{\abovedisplayshortskip} -\eqcommand[]{\abovedisplayskip} -\eqcommand[]{\abstractname} -\eqcommand[]{\acute} -\eqcommand[]{\addcontentsline} -\eqcommand[]{\address} -\eqcommand[]{\addtocontents} -\eqcommand[]{\addtocounter} -\eqcommand[]{\addtolength} -\eqcommand[]{\addvspace} -\eqcommand[]{\aleph} -\eqcommand[]{\allowdisplaybreaks} -\eqcommand[]{\Alph} -\eqcommand[]{\alph} -\eqcommand[]{\alpha} -\eqcommand[]{\alsoname} -\eqcommand[]{\amalg} -\eqcommand[]{\and} -\eqcommand[]{\angle} -\eqcommand[]{\appendixname} -\eqcommand[]{\approx} -\eqcommand[]{\arabic} -\eqcommand[]{\arccos} -\eqcommand[]{\arcsin} -\eqcommand[]{\arctan} -\eqcommand[]{\arg} -\eqcommand[]{\arraycolsep} -\eqcommand[]{\arrayrulewidth} -\eqcommand[]{\arraystretch} -\eqcommand[]{\ast} -\eqcommand[]{\asymp} -\eqcommand[]{\AtBeginDocument} -\eqcommand[]{\AtEndDocument} -\eqcommand[]{\AtEndOfClass} -\eqcommand[]{\AtEndOfPackage} -\eqcommand[]{\author} -\eqcommand[]{\backmatter} -\eqcommand[]{\backslash} -\eqcommand[]{\bar} -\eqcommand[]{\baselineskip} -\eqcommand[]{\baselinestretch} -\eqcommand[]{\begin} -\eqcommand[]{\belowdisplayshortskip} -\eqcommand[]{\belowdisplayskip} -\eqcommand[]{\beta} -\eqcommand[]{\bfdefault} -\eqcommand[]{\bfseries} -\eqcommand[]{\bibitem} -\eqcommand[]{\bibliography} -\eqcommand[]{\bibliographystyle} -\eqcommand[]{\bibname} -\eqcommand[]{\big} -\eqcommand[]{\Big} -\eqcommand[]{\bigcap} -\eqcommand[]{\bigcirc} -\eqcommand[]{\bigcup} -\eqcommand[]{\bigg} -\eqcommand[]{\Bigg} -\eqcommand[]{\bigodot} -\eqcommand[]{\bigoplus} -\eqcommand[]{\bigotimes} -\eqcommand[]{\bigskip} -\eqcommand[]{\bigskipamount} -\eqcommand[]{\bigsqcup} -\eqcommand[]{\bigtriangledown} -\eqcommand[]{\bigtriangleup} -\eqcommand[]{\biguplus} -\eqcommand[]{\bigvee} -\eqcommand[]{\bigwedge} -\eqcommand[]{\binom} -\eqcommand[]{\bmod} -\eqcommand[]{\boldmath} -\eqcommand[]{\boldsymbol} -\eqcommand[]{\bot} -\eqcommand[]{\botfigrule} -\eqcommand[]{\bottomfraction} -\eqcommand[]{\bowtie} -\eqcommand[]{\Box} -\eqcommand[]{\boxed} -\eqcommand[]{\breve} -\eqcommand[]{\bullet} -\eqcommand[]{\cap} -\eqcommand[]{\caption} -\eqcommand[]{\cc} -\eqcommand[]{\ccname} -\eqcommand[]{\cdot} -\eqcommand[]{\cdots} -\eqcommand[]{\centering} -\eqcommand[]{\centerline} -\eqcommand[]{\cfrac} -\eqcommand[]{\chapter} -\eqcommand[]{\chapter*} -\eqcommand[]{\chaptername} -\eqcommand[]{\check} -\eqcommand[]{\CheckCommand} -\eqcommand[]{\chi} -\eqcommand[]{\circ} -\eqcommand[]{\circle} -\eqcommand[]{\circle*} -\eqcommand[]{\cite} -\eqcommand[]{\citep} -\eqcommand[]{\citet} -\eqcommand[]{\ClassError} -\eqcommand[]{\ClassInfo} -\eqcommand[]{\ClassWarning} -\eqcommand[]{\ClassWarningNoLine} -\eqcommand[]{\cleardoublepage} -\eqcommand[]{\clearpage} -\eqcommand[]{\cline} -\eqcommand[]{\closing} -\eqcommand[]{\clubsuit} -\eqcommand[]{\color} -\eqcommand[]{\colorbox} -\eqcommand[]{\columnsep} -\eqcommand[]{\columnseprule} -\eqcommand[]{\cong} -\eqcommand[]{\contentsline} -\eqcommand[]{\contentsname} -\eqcommand[]{\coprod} -\eqcommand[]{\copyright} -\eqcommand[]{\cos} -\eqcommand[]{\cosh} -\eqcommand[]{\cot} -\eqcommand[]{\coth} -\eqcommand[]{\csc} -\eqcommand[]{\cup} -\eqcommand[]{\CurrentOption} -\eqcommand[]{\dag} -\eqcommand[]{\dagger} -\eqcommand[]{\dashbox} -\eqcommand[]{\dashv} -\eqcommand[]{\date} -\eqcommand[]{\dbinom} -\eqcommand[]{\dblfigrule} -\eqcommand[]{\dblfloatpagefraction} -\eqcommand[]{\dblfloatsep} -\eqcommand[]{\dbltextfloatsep} -\eqcommand[]{\dbltopfraction} -\eqcommand[]{\ddag} -\eqcommand[]{\ddagger} -\eqcommand[]{\dddot} -\eqcommand[]{\ddddot} -\eqcommand[]{\ddot} -\eqcommand[]{\ddots} -\eqcommand[]{\DeclareGraphicsExtensions} -\eqcommand[]{\DeclareGraphicsRule} -\eqcommand[]{\DeclareOption} -\eqcommand[]{\DeclareOption*} -\eqcommand[]{\DeclareRobustCommand} -\eqcommand[]{\DeclareRobustCommand*} -\eqcommand[]{\definecolor} -\eqcommand[]{\deg} -\eqcommand[]{\DeleteShortVerb} -\eqcommand[]{\Delta} -\eqcommand[]{\delta} -\eqcommand[]{\depth} -\eqcommand[]{\det} -\eqcommand[]{\dfrac} -\eqcommand[]{\Diamond} -\eqcommand[]{\diamond} -\eqcommand[]{\diamondsuit} -\eqcommand[]{\dim} -\eqcommand[]{\discretionary} -\eqcommand[]{\displaybreak} -\eqcommand[]{\displaystyle} -\eqcommand[]{\div} -\eqcommand[]{\documentclass} -\eqcommand[]{\dot} -\eqcommand[]{\doteq} -\eqcommand[]{\dotfill} -\eqcommand[]{\dots} -\eqcommand[]{\dotsb} -\eqcommand[]{\dotsc} -\eqcommand[]{\dotsi} -\eqcommand[]{\dotsm} -\eqcommand[]{\doublebox} -\eqcommand[]{\doublerulesep} -\eqcommand[]{\Downarrow} -\eqcommand[]{\downarrow} -\eqcommand[]{\ell} -\eqcommand[]{\em} -\eqcommand[]{\emph} -\eqcommand[]{\emptyset} -\eqcommand[]{\encl} -\eqcommand[]{\enclname} -\eqcommand[]{\end} -\eqcommand[]{\endfirsthead} -\eqcommand[]{\endfoot} -\eqcommand[]{\endhead} -\eqcommand[]{\endlastfoot} -\eqcommand[]{\enlargethispage} -\eqcommand[]{\enlargethispage*} -\eqcommand[]{\ensuremath} -\eqcommand[]{\epsilon} -\eqcommand[]{\eqref} -\eqcommand[]{\equiv} -\eqcommand[]{\eta} -\eqcommand[]{\euro} -\eqcommand[]{\EUR} -\eqcommand[]{\evensidemargin} -\eqcommand[]{\ExecuteOptions} -\eqcommand[]{\exists} -\eqcommand[]{\exp} -\eqcommand[]{\extracolsep} -\eqcommand[]{\fancypage} -\eqcommand[]{\fbox} -\eqcommand[]{\fboxrule} -\eqcommand[]{\fboxsep} -\eqcommand[]{\fcolorbox} -\eqcommand[]{\figurename} -\eqcommand[]{\fill} -\eqcommand[]{\flat} -\eqcommand[]{\floatpagefraction} -\eqcommand[]{\floatsep} -\eqcommand[]{\flushbottom} -\eqcommand[]{\fnsymbol} -\eqcommand[]{\fontfamily} -\eqcommand[]{\fontseries} -\eqcommand[]{\fontshape} -\eqcommand[]{\fontsize} -\eqcommand[]{\LTRfootnote} -\eqcommand[]{\footnote} -\eqcommand[]{\footnotemark} -\eqcommand[]{\footnoterule} -\eqcommand[]{\footnotesep} -\eqcommand[]{\footnotesize} -\eqcommand[]{\footnotetext} -\eqcommand[]{\footskip} -\eqcommand[]{\forall} -\eqcommand[]{\frac} -\eqcommand[]{\frame} -\eqcommand[]{\framebox} -\eqcommand[]{\frenchspacing} -\eqcommand[]{\frontmatter} -\eqcommand[]{\frown} -\eqcommand[]{\fussy} -\eqcommand[]{\Gamma} -\eqcommand[]{\gamma} -\eqcommand[]{\gcd} -\eqcommand[]{\ge} -\eqcommand[]{\genfrac} -\eqcommand[]{\geq} -\eqcommand[]{\gets} -\eqcommand[]{\gg} -\eqcommand[]{\glossary} -\eqcommand[]{\glossaryentry} -\eqcommand[]{\graphpaper} -\eqcommand[]{\grave} -\eqcommand[]{\guillemotleft} -\eqcommand[]{\guillemotright} -\eqcommand[]{\guilsinglleft} -\eqcommand[]{\guilsinglright} -\eqcommand[]{\hat} -\eqcommand[]{\hbar} -\eqcommand[]{\headheight} -\eqcommand[]{\headsep} -\eqcommand[]{\headtoname} -\eqcommand[]{\heartsuit} -\eqcommand[]{\height} -\eqcommand[]{\hfill} -\eqcommand[]{\hline} -\eqcommand[]{\hoffset} -\eqcommand[]{\hom} -\eqcommand[]{\hookleftarrow} -\eqcommand[]{\hookrightarrow} -\eqcommand[]{\hrulefill} -\eqcommand[]{\hspace} -\eqcommand[]{\hspace*} -\eqcommand[]{\huge} -\eqcommand[]{\Huge} -\eqcommand[]{\hyperlink} -\eqcommand[]{\hypersetup} -\eqcommand[]{\hypertarget} -\eqcommand[]{\hyphenation} -\eqcommand[]{\idotsint} -\eqcommand[]{\iff} -\eqcommand[]{\IfFileExists} -\eqcommand[]{\ifthenelse} -\eqcommand[]{\Im} -\eqcommand[]{\imath} -\eqcommand[]{\in} -\eqcommand[]{\include} -\eqcommand[]{\includegraphics} -\eqcommand[]{\includegraphics*} -\eqcommand[]{\includeonly} -\eqcommand[]{\indent} -\eqcommand[]{\index} -\eqcommand[]{\indexentry} -\eqcommand[]{\indexname} -\eqcommand[]{\indexspace} -\eqcommand[]{\inf} -\eqcommand[]{\infty} -\eqcommand[]{\input} -\eqcommand[]{\InputIfFileExists} -\eqcommand[]{\int} -\eqcommand[]{\iint} -\eqcommand[]{\iiint} -\eqcommand[]{\iiiint} -\eqcommand[]{\intertext} -\eqcommand[]{\intertextsep} -\eqcommand[]{\invisible} -\eqcommand[]{\iota} -\eqcommand[]{\itdefault} -\eqcommand[]{\item} -\eqcommand[]{\itemindent} -\eqcommand[]{\itemsep} -\eqcommand[]{\itshape} -\eqcommand[]{\jmath} -\eqcommand[]{\join} -\eqcommand[]{\jot} -\eqcommand[]{\kappa} -\eqcommand[]{\ker} -\eqcommand[]{\kill} -\eqcommand[]{\label} -\eqcommand[]{\labelenumi} -\eqcommand[]{\labelenumii} -\eqcommand[]{\labelenumiii} -\eqcommand[]{\labelenumiv} -\eqcommand[]{\labelitemi} -\eqcommand[]{\labelitemii} -\eqcommand[]{\labelitemiii} -\eqcommand[]{\labelitemiv} -\eqcommand[]{\labelsep} -\eqcommand[]{\labelwidth} -\eqcommand[]{\Lambda} -\eqcommand[]{\lambda} -\eqcommand[]{\langle} -\eqcommand[]{\language} -\eqcommand[]{\large} -\eqcommand[]{\Large} -\eqcommand[]{\LARGE} -\eqcommand[]{\LaTeX} -\eqcommand[]{\LaTeXe} -\eqcommand[]{\lceil} -\eqcommand[]{\ldots} -\eqcommand[]{\le} -\eqcommand[]{\leadsto} -\eqcommand[]{\left} -\eqcommand[]{\Leftarrow} -\eqcommand[]{\leftarrow} -\eqcommand[]{\lefteqn} -\eqcommand[]{\leftharpoondown} -\eqcommand[]{\leftharpoonup} -\eqcommand[]{\leftmargin} -\eqcommand[]{\Leftrightarrow} -\eqcommand[]{\leftrightarrow} -\eqcommand[]{\leftroot} -\eqcommand[]{\leq} -\eqcommand[]{\lfloor} -\eqcommand[]{\lg} -\eqcommand[]{\lhd} -\eqcommand[]{\lim} -\eqcommand[]{\liminf} -\eqcommand[]{\limits} -\eqcommand[]{\limsup} -\eqcommand[]{\line} -\eqcommand[]{\linebreak} -\eqcommand[]{\linethickness} -\eqcommand[]{\linewidth} -\eqcommand[]{\listfigurename} -\eqcommand[]{\listfiles} -\eqcommand[]{\listoffigures} -\eqcommand[]{\listoftables} -\eqcommand[]{\listparindent} -\eqcommand[]{\listtablename} -\eqcommand[]{\ll} -\eqcommand[]{\ln} -\eqcommand[]{\LoadClass} -\eqcommand[]{\LoadClassWithOptions} -\eqcommand[]{\location} -\eqcommand[]{\log} -\eqcommand[]{\Longleftarrow} -\eqcommand[]{\longleftarrow} -\eqcommand[]{\Longleftrightarrow} -\eqcommand[]{\longleftrightarrow} -\eqcommand[]{\longmapsto} -\eqcommand[]{\Longrightarrow} -\eqcommand[]{\longrightarrow} -\eqcommand[]{\lvert} -\eqcommand[]{\lVert} -\eqcommand[]{\mainmatter} -\eqcommand[]{\makebox} -\eqcommand[]{\makeglossary} -\eqcommand[]{\makeindex} -\eqcommand[]{\makelabel} -\eqcommand[]{\makelabels} -\eqcommand[]{\MakeLowercase} -\eqcommand[]{\MakeShortVerb} -\eqcommand[]{\maketitle} -\eqcommand[]{\MakeUppercase} -\eqcommand[]{\mapsto} -\eqcommand[]{\marginpar} -\eqcommand[]{\marginparpush} -\eqcommand[]{\marginparsep} -\eqcommand[]{\marginparwidth} -\eqcommand[]{\markboth} -\eqcommand[]{\markright} -\eqcommand[]{\mathbf} -\eqcommand[]{\mathcal} -\eqcommand[]{\mathindent} -\eqcommand[]{\mathit} -\eqcommand[]{\mathnormal} -\eqcommand[]{\mathring} -\eqcommand[]{\mathrm} -\eqcommand[]{\mathsf} -\eqcommand[]{\mathtt} -\eqcommand[]{\max} -\eqcommand[]{\mbox} -\eqcommand[]{\mddefault} -\eqcommand[]{\mdseries} -\eqcommand[]{\medskip} -\eqcommand[]{\medskipamount} -\eqcommand[]{\medspace} -\eqcommand[]{\MessageBreak} -\eqcommand[]{\mho} -\eqcommand[]{\mid} -\eqcommand[]{\min} -\eqcommand[]{\mod} -\eqcommand[]{\models} -\eqcommand[]{\mp} -\eqcommand[]{\mspace} -\eqcommand[]{\mu} -\eqcommand[]{\multicolumn} -\eqcommand[]{\multiput} -\eqcommand[]{\multlinegap} -\eqcommand[]{\nabla} -\eqcommand[]{\name} -\eqcommand[]{\natural} -\eqcommand[]{\nearrow} -\eqcommand[]{\NeedsTeXFormat} -\eqcommand[]{\neg} -\eqcommand[]{\negmedspace} -\eqcommand[]{\negthickspace} -\eqcommand[]{\negthinspace} -\eqcommand[]{\neq} -\eqcommand[]{\newboolean} -\eqcommand[]{\newcommand} -\eqcommand[]{\newcommand*} -\eqcommand[]{\newcounter} -\eqcommand[]{\newenvironment} -\eqcommand[]{\newenvironment*} -\eqcommand[]{\newfont} -\eqcommand[]{\newlength} -\eqcommand[]{\newline} -\eqcommand[]{\newpage} -\eqcommand[]{\newsavebox} -\eqcommand[]{\newtheorem} -\eqcommand[]{\ni} -\eqcommand[]{\nocite} -\eqcommand[]{\nofiles} -\eqcommand[]{\noindent} -\eqcommand[]{\nolimits} -\eqcommand[]{\nolinebreak} -\eqcommand[]{\nonfrenchspacing} -\eqcommand[]{\nonumber} -\eqcommand[]{\nopagebreak} -\eqcommand[]{\normalcolor} -\eqcommand[]{\normalfont} -\eqcommand[]{\normalmarginpar} -\eqcommand[]{\normalsize} -\eqcommand[]{\not} -\eqcommand[]{\notag} -\eqcommand[]{\notin} -\eqcommand[]{\nu} -\eqcommand[]{\numberwithin} -\eqcommand[]{\nwarrow} -\eqcommand[]{\oddsidemargin} -\eqcommand[]{\odot} -\eqcommand[]{\oint} -\eqcommand[]{\Omega} -\eqcommand[]{\omega} -\eqcommand[]{\ominus} -\eqcommand[]{\onecolumn} -\eqcommand[]{\onlynotes} -\eqcommand[]{\onlyslides} -\eqcommand[]{\opening} -\eqcommand[]{\oplus} -\eqcommand[]{\OptionNotUsed} -\eqcommand[]{\oslash} -\eqcommand[]{\otimes} -\eqcommand[]{\oval} -\eqcommand[]{\ovalbox} -\eqcommand[]{\Ovalbox} -\eqcommand[]{\overbrace} -\eqcommand[]{\overleftarrow} -\eqcommand[]{\overleftrightarrow} -\eqcommand[]{\overline} -\eqcommand[]{\overrightarrow} -\eqcommand[]{\overset} -\eqcommand[]{\PackageError} -\eqcommand[]{\PackageInfo} -\eqcommand[]{\PackageWarning} -\eqcommand[]{\PackageWarningNoLine} -\eqcommand[]{\pagebreak} -\eqcommand[]{\pagecolor} -\eqcommand[]{\pagename} -\eqcommand[]{\pagenumbering} -\eqcommand[]{\pageref} -\eqcommand[]{\pagestyle} -\eqcommand[]{\paperheight} -\eqcommand[]{\paperwidth} -\eqcommand[]{\par} -\eqcommand[]{\paragraph} -\eqcommand[]{\paragraph*} -\eqcommand[]{\parallel} -\eqcommand[]{\parbox} -\eqcommand[]{\parindent} -\eqcommand[]{\parsep} -\eqcommand[]{\parskip} -\eqcommand[]{\part} -\eqcommand[]{\part*} -\eqcommand[]{\partial} -\eqcommand[]{\partname} -\eqcommand[]{\partopsep} -\eqcommand[]{\PassOptionToClass} -\eqcommand[]{\PassOptionToPackage} -\eqcommand[]{\path} -\eqcommand[]{\prep} -\eqcommand[]{\Phi} -\eqcommand[]{\phi} -\eqcommand[]{\Pi} -\eqcommand[]{\pi} -\eqcommand[]{\pm} -\eqcommand[]{\pmb} -\eqcommand[]{\pmod} -\eqcommand[]{\pod} -\eqcommand[]{\poptabs} -\eqcommand[]{\pounds} -\eqcommand[]{\Pr} -\eqcommand[]{\prec} -\eqcommand[]{\preceq} -\eqcommand[]{\prime} -\eqcommand[]{\printindex} -\eqcommand[]{\ProcessOptions} -\eqcommand[]{\ProcessOptions*} -\eqcommand[]{\prod} -\eqcommand[]{\propto} -\eqcommand[]{\protect} -\eqcommand[]{\providecommand} -\eqcommand[]{\providecommand*} -\eqcommand[]{\ProvidesClass} -\eqcommand[]{\ProvidesFile} -\eqcommand[]{\ProvidesPackage} -\eqcommand[]{\ps} -\eqcommand[]{\Psi} -\eqcommand[]{\psi} -\eqcommand[]{\pushtabs} -\eqcommand[]{\put} -\eqcommand[]{\qbezier} -\eqcommand[]{\qquad} -\eqcommand[]{\quad} -\eqcommand[]{\raggedbottom} -\eqcommand[]{\raggedleft} -\eqcommand[]{\raggedright} -\eqcommand[]{\raisebox} -\eqcommand[]{\raisetag} -\eqcommand[]{\rangle} -\eqcommand[]{\rceil} -\eqcommand[]{\Re} -\eqcommand[]{\ref} -\eqcommand[]{\reflectbox} -\eqcommand[]{\refname} -\eqcommand[]{\refstepcounter} -\eqcommand[]{\renewcommand} -\eqcommand[]{\renewcommand*} -\eqcommand[]{\renewenvironment} -\eqcommand[]{\renewenvironment*} -\eqcommand[]{\RequirePackage} -\eqcommand[]{\RequirePackageWithOptions} -\eqcommand[]{\resizebox} -\eqcommand[]{\resizebox*} -\eqcommand[]{\reversemarginpar} -\eqcommand[]{\rfloor} -\eqcommand[]{\rhd} -\eqcommand[]{\rho} -\eqcommand[]{\right} -\eqcommand[]{\Rightarrow} -\eqcommand[]{\rightarrow} -\eqcommand[]{\rightharpoondown} -\eqcommand[]{\rightharpoonup} -\eqcommand[]{\rightleftharpoons} -\eqcommand[]{\rightmargin} -\eqcommand[]{\rmdefault} -\eqcommand[]{\rmfamily} -\eqcommand[]{\Roman} -\eqcommand[]{\roman} -\eqcommand[]{\rotatebox} -\eqcommand[]{\rule} -\eqcommand[]{\rvert} -\eqcommand[]{\rVert} -\eqcommand[]{\savebox} -\eqcommand[]{\sbox} -\eqcommand[]{\scalebox} -\eqcommand[]{\scdefault} -\eqcommand[]{\scriptscriptstyle} -\eqcommand[]{\scriptsize} -\eqcommand[]{\scripstyle} -\eqcommand[]{\scshape} -\eqcommand[]{\searrow} -\eqcommand[]{\sec} -\eqcommand[]{\section} -\eqcommand[]{\section*} -\eqcommand[]{\see} -\eqcommand[]{\seealso} -\eqcommand[]{\seename} -\eqcommand[]{\selectfont} -\eqcommand[]{\setboolean} -\eqcommand[]{\setcounter} -\eqcommand[]{\setlength} -\eqcommand[]{\setminus} -\eqcommand[]{\settodepth} -\eqcommand[]{\settoheight} -\eqcommand[]{\settowidth} -\eqcommand[]{\sfdefault} -\eqcommand[]{\sffamily} -\eqcommand[]{\shadowbox} -\eqcommand[]{\sharp} -\eqcommand[]{\shortstack} -\eqcommand[]{\sideset} -\eqcommand[]{\Sigma} -\eqcommand[]{\sigma} -\eqcommand[]{\signature} -\eqcommand[]{\sim} -\eqcommand[]{\simeq} -\eqcommand[]{\sin} -\eqcommand[]{\sinh} -\eqcommand[]{\sldefault} -\eqcommand[]{\sloppy} -\eqcommand[]{\slshape} -\eqcommand[]{\small} -\eqcommand[]{\smallskip} -\eqcommand[]{\smallskipamount} -\eqcommand[]{\smash} -\eqcommand[]{\smile} -\eqcommand[]{\spadesuit} -\eqcommand[]{\sqcap} -\eqcommand[]{\sqcup} -\eqcommand[]{\sqrt} -\eqcommand[]{\sqsubset} -\eqcommand[]{\sqsubseteq} -\eqcommand[]{\sqsupset} -\eqcommand[]{\sqsupseteq} -\eqcommand[]{\stackrel} -\eqcommand[]{\star} -\eqcommand[]{\stepcounter} -\eqcommand[]{\stretch} -\eqcommand[]{\subitem} -\eqcommand[]{\subparagraph} -\eqcommand[]{\subparagraph*} -\eqcommand[]{\subsection} -\eqcommand[]{\subsection*} -\eqcommand[]{\substack} -\eqcommand[]{\subsubitem} -\eqcommand[]{\subsubsection} -\eqcommand[]{\subsubsection*} -\eqcommand[]{\subset} -\eqcommand[]{\subseteq} -\eqcommand[]{\succ} -\eqcommand[]{\succeq} -\eqcommand[]{\sum} -\eqcommand[]{\sup} -\eqcommand[]{\supressfloats} -\eqcommand[]{\supset} -\eqcommand[]{\supseteq} -\eqcommand[]{\surd} -\eqcommand[]{\swarrow} -\eqcommand[]{\tabbingsep} -\eqcommand[]{\tabcolsep} -\eqcommand[]{\tableofcontents} -\eqcommand[]{\tablename} -\eqcommand[]{\tabularnewline} -\eqcommand[]{\tag} -\eqcommand[]{\tan} -\eqcommand[]{\tanh} -\eqcommand[]{\tau} -\eqcommand[]{\tbinom} -\eqcommand[]{\telephone} -\eqcommand[]{\TeX} -\eqcommand[]{\text} -\eqcommand[]{\textbullet} -\eqcommand[]{\textemdash} -\eqcommand[]{\textendash} -\eqcommand[]{\textexclamdown} -\eqcommand[]{\textperiodcentered} -\eqcommand[]{\textquestiondown} -\eqcommand[]{\textquotedblleft} -\eqcommand[]{\textquotedblright} -\eqcommand[]{\textquoteleft} -\eqcommand[]{\textquoteright} -\eqcommand[]{\textvisiblespace} -\eqcommand[]{\textasciicircum} -\eqcommand[]{\textasciitilde} -\eqcommand[]{\textbackslash} -\eqcommand[]{\textbar} -\eqcommand[]{\textgreater} -\eqcommand[]{\textless} -\eqcommand[]{\textbf} -\eqcommand[]{\textcircled} -\eqcommand[]{\textcolor} -\eqcommand[]{\textcompwordmark} -\eqcommand[]{\textfloatsep} -\eqcommand[]{\textfraction} -\eqcommand[]{\textheight} -\eqcommand[]{\textit} -\eqcommand[]{\textmd} -\eqcommand[]{\textnormal} -\eqcommand[]{\textregistered} -\eqcommand[]{\textrm} -\eqcommand[]{\textsc} -\eqcommand[]{\textsf} -\eqcommand[]{\textsl} -\eqcommand[]{\textstyle} -\eqcommand[]{\textsuperscript} -\eqcommand[]{\texttrademark} -\eqcommand[]{\texttt} -\eqcommand[]{\textup} -\eqcommand[]{\textwidth} -\eqcommand[]{\tfrac} -\eqcommand[]{\thanks} -\eqcommand[]{\Theta} -\eqcommand[]{\theta} -\eqcommand[]{\thicklines} -\eqcommand[]{\thickspace} -\eqcommand[]{\thinlines} -\eqcommand[]{\thinspace} -\eqcommand[]{\thisfancypage} -\eqcommand[]{\thispagestyle} -\eqcommand[]{\tilde} -\eqcommand[]{\tiny} -\eqcommand[]{\times} -\eqcommand[]{\title} -\eqcommand[]{\to} -\eqcommand[]{\today} -\eqcommand[]{\top} -\eqcommand[]{\topfigrule} -\eqcommand[]{\topfraction} -\eqcommand[]{\topmargin} -\eqcommand[]{\topsep} -\eqcommand[]{\topskip} -\eqcommand[]{\totalheight} -\eqcommand[]{\triangle} -\eqcommand[]{\triangleleft} -\eqcommand[]{\triangleright} -\eqcommand[]{\ttdefault} -\eqcommand[]{\ttfamily} -\eqcommand[]{\twocolumn} -\eqcommand[]{\typein} -\eqcommand[]{\typeout} -\eqcommand[]{\unboldmath} -\eqcommand[]{\underbrace} -\eqcommand[]{\underleftarrow} -\eqcommand[]{\underleftrightarrow} -\eqcommand[]{\underline} -\eqcommand[]{\underrightarrow} -\eqcommand[]{\underset} -\eqcommand[]{\unitlength} -\eqcommand[]{\unlhd} -\eqcommand[]{\unrhd} -\eqcommand[]{\Uparrow} -\eqcommand[]{\uparrow} -\eqcommand[]{\updefault} -\eqcommand[]{\Updownarrow} -\eqcommand[]{\updownarrow} -\eqcommand[]{\uplus} -\eqcommand[]{\upshape} -\eqcommand[]{\Upsilon} -\eqcommand[]{\upsilon} -\eqcommand[]{\uproot} -\eqcommand[]{\url} -\eqcommand[]{\urlstyle} -\eqcommand[]{\usebox} -\eqcommand[]{\usecounter} -\eqcommand[]{\usefont} -\eqcommand[]{\usepackage} -\eqcommand[]{\value} -\eqcommand[]{\varepsilon} -\eqcommand[]{\varinjlim} -\eqcommand[]{\varliminf} -\eqcommand[]{\varlimsup} -\eqcommand[]{\varphi} -\eqcommand[]{\varpi} -\eqcommand[]{\varprojlim} -\eqcommand[]{\varrho} -\eqcommand[]{\varsigma} -\eqcommand[]{\vartheta} -\eqcommand[]{\vdash} -\eqcommand[]{\vdots} -\eqcommand[]{\vec} -\eqcommand[]{\vector} -\eqcommand[]{\vee} -\eqcommand[]{\verb} -\eqcommand[]{\verb*} -\eqcommand[]{\vfill} -\eqcommand[]{\visible} -\eqcommand[]{\vline} -\eqcommand[]{\voffset} -\eqcommand[]{\vpageref} -\eqcommand[]{\vref} -\eqcommand[]{\vspace} -\eqcommand[]{\vspace*} -\eqcommand[]{\wedge} -\eqcommand[]{\whiledo} -\eqcommand[]{\widehat} -\eqcommand[]{\widetilde} -\eqcommand[]{\width} -\eqcommand[]{\wp} -\eqcommand[]{\wr} -\eqcommand[]{\Xi} -\eqcommand[]{\xi} -\eqcommand[]{\xleftarrow} -\eqcommand[]{\xrightarrow} -\eqcommand[]{\zeta} +\ProvidesFile{commands-ltx.def}[2010/03/01 v0.2 Persian localisation of LaTeX2e commands] +\eqcommand[\پرشکوتاهبالاینمایش]{\abovedisplayshortskip} +\eqcommand[\پرشبالاینمایش]{\abovedisplayskip} +\eqcommand[\نامچکیده]{\abstractname} +\eqcommand[\بیفزاخطفهرست]{\addcontentsline} +\eqcommand[\آدرس]{\address} +\eqcommand[\بیفزابرفهرست]{\addtocontents} +\eqcommand[\بیفزابرشمارنده]{\addtocounter} +\eqcommand[\بیفزابرطول]{\addtolength} +\eqcommand[\بیفزافاصلهع]{\addvspace} +\eqcommand[\الف]{\aleph} +\eqcommand[\شکستنمایشمجاز]{\allowdisplaybreaks} +\eqcommand[\حروفب]{\Alph} +\eqcommand[\حروفک]{\alph} +\eqcommand[\نامهمچنین]{\alsoname} +\eqcommand[\و]{\and} +\eqcommand[\زاویه]{\angle} +\eqcommand[\نامپیوست]{\appendixname} +\eqcommand[\تقریب]{\approx} +\eqcommand[\عربی]{\arabic} +\eqcommand[\آرگ]{\arg} +\eqcommand[\جداگرستونآرایه]{\arraycolsep} +\eqcommand[\عرضنوارآرایه]{\arrayrulewidth} +\eqcommand[\کشیدگیآرایه]{\arraystretch} +\eqcommand[\درشروعنوشتار]{\AtBeginDocument} +\eqcommand[\درپایاننوشتار]{\AtEndDocument} +\eqcommand[\درپایانکلاس]{\AtEndOfClass} +\eqcommand[\درپایانبسته]{\AtEndOfPackage} +\eqcommand[\نویسنده]{\author} +\eqcommand[\مطلبپشت]{\backmatter} +\eqcommand[\شکافپشت]{\backslash} +\eqcommand[\میله]{\bar} +\eqcommand[\پرشخطکرسی]{\baselineskip} +\eqcommand[\کشیدگیخطکرسی]{\baselinestretch} +\eqcommand[\شروع]{\begin} +\eqcommand[\پرشکوتاهزیرنمایش]{\belowdisplayshortskip} +\eqcommand[\پرشزیرنمایش]{\belowdisplayskip} +\eqcommand[\پیشفرضسیاه]{\bfdefault} +\eqcommand[\سریسیاه]{\bfseries} +\eqcommand[\بندکتابنامه]{\bibitem} +\eqcommand[\کتابنامه]{\bibliography} +\eqcommand[\سبککتابنامه]{\bibliographystyle} +\eqcommand[\نامکتابنامه]{\bibname} +\eqcommand[\پرشبزرگ]{\bigskip} +\eqcommand[\مقدارپرشبزرگ]{\bigskipamount} +\eqcommand[\نوارپایعکس]{\botfigrule} +\eqcommand[\کسرپایین]{\bottomfraction} +\eqcommand[\گلوله]{\bullet} +\eqcommand[\شرح]{\caption} +\eqcommand[\رونوشت]{\cc} +\eqcommand[\نامرونوشت]{\ccname} +\eqcommand[\نقطهوسط]{\cdot} +\eqcommand[\نقاطوسط]{\cdots} +\eqcommand[\وسطچین]{\centering} +\eqcommand[\خطوسط]{\centerline} +\eqcommand[\فصل]{\chapter} +\eqcommand[\نامفصل]{\chaptername} +\eqcommand[\سند]{\cite} +\eqcommand[\خطایکلاس]{\ClassError} +\eqcommand[\اطلاعاتکلاس]{\ClassInfo} +\eqcommand[\هشدارکلاس]{\ClassWarning} +\eqcommand[\هشدارکلاسبدونخط]{\ClassWarningNoLine} +\eqcommand[\دوصفحهپاک]{\cleardoublepage} +\eqcommand[\صفحهپاک]{\clearpage} +\eqcommand[\خطس]{\cline} +\eqcommand[\بستن]{\closing} +\eqcommand[\خاج]{\clubsuit} +\eqcommand[\رنگ]{\color} +\eqcommand[\کادررنگی]{\colorbox} +\eqcommand[\جداگرستون]{\columnsep} +\eqcommand[\نوارجداگرستون]{\columnseprule} +\eqcommand[\خطفهرست]{\contentsline} +\eqcommand[\نامفهرست]{\contentsname} +\eqcommand[\حقتالیف]{\copyright} +\eqcommand[\گزینهجاری]{\CurrentOption} +\eqcommand[\کادربینابین]{\dashbox} +\eqcommand[\بینابینع]{\dashv} +\eqcommand[\تاریخ]{\date} +\eqcommand[\نوارشکلدولا]{\dblfigrule} +\eqcommand[\کسرصفحهشناوردولا]{\dblfloatpagefraction} +\eqcommand[\جداگرشناوردولا]{\dblfloatsep} +\eqcommand[\جداگرشناورمتندولا]{\dbltextfloatsep} +\eqcommand[\کسربالادولا]{\dbltopfraction} +\eqcommand[\اعلامپسوندگرافیک]{\DeclareGraphicsExtensions} +\eqcommand[\اعلامدستورگرافیک]{\DeclareGraphicsRule} +\eqcommand[\اعلامگزینه]{\DeclareOption} +\eqcommand[\اعلامفرمانقوی]{\DeclareRobustCommand} +\eqcommand[\معرفیرنگ]{\definecolor} +\eqcommand[\درجه]{\deg} +\eqcommand[\عمق]{\depth} +\eqcommand[\خشت]{\diamondsuit} +\eqcommand[\بعد]{\dim} +\eqcommand[\احتیاطی]{\discretionary} +\eqcommand[\شکستنمایش]{\displaybreak} +\eqcommand[\سبکنمایش]{\displaystyle} +\eqcommand[\کلاسنوشتار]{\documentclass} +\eqcommand[\نقطه]{\dot} +\eqcommand[\نقطهمساوی]{\doteq} +\eqcommand[\پرنقطه]{\dotfill} +\eqcommand[\نقاط]{\dots} +\eqcommand[\کادردولا]{\doublebox} +\eqcommand[\جداگرنواردولا]{\doublerulesep} +\eqcommand[\فلشپایین]{\downarrow} +\eqcommand[\تا]{\em} +\eqcommand[\تاکید]{\emph} +\eqcommand[\مجموعهتهی]{\emptyset} +\eqcommand[\پایان]{\end} +\eqcommand[\پایاناولینسر]{\endfirsthead} +\eqcommand[\پایانپا]{\endfoot} +\eqcommand[\پایانسر]{\endhead} +\eqcommand[\پایانآخرینپا]{\endlastfoot} +\eqcommand[\گسترشاینصفحه]{\enlargethispage} +\eqcommand[\ارجاعفر]{\eqref} +\eqcommand[\یورو]{\euro} +\eqcommand[\حاشیهطرفراست]{\evensidemargin} +\eqcommand[\اجرایگزینهها]{\ExecuteOptions} +\eqcommand[\جداگرستوناضافی]{\extracolsep} +\eqcommand[\صفحهتجملی]{\fancypage} +\eqcommand[\کادرف]{\fbox} +\eqcommand[\نوارکادرف]{\fboxrule} +\eqcommand[\جداگرکادرف]{\fboxsep} +\eqcommand[\کادرفرنگی]{\fcolorbox} +\eqcommand[\نامشکل]{\figurename} +\eqcommand[\پرر]{\fill} +\eqcommand[\پهن]{\flat} +\eqcommand[\کسرصفحهشناور]{\floatpagefraction} +\eqcommand[\جداگرشناور]{\floatsep} +\eqcommand[\تنظیمپایین]{\flushbottom} +\eqcommand[\نمادپن]{\fnsymbol} +\eqcommand[\خانوادهقلم]{\fontfamily} +\eqcommand[\سریقلم]{\fontseries} +\eqcommand[\شکلقلم]{\fontshape} +\eqcommand[\اندازهقلم]{\fontsize} +\eqcommand[\پانوشتچبر]{\LTRfootnote} +\eqcommand[\پانوشت]{\footnote} +\eqcommand[\نشانپانوشت]{\footnotemark} +\eqcommand[\نوارپانوشت]{\footnoterule} +\eqcommand[\جداگرپانوشت]{\footnotesep} +\eqcommand[\اندازهپانوشت]{\footnotesize} +\eqcommand[\متنپانوشت]{\footnotetext} +\eqcommand[\پرشپا]{\footskip} +\eqcommand[\فریم]{\frame} +\eqcommand[\کادرفریم]{\framebox} +\eqcommand[\فاصلهگذاریفرانسوی]{\frenchspacing} +\eqcommand[\مطلبپیش]{\frontmatter} +\eqcommand[\فرهنگ]{\glossary} +\eqcommand[\فقرهفرهنگ]{\glossaryentry} +\eqcommand[\کاغذگراف]{\graphpaper} +\eqcommand[\گیومهچپ]{\guillemotleft} +\eqcommand[\گیومهراست]{\guillemotright} +\eqcommand[\گیومهتکیچپ]{\guilsinglleft} +\eqcommand[\گیومهتکیراست]{\guilsinglright} +\eqcommand[\ارتفاعسر]{\headheight} +\eqcommand[\جداگرسر]{\headsep} +\eqcommand[\سربهنام]{\headtoname} +\eqcommand[\دل]{\heartsuit} +\eqcommand[\ارتفاع]{\height} +\eqcommand[\پرا]{\hfill} +\eqcommand[\خطا]{\hline} +\eqcommand[\مبداا]{\hoffset} +\eqcommand[\نواراپرر]{\hrulefill} +\eqcommand[\فضاا]{\hspace} +\eqcommand[\بزرگ]{\huge} +\eqcommand[\بزرگتر]{\Huge} +\eqcommand[\ابرپیوند]{\hyperlink} +\eqcommand[\بارگذاریابر]{\hypersetup} +\eqcommand[\هدفابر]{\hypertarget} +\eqcommand[\خطپیوند]{\hyphenation} +\eqcommand[\گرر]{\iff} +\eqcommand[\گرپروندهموجود]{\IfFileExists} +\eqcommand[\گرآنگاهدیگر]{\ifthenelse} +\eqcommand[\شامل]{\include} +\eqcommand[\شاملگرافیک]{\includegraphics} +\eqcommand[\تنهاشامل]{\includeonly} +\eqcommand[\تورفته]{\indent} +\eqcommand[\نمایه]{\index} +\eqcommand[\فقرهنمایه]{\indexentry} +\eqcommand[\نامنمایه]{\indexname} +\eqcommand[\فضاینمایه]{\indexspace} +\eqcommand[\ورود]{\input} +\eqcommand[\ورودگرپروندهموجود]{\InputIfFileExists} +\eqcommand[\بینمتن]{\intertext} +\eqcommand[\جداگربینمتن]{\intertextsep} +\eqcommand[\مخفی]{\invisible} +\eqcommand[\پیشفرضای]{\itdefault} +\eqcommand[\بند]{\item} +\eqcommand[\تورفتگیبند]{\itemindent} +\eqcommand[\جداگربند]{\itemsep} +\eqcommand[\شکلای]{\itshape} +\eqcommand[\کشتن]{\kill} +\eqcommand[\برچسب]{\label} +\eqcommand[\برچسبشمارشی]{\labelenumi} +\eqcommand[\برچسبشمارشد]{\labelenumii} +\eqcommand[\برچسبشمارشس]{\labelenumiii} +\eqcommand[\برچسبشمارشچ]{\labelenumiv} +\eqcommand[\برچسببندی]{\labelitemi} +\eqcommand[\برچسببندد]{\labelitemii} +\eqcommand[\برچسببندس]{\labelitemiii} +\eqcommand[\برچسببندچ]{\labelitemiv} +\eqcommand[\جداگربرچسب]{\labelsep} +\eqcommand[\عرضبرچسب]{\labelwidth} +\eqcommand[\زبان]{\language} +\eqcommand[\درشت]{\large} +\eqcommand[\درشتتر]{\Large} +\eqcommand[\درشتدرشت]{\LARGE} +\eqcommand[\لاتک]{\LaTeX} +\eqcommand[\لاتکای]{\LaTeXe} +\eqcommand[\نقاطخ]{\ldots} +\eqcommand[\چپ]{\left} +\eqcommand[\حاشیهچپ]{\leftmargin} +\eqcommand[\خط]{\line} +\eqcommand[\شکستخط]{\linebreak} +\eqcommand[\ضخامتخط]{\linethickness} +\eqcommand[\عرضخط]{\linewidth} +\eqcommand[\ناملیستشکل]{\listfigurename} +\eqcommand[\لیستپروندهها]{\listfiles} +\eqcommand[\لیستشکلها]{\listoffigures} +\eqcommand[\لیستلوحها]{\listoftables} +\eqcommand[\تورفتگیپارلیست]{\listparindent} +\eqcommand[\ناملیستجدول]{\listtablename} +\eqcommand[\بارگذاریکلاس]{\LoadClass} +\eqcommand[\بارگذاریکلاسباگزینهها]{\LoadClassWithOptions} +\eqcommand[\مکان]{\location} +\eqcommand[\مطلباصلی]{\mainmatter} +\eqcommand[\ساختکادر]{\makebox} +\eqcommand[\ساختفرهنگ]{\makeglossary} +\eqcommand[\ساختنمایه]{\makeindex} +\eqcommand[\ساختبرچسب]{\makelabel} +\eqcommand[\ساختبرچسبها]{\makelabels} +\eqcommand[\ساختحروفکوچک]{\MakeLowercase} +\eqcommand[\ساختعنوان]{\maketitle} +\eqcommand[\ساختحروفبزرگ]{\MakeUppercase} +\eqcommand[\حاشیهپار]{\marginpar} +\eqcommand[\جداگرحاشیهپار]{\marginparsep} +\eqcommand[\عرضجداگرپار]{\marginparwidth} +\eqcommand[\نشانهردو]{\markboth} +\eqcommand[\نشانراست]{\markright} +\eqcommand[\سکادر]{\mbox} +\eqcommand[\پرشمتوسط]{\medskip} +\eqcommand[\مقدارپرشمتوسط]{\medskipamount} +\eqcommand[\فضایمتوسط]{\medspace} +\eqcommand[\شکستپیام]{\MessageBreak} +\eqcommand[\چندستونی]{\multicolumn} +\eqcommand[\نام]{\name} +\eqcommand[\طبیعی]{\natural} +\eqcommand[\باریک]{\nearrow} +\eqcommand[\نیازبهفرمتک]{\NeedsTeXFormat} +\eqcommand[\منفی]{\neg} +\eqcommand[\فضایمتوسطمنفی]{\negmedspace} +\eqcommand[\فضایضخیممنفی]{\negthickspace} +\eqcommand[\فضاینازکمنفی]{\negthinspace} +\eqcommand[\بولینو]{\newboolean} +\eqcommand[\فرماننو]{\newcommand} +\eqcommand[\شمارندهنو]{\newcounter} +\eqcommand[\محیطنو]{\newenvironment} +\eqcommand[\قلمنو]{\newfont} +\eqcommand[\طولنو]{\newlength} +\eqcommand[\خطنو]{\newline} +\eqcommand[\صفحهنو]{\newpage} +\eqcommand[\کادرذخیرهنو]{\newsavebox} +\eqcommand[\قضیهنو]{\newtheorem} +\eqcommand[\بدونسند]{\nocite} +\eqcommand[\بدونپرونده]{\nofiles} +\eqcommand[\بدونتورفتگی]{\noindent} +\eqcommand[\بدونحد]{\nolimits} +\eqcommand[\بدونشکستخط]{\nolinebreak} +\eqcommand[\فاصلهگذاریغیرفرانسوی]{\nonfrenchspacing} +\eqcommand[\بدونشماره]{\nonumber} +\eqcommand[\بدونشکستصفحه]{\nopagebreak} +\eqcommand[\رنگنرمال]{\normalcolor} +\eqcommand[\قلمنرمال]{\normalfont} +\eqcommand[\حاشیهپارنرمال]{\normalmarginpar} +\eqcommand[\اندازهنرمال]{\normalsize} +\eqcommand[\بدوناتیکت]{\notag} +\eqcommand[\شمارهمطابق]{\numberwithin} +\eqcommand[\حاشیهسمتچپ]{\oddsidemargin} +\eqcommand[\یکستون]{\onecolumn} +\eqcommand[\تنهایادداشتها]{\onlynotes} +\eqcommand[\تنهااسلایدها]{\onlyslides} +\eqcommand[\گزینهاستفادهنشد]{\OptionNotUsed} +\eqcommand[\خطایبسته]{\PackageError} +\eqcommand[\اطلاعاتبسته]{\PackageInfo} +\eqcommand[\هشداربسته]{\PackageWarning} +\eqcommand[\هشداربستهبدونخط]{\PackageWarningNoLine} +\eqcommand[\شکستصفحه]{\pagebreak} +\eqcommand[\رنگصفحه]{\pagecolor} +\eqcommand[\نامصفحه]{\pagename} +\eqcommand[\شمارهگذاریصفحه]{\pagenumbering} +\eqcommand[\ارجاعصفحه]{\pageref} +\eqcommand[\سبکصفحه]{\pagestyle} +\eqcommand[\ارتفاعبرگ]{\paperheight} +\eqcommand[\عرضبرگ]{\paperwidth} +\eqcommand[\پار]{\par} +\eqcommand[\پاراگراف]{\paragraph} +\eqcommand[\موازی]{\parallel} +\eqcommand[\کادرپار]{\parbox} +\eqcommand[\تورفتگیپار]{\parindent} +\eqcommand[\جداگرپار]{\parsep} +\eqcommand[\پرشپار]{\parskip} +\eqcommand[\قسمت]{\part} +\eqcommand[\نامقسمت]{\partname} +\eqcommand[\جداگربالایپار]{\partopsep} +\eqcommand[\پاسگزینهبهکلاس]{\PassOptionToClass} +\eqcommand[\پاسگزینهبهبسته]{\PassOptionToPackage} +\eqcommand[\مسیر]{\path} +\eqcommand[\چاپنمایه]{\printindex} +\eqcommand[\پردازشگزینهها]{\ProcessOptions} +\eqcommand[\حمایت]{\protect} +\eqcommand[\تهیهفرمان]{\providecommand} +\eqcommand[\تهیهکلاس]{\ProvidesClass} +\eqcommand[\تهیهپرونده]{\ProvidesFile} +\eqcommand[\تهیهبسته]{\ProvidesPackage} +\eqcommand[\تنظیمپایین]{\raggedbottom} +\eqcommand[\تنظیمچپ]{\raggedleft} +\eqcommand[\تنظیمراست]{\raggedright} +\eqcommand[\ترفیعکادر]{\raisebox} +\eqcommand[\ترفیعاتیکت]{\raisetag} +\eqcommand[\زاویهر]{\rangle} +\eqcommand[\سقفر]{\rceil} +\eqcommand[\رجوع]{\ref} +\eqcommand[\انعکاسکادر]{\reflectbox} +\eqcommand[\نامرجوع]{\refname} +\eqcommand[\گامرجوعشمارنده]{\refstepcounter} +\eqcommand[\فرمانازنو]{\renewcommand} +\eqcommand[\محیطازنو]{\renewenvironment} +\eqcommand[\نیازبهبسته]{\RequirePackage} +\eqcommand[\نیازبهبستهباگزینه]{\RequirePackageWithOptions} +\eqcommand[\اندازهازنوکادر]{\resizebox} +\eqcommand[\حاشیهپارمعکوس]{\reversemarginpar} +\eqcommand[\کفر]{\rfloor} +\eqcommand[\راست]{\right} +\eqcommand[\پیشفرضرم]{\rmdefault} +\eqcommand[\خانوادهرم]{\rmfamily} +\eqcommand[\رومنبزرگ]{\Roman} +\eqcommand[\رومن]{\roman} +\eqcommand[\چرخاندنکادر]{\rotatebox} +\eqcommand[\نوار]{\rule} +\eqcommand[\ذخیرهکادر]{\savebox} +\eqcommand[\کادرذ]{\sbox} +\eqcommand[\کادرمقیاس]{\scalebox} +\eqcommand[\پیشفرضتمامبزرگ]{\scdefault} +\eqcommand[\سبکتهنوشتتهنوشت]{\scriptscriptstyle} +\eqcommand[\اندازهتهنوشت]{\scriptsize} +\eqcommand[\سبکتهنوشت]{\scripstyle} +\eqcommand[\بخش]{\section} +\eqcommand[\ببینید]{\see} +\eqcommand[\نیزببینید]{\seealso} +\eqcommand[\نامببینید]{\seename} +\eqcommand[\انتخابقلم]{\selectfont} +\eqcommand[\تنظیمبولی]{\setboolean} +\eqcommand[\تنظیمشمارنده]{\setcounter} +\eqcommand[\تنظیمطول]{\setlength} +\eqcommand[\تنظیممنها]{\setminus} +\eqcommand[\تنظیمبهعمق]{\settodepth} +\eqcommand[\تنظیمبهارتفاع]{\settoheight} +\eqcommand[\تنظیمبهعرض]{\settowidth} +\eqcommand[\پیشفرضسف]{\sfdefault} +\eqcommand[\خانوادهسف]{\sffamily} +\eqcommand[\کادرسایهدار]{\shadowbox} +\eqcommand[\تیز]{\sharp} +\eqcommand[\پشتهکوتاه]{\shortstack} +\eqcommand[\پیشفرضخو]{\sldefault} +\eqcommand[\نامرتب]{\sloppy} +\eqcommand[\شمایلخو]{\slshape} +\eqcommand[\کوچک]{\small} +\eqcommand[\پرشکوچک]{\smallskip} +\eqcommand[\مقدارپرشکوچک]{\smallskipamount} +\eqcommand[\کوب]{\smash} +\eqcommand[\لبخند]{\smile} +\eqcommand[\پیک]{\spadesuit} +\eqcommand[\ستاره]{\star} +\eqcommand[\گامشمارنده]{\stepcounter} +\eqcommand[\کشی]{\stretch} +\eqcommand[\زیربند]{\subitem} +\eqcommand[\زیرپاراگراف]{\subparagraph} +\eqcommand[\زیربخش]{\subsection} +\eqcommand[\زیرپشته]{\substack} +\eqcommand[\زیرزیربند]{\subsubitem} +\eqcommand[\زیرزیربخش]{\subsubsection} +\eqcommand[\زیرمجموعه]{\subset} +\eqcommand[\زیرمجموعهمس]{\subseteq} +\eqcommand[\جداگرجدولبندی]{\tabbingsep} +\eqcommand[\جداگرستونجدول]{\tabcolsep} +\eqcommand[\فهرستمطالب]{\tableofcontents} +\eqcommand[\ناملوح]{\tablename} +\eqcommand[\خطنوجدول]{\tabularnewline} +\eqcommand[\اتیکت]{\tag} +\eqcommand[\تلفن]{\telephone} +\eqcommand[\تک]{\TeX} +\eqcommand[\متنی]{\text} +\eqcommand[\گلولهمتنی]{\textbullet} +\eqcommand[\امدشمتنی]{\textemdash} +\eqcommand[\اندشمتنی]{\textendash} +\eqcommand[\تعجبوارونهمتنی]{\textexclamdown} +\eqcommand[\نقطهوسطمتنی]{\textperiodcentered} +\eqcommand[\سوالوارونهمتنی]{\textquestiondown} +\eqcommand[\نقلچپمتنیدولا]{\textquotedblleft} +\eqcommand[\نقلراستمتنیدولا]{\textquotedblright} +\eqcommand[\نقلمتنیچپ]{\textquoteleft} +\eqcommand[\نقلمتنیراست]{\textquoteright} +\eqcommand[\فضاینمایانمتنی]{\textvisiblespace} +\eqcommand[\شکافتپشتمتنی]{\textbackslash} +\eqcommand[\میلهمتنی]{\textbar} +\eqcommand[\بزرگترمتنی]{\textgreater} +\eqcommand[\کمترمتنی]{\textless} +\eqcommand[\متنسیاه]{\textbf} +\eqcommand[\مدورمتنی]{\textcircled} +\eqcommand[\رنگمتن]{\textcolor} +\eqcommand[\نشانکلمهمرکبمتن]{\textcompwordmark} +\eqcommand[\جداگرشناورمتن]{\textfloatsep} +\eqcommand[\کسرمتن]{\textfraction} +\eqcommand[\ارتفاعمتن]{\textheight} +\eqcommand[\متنایتالیک]{\textit} +\eqcommand[\متننازک]{\textmd} +\eqcommand[\متننرمال]{\textnormal} +\eqcommand[\ثبتیمتنی]{\textregistered} +\eqcommand[\متنرومن]{\textrm} +\eqcommand[\متنتمامبزرگ]{\textsc} +\eqcommand[\متنسانزسریف]{\textsf} +\eqcommand[\متنخوابیده]{\textsl} +\eqcommand[\سبکمتنی]{\textstyle} +\eqcommand[\بالانویسمتنی]{\textsuperscript} +\eqcommand[\علامتتجاریمتنی]{\texttrademark} +\eqcommand[\متنتایپ]{\texttt} +\eqcommand[\متنبالا]{\textup} +\eqcommand[\عرضمتن]{\textwidth} +\eqcommand[\تشکر]{\thanks} +\eqcommand[\خطهاضخیم]{\thicklines} +\eqcommand[\فضاضخیم]{\thickspace} +\eqcommand[\خطهانازک]{\thinlines} +\eqcommand[\فضانازک]{\thinspace} +\eqcommand[\اینصفحهتجملی]{\thisfancypage} +\eqcommand[\سبکاینصفحه]{\thispagestyle} +\eqcommand[\مد]{\tilde} +\eqcommand[\ریز]{\tiny} +\eqcommand[\ضرب]{\times} +\eqcommand[\عنوان]{\title} +\eqcommand[\به]{\to} +\eqcommand[\امروز]{\today} +\eqcommand[\بالا]{\top} +\eqcommand[\نواربالایشکل]{\topfigrule} +\eqcommand[\کسربالا]{\topfraction} +\eqcommand[\حاشیهبالا]{\topmargin} +\eqcommand[\جداگربالا]{\topsep} +\eqcommand[\پرشبالا]{\topskip} +\eqcommand[\ارتفاعکلی]{\totalheight} +\eqcommand[\مثلث]{\triangle} +\eqcommand[\پیشفرضتایپ]{\ttdefault} +\eqcommand[\خانوادهتایپ]{\ttfamily} +\eqcommand[\دوستون]{\twocolumn} +\eqcommand[\زیرخط]{\underline} +\eqcommand[\پیشفرضایستاده]{\updefault} +\eqcommand[\استفادهکادر]{\usebox} +\eqcommand[\استفادهشمارنده]{\usecounter} +\eqcommand[\استفادهفونت]{\usefont} +\eqcommand[\استفادهبسته]{\usepackage} +\eqcommand[\ارزش]{\value} +\eqcommand[\کبک]{\verb} +\eqcommand[\پررع]{\vfill} +\eqcommand[\نمایان]{\visible} +\eqcommand[\خطع]{\vline} +\eqcommand[\مبداع]{\voffset} +\eqcommand[\ارجاعصفحهع]{\vpageref} +\eqcommand[\ارجاعع]{\vref} +\eqcommand[\فضایع]{\vspace} +\eqcommand[\مادامبکن]{\whiledo} +\eqcommand[\کلاهپهن]{\widehat} +\eqcommand[\مدپهن]{\widetilde} +\eqcommand[\عرض]{\width} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 62b7995cba6..f1caba559da 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def @@ -1,20 +1,16 @@ %% %% This is file `commands-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `commands-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% - +\ProvidesFile{commands-xepersian.def}[2010/03/01 v0.0 Persian localisation of XePersian commands] %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 6f1998fd675..75438cafdf4 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def @@ -1,17 +1,14 @@ %% %% This is file `enumerate-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `enumerate-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{enumerate-xepersian.def}[2010/03/01 v0.1 adaptations for enumerate package] \def\@enloop@{% \ifx ا\@entemp \def\@tempa{\@enLabel\harfi }\else \ifx ی\@entemp \def\@tempa{\@enLabel\adadi }\else @@ -29,7 +26,7 @@ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi \@tempa} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 996ce5b3047..5bf7651d489 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def @@ -1,81 +1,58 @@ %% %% This is file `environments-ltx.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `environments-ltx.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% -\eqenvironment[]{abstract} -\eqenvironment[]{align} -\eqenvironment[]{alignat} -\eqenvironment[]{aligned} -\eqenvironment[]{appendix} -\eqenvironment[]{array} -\eqenvironment[]{center} -\eqenvironment[]{alltt} -\eqenvironment[]{bmatrix} -\eqenvironment[]{Bmatrix} -\eqenvironment[]{cases} -\eqenvironment[]{description} -\eqenvironment[]{displaymath} -\eqenvironment[]{enumerate} -\eqenvironment[]{eqnarray} -\eqenvironment[]{eqnarray*} -\eqenvironment[]{equation} -\eqenvironment[]{equation*} -\eqenvironment[]{falign} -\eqenvironment[]{figure} -\eqenvironment[]{figure*} -\eqenvironment[]{filecontents} -\eqenvironment[]{filecontents*} -\eqenvironment[]{flushleft} -\eqenvironment[]{flushright} -\eqenvironment[]{gather} -\eqenvironment[]{gathered} -\eqenvironment[]{itemize} -\eqenvironment[]{letter} -\eqenvironment[]{list} -\eqenvironment[]{longtable} -\eqenvironment[]{lrbox} -\eqenvironment[]{math} -\eqenvironment[]{matrix} -\eqenvironment[]{minipage} -\eqenvironment[]{multicols} -\eqenvironment[]{multline} -\eqenvironment[]{note} -\eqenvironment[]{overlay} -\eqenvironment[]{picture} -\eqenvironment[]{pmatrix} -\eqenvironment[]{quotation} -\eqenvironment[]{quote} -\eqenvironment[]{slide} -\eqenvironment[]{sloppypar} -\eqenvironment[]{split} -\eqenvironment[]{subarray} -\eqenvironment[]{subequations} -\eqenvironment[]{tabbing} -\eqenvironment[]{table} -\eqenvironment[]{table*} -\eqenvironment[]{tabular} -\eqenvironment[]{tabular*} -\eqenvironment[]{thebibliography} -\eqenvironment[]{theindex} -\eqenvironment[]{titlepage} -\eqenvironment[]{trivlist} -\eqenvironment[]{verbatim} -\eqenvironment[]{verbatim*} -\eqenvironment[]{verse} -\eqenvironment[]{vmatrix} -\eqenvironment[]{Vmatrix} +\ProvidesFile{environments-ltx.def}[2010/03/01 v0.1 Persian localisation of LaTeX2e environments] +\eqenvironment[چکیده]{abstract} +\eqenvironment[پیوست]{appendix} +\eqenvironment[آرایه]{array} +\eqenvironment[وسط]{center} +\eqenvironment[توضیح]{description} +\eqenvironment[شمارهبندی]{enumerate} +\eqenvironment[شکل]{figure} +\eqenvironment[شکل*]{figure*} +\eqenvironment[محتویاتپرونده]{filecontents} +\eqenvironment[محتویاتپرونده*]{filecontents*} +\eqenvironment[چپچین]{flushleft} +\eqenvironment[راستچین]{flushright} +\eqenvironment[بنددار]{itemize} +\eqenvironment[نامه]{letter} +\eqenvironment[لیست]{list} +\eqenvironment[جدولدراز]{longtable} +\eqenvironment[کادررچ]{lrbox} +\eqenvironment[ریاضی]{math} +\eqenvironment[ماتریس]{matrix} +\eqenvironment[صفحهکوچک]{minipage} +\eqenvironment[چندستونیها]{multicols} +\eqenvironment[چندخطی]{multline} +\eqenvironment[یادداشت]{note} +\eqenvironment[انباشتن]{overlay} +\eqenvironment[تصویر]{picture} +\eqenvironment[اقتباس]{quotation} +\eqenvironment[نقل]{quote} +\eqenvironment[اسلاید]{slide} +\eqenvironment[پارنامرتب]{sloppypar} +\eqenvironment[شکافتن]{split} +\eqenvironment[زیرآرایه]{subarray} +\eqenvironment[جدولبندی]{tabbing} +\eqenvironment[لوح]{table} +\eqenvironment[لوح*]{table*} +\eqenvironment[جدول]{tabular} +\eqenvironment[جدول*]{tabular*} +\eqenvironment[محتوایکتابنامه]{thebibliography} +\eqenvironment[محتواینمایه]{theindex} +\eqenvironment[صفحهعنوان]{titlepage} +\eqenvironment[کلمهبهکلمه]{verbatim} +\eqenvironment[کلمهبهکلمه*]{verbatim*} +\eqenvironment[شعر]{verse} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 86e1256ccc4..0406231135f 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def @@ -1,20 +1,16 @@ %% %% This is file `environments-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `environments-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% - +\ProvidesFile{environments-xepersian.def}[2010/03/01 v0.1 Persian localisation of XePersian and bidi environments] %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 298e9fe9186..153353797e4 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def @@ -1,17 +1,14 @@ %% %% This is file `extbook-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `extbook-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{extbook-xepersian.def}[2010/03/01 v0.1 adaptations for extbook class] \renewcommand\frontmatter{% \cleardoublepage \@mainmatterfalse @@ -28,7 +25,7 @@ \gdef\thechapter{\@harfi\c@chapter} }%end appendix %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 new file mode 100644 index 00000000000..befb2d3ce56 --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def @@ -0,0 +1,54 @@ +%% +%% This is file `flowfram-xepersian.def', + +%% +%% __________________________________ +%% Copyright © 2009-2010 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesFile{flowfram-xepersian.def}[2010/03/01 v0.1 adaptations for flowfram package] +\def\@outputpage{% +\begingroup + \let\protect\noexpand + \@resetactivechars + \global\let\@@if@newlist\if@newlist + \global\@newlistfalse\@parboxrestore + \shipout\vbox{\set@typeset@protect + \aftergroup + \endgroup + \aftergroup + \set@typeset@protect + \reset@font\normalsize\normalsfcodes + \let\label\@gobble + \let\index\@gobble + \let\glossary\@gobble + \baselineskip\z@skip + \lineskip\z@skip + \lineskiplimit\z@ + \vskip\topmargin\moveright\@themargin + \vbox{% + \vskip\headheight + \vskip\headsep + \box\@outputbox + }}% + \global\let\if@newlist\@@if@newlist + \stepcounter{page}% + \setcounter{displayedframe}{0}% + \let\firstmark\botmark} +%% +%% Copyright © 2009-2010 by Vafa Khalighi <vafa@users.berlios.de> +%% +%% Distributable under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) +%% by Vafa Khalighi. +%% +%% +%% +%% +%% +%% End of file `flowfram-xepersian.def'. 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 e71891a73be..8df109fb1f0 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def @@ -1,17 +1,14 @@ %% %% This is file `footnote-bidi-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `footnote-bidi-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{footnote-bidi-xepersian.def}[2010/03/01 v0.2 footnote macros for xepersian package] \long\def\@footnotetext#1{% \begingroup \setbox\footins @@ -54,50 +51,50 @@ \bidi@footnotetext@after \insert\footins{\unvbox\footins}% \endgroup} -\long\def\@mpfootnotetext#1{ - \global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi +\long\def\@mpfootnotetext#1{% + \global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% \unvbox\@mpfootins \reset@font\footnotesize \hsize\columnwidth \@parboxrestore \protected@edef\@currentlabel - {\csname p@mpfootnote\endcsname\@thefnmark} + {\csname p@mpfootnote\endcsname\@thefnmark}% \color@begingroup \bidi@footnotetext@dir{#1} - \if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi - \@makefntext{ - \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox} + \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{ - \global\setbox\@mpfootins\vbox{\@RTLtrue +\long\def\@mpRTLfootnotetext#1{% + \global\setbox\@mpfootins\vbox{\@RTLtrue% \unvbox\@mpfootins \reset@font\footnotesize \hsize\columnwidth \@parboxrestore \protected@edef\@currentlabel - {\csname p@mpfootnote\endcsname\@thefnmark} + {\csname p@mpfootnote\endcsname\@thefnmark}% \color@begingroup \bidi@footnotetext@dir{#1} - \if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi - \@makefntext{ - \rule\z@\footnotesep\ignorespaces\persianfont#1\@finalstrut\strutbox} + \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}} -\long\def\@mpLTRfootnotetext#1{ - \global\setbox\@mpfootins\vbox{\@RTLfalse +\long\def\@mpLTRfootnotetext#1{% + \global\setbox\@mpfootins\vbox{\@RTLfalse% \unvbox\@mpfootins \reset@font\footnotesize \hsize\columnwidth \@parboxrestore \protected@edef\@currentlabel - {\csname p@mpfootnote\endcsname\@thefnmark} + {\csname p@mpfootnote\endcsname\@thefnmark}% \color@begingroup \bidi@footnotetext@dir{#1} - \if@RTL\global\let\bidi@footnoterule\right@footnote\else\global\let\bidi@footnoterule\left@footnote\fi - \@makefntext{ - \rule\z@\footnotesep\ignorespaces\latinfont#1\@finalstrut\strutbox} + \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}% \color@endgroup}} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 new file mode 100644 index 00000000000..7a4551b5720 --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def @@ -0,0 +1,51 @@ +%% +%% This is file `hyperref-xepersian.def', + +%% +%% __________________________________ +%% Copyright © 2008-2010 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesFile{hyperref-xepersian.def}[2010/03/01 v0.1 bilingual captions for hyperref package] + \def\equationautorefname{\if@RTL معادله\else Equation\fi}% + \def\footnoteautorefname{\if@RTL زیرنویس\else footnote\fi}% + \def\itemautorefname{\if@RTL فقره\else item\fi}% + \def\figureautorefname{\if@RTL شکل\else Figure\fi}% + \def\tableautorefname{\if@RTL جدول\else Table\fi}% + \def\partautorefname{\if@RTL بخش\else Part\fi}% + \def\appendixautorefname{\if@RTL ضمیمه\else Appendix\fi}% + \def\chapterautorefname{\if@RTL فصل\else chapter\fi}% + \def\sectionautorefname{\if@RTL قسمت\else section\fi}% + \def\subsectionautorefname{\if@RTL زیرقسمت\else subsection\fi}% + \def\subsubsectionautorefname{\if@RTL زیرزیرقسمت\else subsubsection\fi}% + \def\paragraphautorefname{\if@RTL پاراگراف\else paragraph\fi}% + \def\subparagraphautorefname{\if@RTL زیرپاراگراف\else subparagraph\fi}% + \def\FancyVerbLineautorefname{\if@RTL سطر\else line\fi}% + \def\theoremautorefname{\if@RTL قضیه\else Theorem\fi}% + \def\pageautorefname{\if@RTL صفحه\else page\fi}% +\AtBeginDocument{% +\let\HyOrg@appendix\appendix +\def\appendix{% + \@ifundefined{chapter}% + {\gdef\theHsection{\arabic{section}}}% + {\gdef\theHchapter{\arabic{chapter}}}% + \xdef\Hy@chapapp{\Hy@appendixstring}% + \HyOrg@appendix +}} +%% +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> +%% +%% Distributable under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) +%% by Vafa Khalighi. +%% +%% +%% +%% +%% +%% End of file `hyperref-xepersian.def'. diff --git a/Master/texmf-dist/tex/xelatex/xepersian/img/ireland.jpg b/Master/texmf-dist/tex/xelatex/xepersian/img/ireland.jpg Binary files differdeleted file mode 100755 index bacd5b97700..00000000000 --- a/Master/texmf-dist/tex/xelatex/xepersian/img/ireland.jpg +++ /dev/null diff --git a/Master/texmf-dist/tex/xelatex/xepersian/img/weather/clouds.jpg b/Master/texmf-dist/tex/xelatex/xepersian/img/weather/clouds.jpg Binary files differdeleted file mode 100755 index b4073a07231..00000000000 --- a/Master/texmf-dist/tex/xelatex/xepersian/img/weather/clouds.jpg +++ /dev/null diff --git a/Master/texmf-dist/tex/xelatex/xepersian/img/weather/rain.jpg b/Master/texmf-dist/tex/xelatex/xepersian/img/weather/rain.jpg Binary files differdeleted file mode 100755 index f33b75e7a0c..00000000000 --- a/Master/texmf-dist/tex/xelatex/xepersian/img/weather/rain.jpg +++ /dev/null diff --git a/Master/texmf-dist/tex/xelatex/xepersian/img/weather/sun.jpg b/Master/texmf-dist/tex/xelatex/xepersian/img/weather/sun.jpg Binary files differdeleted file mode 100755 index 1e823100386..00000000000 --- a/Master/texmf-dist/tex/xelatex/xepersian/img/weather/sun.jpg +++ /dev/null diff --git a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def index 76325f1a653..49431d25b2a 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def @@ -1,17 +1,14 @@ %% %% This is file `kashida-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `kashida-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{kashida-xepersian.def}[2010/03/01 v0.1 implementation of Kashida for xepersian package] \chardef\zwj="200D % zero-width joiner \chardef\ksh="0640 % kashida @@ -54,7 +51,7 @@ \XeTeXinterchartokenstate=1 %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 5963ea43195..306fcabac27 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def @@ -1,21 +1,18 @@ %% %% This is file `listings-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `listings-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{listings-xepersian.def}[2010/03/01 v0.1 bilingual captions for listings package] \def\lstlistingname{برنامهٔ} \def\lstlistlistingname{فهرست برنامهها} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 new file mode 100644 index 00000000000..121f3572cd1 --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def @@ -0,0 +1,52 @@ +%% +%% This is file `loadingorder-bidi-xepersian.def', + +%% +%% __________________________________ +%% Copyright © 2009-2010 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesFile{loadingorder-bidi-xepersian.def}[2010/03/01 v0.1 making sure that xepersian is the last package loaded] +\bidi@isloaded{algorithmic} +\bidi@isloaded{algorithm} +\bidi@isloaded{backref} +\bidi@isloaded{enumerate} +\bidi@isloaded{subfigure} +\bidi@isloaded{tocloft} +\AtBeginDocument{ + \if@bidi@algorithmicloaded@\else + \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithmic after xepersian package. Please load package algorithmic before xepersian package, and then try to run xelatex on your document again}{}]{algorithmic} + \fi% + \if@bidi@algorithmloaded@\else + \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithm after xepersian package. Please load package algorithm before xepersian package, and then try to run xelatex on your document again}{}]{algorithm} + \fi% + \if@bidi@backrefloaded@\else + \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package backref after xepersian package. Please load package backref before xepersian package, and then try to run xelatex on your document again}{}]{backref} + \fi% + \if@bidi@enumerateloaded@\else + \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package enumerate after xepersian package. Please load package enumerate before xepersian package, and then try to run xelatex on your document again}{}]{enumerate} + \fi% + \if@bidi@subfigureloaded@% + \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package subfigure before xepersian package. Please load package subfigure after xepersian package, and then try to run xelatex on your document again}{}]{subfigure} +\else\fi% + \if@bidi@tocloftloaded@\else + \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package tocloft after xepersian package. Please load package tocloft before xepersian package, and then try to run xelatex on your document again}{}]{tocloft} + \fi% +} +%% +%% Copyright © 2009-2010 by Vafa Khalighi <vafa@users.berlios.de> +%% +%% Distributable under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) +%% by Vafa Khalighi. +%% +%% +%% +%% +%% +%% End of file `loadingorder-bidi-xepersian.def'. diff --git a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def index a5fdd4d44a0..478436ef1dd 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def @@ -1,43 +1,24 @@ %% %% This is file `localise-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `localise-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% -\catcode`\﷼=3 +\ProvidesFile{localise-xepersian.def}[2010/03/01 v0.2 Persian localisation of LaTeX2e] \catcode`=11 \newcommand\eqcommand[2][]{\let#1=#2} \newcommand\eqenvironment[2][]{\newenvironment{#1}{\begin{#2}}{\end{#2}}} -\define@key[zf]{options}{مقیاس}{% - \edef\@tempa{#1}% - \edef\@tempb{MatchLowercase}% - \ifx\@tempa\@tempb - \zf@calc@scale{5}% - \else - \edef\@tempb{MatchUppercase}% - \ifx\@tempa\@tempb - \zf@calc@scale{8}% - \else - \edef\zf@scale{#1}% - \fi - \fi - \zf@update@family{+scale:\zf@scale}% - \edef\zf@scale{s*[\zf@scale]}} \input{commands-ltx.def} \input{commands-xepersian.def} \input{environments-ltx.def} \input{environments-xepersian.def} \input{misccommandsenvironments-ltx.def} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 4137597ce92..09621583539 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def @@ -1,17 +1,14 @@ %% %% This is file `memoir-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `memoir-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{memoir-xepersian.def}[2010/03/01 v0.1 adaptations for memoir class] \renewcommand{\@memfront}{% \@smemfront\pagenumbering{harfi}} \renewcommand{\setthesection}{\thechapter\@SepMark\harfi{section}} @@ -24,7 +21,7 @@ \gdef\thechapter{\@harfi\c@chapter}% \anappendixtrue} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 67ff92b9753..e64473ffdea 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def @@ -1,17 +1,14 @@ %% %% This is file `minitoc-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `minitoc-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{minitoc-xepersian.def}[2010/03/01 v0.1 bilingual captions for minitoc package] \def\ptctitle{\if@RTL فهرست مطالب\else Table of Contents\fi}% \def\plftitle{\if@RTL لیست تصاویر\else List of Figures\fi}% \def\plttitle{\if@RTL لیست جداول\else List of Tables\fi}% @@ -22,7 +19,7 @@ \def\slftitle{\if@RTL اشکال\else Figures\fi}% \def\slttitle{\if@RTL جداول\else Tables\fi}% %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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/misccommandsenvironments-ltx.def b/Master/texmf-dist/tex/xelatex/xepersian/misccommandsenvironments-ltx.def index 305d8903472..00e93b8e752 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/misccommandsenvironments-ltx.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/misccommandsenvironments-ltx.def @@ -1,21 +1,18 @@ %% %% This is file `misccommandsenvironments-ltx.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `misccommandsenvironments-ltx.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% -\eqcommand[\سند]{\document} -\eqcommand[\endسند]{\enddocument} +\ProvidesFile{misccommandsenvironments-ltx.def}[2010/03/01 v0.1 Persian localisation of LaTeX2e miscellaneous commands and environments] +\eqcommand[\نوشتار]{\document} +\eqcommand[\endنوشتار]{\enddocument} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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/multicol-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/multicol-xepersian.def new file mode 100644 index 00000000000..cc94697399e --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/xepersian/multicol-xepersian.def @@ -0,0 +1,110 @@ +%% +%% This is file `multicol-xepersian.def', + +%% +%% __________________________________ +%% Copyright © 2008-2010 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesFile{multicol-xepersian.def}[2010/03/01 v0.1 adaptations for multicol package] +\long\def\@footnotetext#1{% + \begingroup + \setbox\footins + \vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi\reset@font\footnotesize + \interlinepenalty\interfootnotelinepenalty + \splittopskip\footnotesep + \splitmaxdepth \dp\strutbox \floatingpenalty \@MM + \hsize\textwidth \@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 + \interlinepenalty\interfootnotelinepenalty + \splittopskip\footnotesep + \splitmaxdepth \dp\strutbox \floatingpenalty \@MM + \hsize\textwidth \@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 + \interlinepenalty\interfootnotelinepenalty + \splittopskip\footnotesep + \splitmaxdepth \dp\strutbox \floatingpenalty \@MM + \hsize\textwidth \@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} +\long\def\@mpfootnotetext#1{% + \global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \unvbox\@mpfootins + \reset@font\footnotesize + \hsize\textwidth + \@parboxrestore + \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{% + \global\setbox\@mpfootins\vbox{\@RTLtrue% + \unvbox\@mpfootins + \reset@font\footnotesize + \hsize\textwidth + \@parboxrestore + \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}} +\long\def\@mpLTRfootnotetext#1{% + \global\setbox\@mpfootins\vbox{\@RTLfalse% + \unvbox\@mpfootins + \reset@font\footnotesize + \hsize\textwidth + \@parboxrestore + \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}% + \color@endgroup}} +%% +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> +%% +%% Distributable under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) +%% by Vafa Khalighi. +%% +%% +%% +%% +%% +%% End of file `multicol-xepersian.def'. diff --git a/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def index c4f35c6a5f6..3446b83c74c 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def @@ -1,17 +1,14 @@ %% %% This is file `rapport3-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `rapport3-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{rapport3-xepersian.def}[2010/03/01 v0.1 adaptations for rapport3 class] \renewcommand*\thepart{\@tartibi\c@part} \renewcommand*\appendix{\par \setcounter{chapter}{0}% @@ -19,7 +16,7 @@ \gdef\@chapapp{\appendixname}% \gdef\thechapter{\@harfi\c@chapter}} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 7c34218c196..272181bbdb8 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def @@ -1,17 +1,14 @@ %% %% This is file `refrep-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `refrep-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{refrep-xepersian.def}[2010/03/01 v0.1 adaptations for refrep class] \renewcommand \thepart {\@tartibi\c@part} \renewcommand\appendix{\par \setcounter{chapter}{0}% @@ -20,7 +17,7 @@ \gdef\thechapter{\@harfi\c@chapter} }%end appendix %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 d88e4ece981..a344706fc00 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def @@ -1,17 +1,14 @@ %% %% This is file `report-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `report-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{report-xepersian.def}[2010/03/01 v0.1 adaptations for standard report class] \renewcommand \thepart {\@tartibi\c@part} \renewcommand\appendix{\par \setcounter{chapter}{0}% @@ -20,7 +17,7 @@ \gdef\thechapter{\@harfi\c@chapter} }%end appendix %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 beafd08bf27..f74704361d5 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def @@ -1,24 +1,14 @@ %% %% This is file `scrartcl-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `scrartcl-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% -\renewcommand*\descfont{\if@RTL\persiansffamily\else\sffamily\fi\bfseries} -\DeclareOldFontCommand{\sf}{\normalfont\if@RTL\persiansffamily\else\sffamily\fi}{\mathsf} -\DeclareOldFontCommand{\tt}{\normalfont\if@RTL\persianttfamily\else\ttfamily\fi}{\mathtt} -\DeclareOldFontCommand{\sfb}{\normalfont\if@RTL\persiansffamily\else\sffamily\fi\bfseries}{% - \@nomath\sfb} -\renewcommand*\sectfont{\normalcolor\if@RTL\persiansffamily\else\sffamily\fi\bfseries} -\newkomafont{dictum-xepersian}{\normalfont\normalcolor\if@RTL\persiansffamily\else\sffamily\fi\small} +\ProvidesFile{scrartcl-xepersian.def}[2010/03/01 v0.1 adaptations for scrartcl class] \renewcommand*{\thepart}{\@tartibi\c@part} \renewcommand*\appendix{\par% \setcounter{section}{0}% @@ -48,7 +38,7 @@ \@@maybeautodot } %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 eb621e8468b..a6936a71b2f 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def @@ -1,24 +1,14 @@ %% %% This is file `scrbook-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `scrbook-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% -\renewcommand*\descfont{\if@RTL\persiansffamily\else\sffamily\fi\bfseries} -\DeclareOldFontCommand{\sf}{\normalfont\if@RTL\persiansffamily\else\sffamily\fi}{\mathsf} -\DeclareOldFontCommand{\tt}{\normalfont\if@RTL\persianttfamily\else\ttfamily\fi}{\mathtt} -\DeclareOldFontCommand{\sfb}{\normalfont\if@RTL\persiansffamily\else\sffamily\fi\bfseries}{% - \@nomath\sfb} -\renewcommand*\sectfont{\normalcolor\if@RTL\persiansffamily\else\sffamily\fi\bfseries} -\newkomafont{dictum-xepersian}{\normalfont\normalcolor\if@RTL\persiansffamily\else\sffamily\fi\small} +\ProvidesFile{scrbook-xepersian.def}[2010/03/01 v0.1 adaptations for scrbook class] \renewcommand*\frontmatter{% \if@twoside\cleardoubleoddpage\else\clearpage\fi \@mainmatterfalse\pagenumbering{harfi}% @@ -53,7 +43,7 @@ \@@maybeautodot } %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 ce36d9f3d8c..7f00988b109 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def @@ -1,24 +1,14 @@ %% %% This is file `scrreprt-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `scrreprt-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% -\renewcommand*\descfont{\if@RTL\persiansffamily\else\sffamily\fi\bfseries} -\DeclareOldFontCommand{\sf}{\normalfont\if@RTL\persiansffamily\else\sffamily\fi}{\mathsf} -\DeclareOldFontCommand{\tt}{\normalfont\if@RTL\persianttfamily\else\ttfamily\fi}{\mathtt} -\DeclareOldFontCommand{\sfb}{\normalfont\if@RTL\persiansffamily\else\sffamily\fi\bfseries}{% - \@nomath\sfb} -\renewcommand*\sectfont{\normalcolor\if@RTL\persiansffamily\else\sffamily\fi\bfseries} -\newkomafont{dictum-xepersian}{\normalfont\normalcolor\if@RTL\persiansffamily\else\sffamily\fi\small} +\ProvidesFile{scrreprt-xepersian.def}[2010/03/01 v0.1 adaptations for scrreprt class] \renewcommand*{\thepart}{\@tartibi\c@part} \renewcommand*\appendix{\par% \setcounter{chapter}{0}% @@ -49,7 +39,7 @@ \@@maybeautodot } %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 72821e6cae7..b219ceab75b 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def @@ -1,17 +1,14 @@ %% %% This is file `tocloft-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `tocloft-xepersian.def') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{tocloft-xepersian.def}[2010/03/01 v0.1 bilingual captions for tocloft package] \renewcommand*{\cftchapname}{\if@RTL فصل\else chapter\fi} \renewcommand*{\cftsecname}{\if@RTL قسمت\else section\fi} \renewcommand*{\cftsubsecname}{\if@RTL زیرقسمت\else subsection\fi} @@ -23,7 +20,7 @@ \renewcommand*{\cfttabname}{\if@RTL جدول\else table\fi} \renewcommand*{\cftsubtabname}{\if@RTL زیرجدول\else subtable\fi} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 f17eec1b48f..01e0db67075 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls @@ -1,13 +1,9 @@ %% %% This is file `xepersian-magazine.cls', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `xepersian-magazine.cls') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% @@ -62,7 +58,7 @@ \RequirePackage{ifxetex} \RequirePackage{multido} \RequirePackage{datetime} -\RequirePackage{fmultico} +\RequirePackage{multicol} \RequirePackage{fancyhdr} \RequirePackage{fancybox} \ifthenelse{\boolean{xepersian@a3paper}}{% @@ -882,7 +878,7 @@ indexblock environment may only appear inside frontpage environment. {\noindent #2}\\ } %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 845b7398b75..be84093a13e 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty @@ -1,13 +1,9 @@ %% %% This is file `xepersian-mathsdigitspec.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `xepersian-mathsdigitspec.sty') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% @@ -46,6 +42,7 @@ \DeclareMathAlphabet {\mathit}{EU1}{\zf@family}{m}{it} \DeclareSymbolFontAlphabet{\mathrm} {OPERATORS} \DeclareMathAlphabet {\mathbf}{EU1}{\zf@family}{bx}{n} + \def\persianmathsdigits{% \SetMathCode{`0}{\mathalpha}{OPERATORS}{"06F0} \SetMathCode{`1}{\mathalpha}{OPERATORS}{"06F1} \SetMathCode{`2}{\mathalpha}{OPERATORS}{"06F2} @@ -56,7 +53,8 @@ \SetMathCode{`7}{\mathalpha}{OPERATORS}{"06F7} \SetMathCode{`8}{\mathalpha}{OPERATORS}{"06F8} \SetMathCode{`9}{\mathalpha}{OPERATORS}{"06F9} - \SetMathCharDef{\decimalseparator}{\mathpunct}{OPERATORS}{"066B} + \SetMathCode{`\%}{\mathbin}{OPERATORS}{`٪} + \SetMathCharDef{\decimalseparator}{\mathpunct}{OPERATORS}{"066B}} } \ifx\newcommand\undefined\else \newcommand{\ZifferAn}{} @@ -89,8 +87,14 @@ \fi} \mathcode`.="8000\relax \def\ZifferLeer{\ifx\decimalseparator\undefied .\else \decimalseparator\fi} +\def\DefaultMathsDigits{\def\SetMathsDigits{}} +\def\PersianMathsDigits{\def\SetMathsDigits{\ifx\persianmathsdigits\undefied\else\persianmathsdigits\fi}} +\def\AutoMathsDigits{\def\SetMathsDigits{\ifx\persianmathsdigits\undefied\else\if@Latin\else\persianmathsdigits\fi\fi}} +\AutoMathsDigits +\everymath{\SetMathsDigits} +\everydisplay{\SetMathsDigits} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 226ccacf409..f60c1b1a404 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty @@ -1,13 +1,9 @@ %% %% This is file `xepersian-multiplechoice.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `xepersian-multiplechoice.sty') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% @@ -20,7 +16,7 @@ \RequirePackage{ifthen} \RequirePackage{calc} \RequirePackage{verbatim} -\RequirePackage{fmultico} +\RequirePackage{multicol} \def\@headerfont{\bfseries} \newcommand\headerfont[1]{\gdef\@headerfont{#1}} \def\@X{X} @@ -148,7 +144,7 @@ \questiontitle{سؤال \thequestion:} \ProcessOptions %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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 c3ed422f0d6..bcc170cae8d 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty @@ -1,19 +1,15 @@ %% %% This is file `xepersian-persiancal.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `xepersian-persiancal.sty') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{xepersian-persiancal} +\ProvidesPackage{xepersian-persiancal}[2010/03/01 v0.1 provides Persian calendar] \newif\ifXePersian@leap \newif\ifXePersian@kabiseh \newcount\XePersian@i \newcount\XePersian@y \newcount\XePersian@m \newcount\XePersian@d @@ -181,7 +177,7 @@ دی\or بهمن\or اسفند\fi} %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable 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-thesis-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-thesis-xepersian.def deleted file mode 100644 index 2c416f9af98..00000000000 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-thesis-xepersian.def +++ /dev/null @@ -1,36 +0,0 @@ -%% -%% This is file `xepersian-thesis-xepersian.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `xepersian-thesis-xepersian.def') -%% -%% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi -%% -%% License information appended. -%% -%% -\renewcommand \thepart {\@tartibi\c@part} -\renewcommand\appendix{\par - \setcounter{chapter}{0}% - \setcounter{section}{0}% - \gdef\@chapapp{\appendixname}% - \gdef\thechapter{\@harfi\c@chapter} -}%end appendix -%% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> -%% -%% Distributable under the LaTeX Project Public License, -%% version 1.3c or higher (your choice). The latest version of -%% this license is at: http://www.latex-project.org/lppl.txt -%% -%% This work is "maintained" (as per LPPL maintenance status) -%% by Vafa Khalighi. -%% -%% -%% -%% -%% -%% End of file `xepersian-thesis-xepersian.def'. diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-thesis.cls b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-thesis.cls deleted file mode 100644 index f80b47ebc52..00000000000 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-thesis.cls +++ /dev/null @@ -1,174 +0,0 @@ -%% -%% This is file `xepersian-thesis.cls', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `xepersian-thesis.cls') -%% -%% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi -%% -%% License information appended. -%% -%% -\NeedsTeXFormat{LaTeX2e} -\ProvidesClass{xepersian-thesis} - [2009/01/05 v0.1 - Persian thesis document class in XeLaTeX] -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}} -\ProcessOptions -\LoadClass{report} -\def\university#1{\gdef\@university{#1}} -\def\department#1{\gdef\@department{#1}} -\def\degree#1{\gdef\@degree{#1}} -\def\thesisdate#1{\gdef\@thesisdate{#1}} -\def\supervisor#1{\gdef\@supervisor{#1}} -\def\city#1{\gdef\@city{#1}} - -\def\latintitle#1{\gdef\@latintitle{#1}} -\def\latinauthor#1{\gdef\@latinauthor{#1}} -\def\latindegree#1{\gdef\@latindegree{#1}} -\def\latindepartment#1{\gdef\@latindepartment{#1}} -\def\latinthesisdate#1{\gdef\@latinthesisdate{#1}} -\def\latinsupervisor#1{\gdef\@latinsupervisor{#1}} -\def\latincity#1{\gdef\@latincity{#1}} -\def\latinuniversity#1{\gdef\@latinuniversity{#1}} - -\def\maketitle{\begin{titlepage} -{\includegraphics{logo}} -\vskip 1.5cm -{\Huge\bfseries \@title}\par -\vskip 1cm -{\large% - \by}\par -{\Large\bfseries \@author}\par -\vskip 5mm -{\large\bfseries\writtenfor -\par -\@degree} -\par -\vskip 1cm -{\large - \undersupervision\par -\Large\bfseries \@supervisor} -\par -\vskip 1cm -{\large \@thesisdate} -\par -\vskip 1cm -{\large\bfseries\departmentof\space\@department} -\par -{\large\bfseries\universityof\space\@university \par\@city} -\vfill -\end{titlepage}% -} - -\def\abstractpage{\newpage -\thispagestyle{empty} -\vskip 15mm -\begin{center}{\large{\bfseries \@title} \\} -\end{center} -\par -\begin{abstract}} -\def\endabstractpage{\end{abstract} -\newpage -} - -\def\latinabstract{\newpage -\thispagestyle{empty} -\vskip 15mm -\begin{center}{\Large\bfseries \@latintitle \\[5mm]} -{\bfseries Abstract} -\end{center} -\vspace{5mm}} - -\def\endlatinabstract{\newpage} - -\def\acknowledgementpage{\newpage -\thispagestyle{empty} -\centerline{\Large \bfseries\acknowledgementname} -\vspace{1cm} -\par\noindent} -\def\endacknowledgementpage{\newpage} - -\def\titlepage{\newpage\centering - \thispagestyle{empty} - \parindent 0pt \parskip 10pt plus 1fil minus 1fil - \def\baselinestretch{1}\@normalsize\vbox to \vsize\bgroup\vbox to 9in\bgroup} -\def\endtitlepage{\par\kern 0pt\egroup\vss\egroup\newpage} - -\def\signature#1#2{\par\noindent#1\dotfill\null\\* - {\raggedright #2\par}} - -\def\abstract{\subsection*{\abstractname}\small -\@normalsize} -\def\endabstract{\par} - -\pagenumbering{harfi} -\let\ol@chapter\@chapter -\def\@chapter{% - \ifnum\c@chapter=0 \pagenumbering{arabic}\setcounter{page}{1}\fi - \ol@chapter} - -\def\keywords#1{\par \vspace{5mm} -{\textbf{واژههای کلیدی:}} {\textit{ #1}}} - -\def\latinkeywords#1{\par \vspace{5mm} -\noindent {\textbf{Keywords:}} {\textit{ #1}}} - -\font\titlefont=cmssbx10 scaled 2074 -\font\supervisorfont=cmbxti10 -\def\makelatintitle{\begin{titlepage} -{\includegraphics{logo}} -\vskip 1.5cm -\addtolength{\baselineskip}{5mm} -{\titlefont \@latintitle} \par -\addtolength{\baselineskip}{-5mm} -\vskip 1cm -{\bfseries\latinby}\par -{\Large\bfseries \@latinauthor}\par -\vskip 5mm -{\latinwrittenfor\par -\large\@latindegree} -\par -\vskip 1cm -Under supervision of \\ -{\supervisorfont\@latinsupervisor} -\par -\vskip 1cm -{\@latinthesisdate} -\par -\vskip 1cm -\large\bfseries -\@latindepartment\space Department -\par -\@latinuniversity \par\@latincity -\vfill -\end{titlepage}% -} - -\def\acknowledgementname{قدردانی} -\def\by{توسط} -\def\writtenfor{ رسالهٔ ارائه شده به عنوان بخشی از ملزومات برای دریافت درجهٔ} -\def\undersupervision{زیر نظر} -\def\departmentof{دانشکدهٔ} -\def\universityof{دانشگاه} -\def\latinby{by} -\def\latinwrittenfor{Submitted in Partial Fulfillment\\ of the Requirements\\ for the Degree of} -\def\latinundersupervision{Under supervision of} -%% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> -%% -%% Distributable under the LaTeX Project Public License, -%% version 1.3c or higher (your choice). The latest version of -%% this license is at: http://www.latex-project.org/lppl.txt -%% -%% This work is "maintained" (as per LPPL maintenance status) -%% by Vafa Khalighi. -%% -%% -%% -%% -%% -%% End of file `xepersian-thesis.cls'. diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty index 25199a6f41e..e3bad8a76dc 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty @@ -1,68 +1,61 @@ %% %% This is file `xepersian.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% xepersian.dtx (with options: `xepersian.sty') + %% %% __________________________________ -%% Copyright © 2008-2009 Vafa Khalighi +%% Copyright © 2008-2010 Vafa Khalighi %% %% License information appended. %% %% \NeedsTeXFormat{LaTeX2e} -\def\xepersianversion{v1.0.3} -\def\xepersianrevision{revision 93} -\def\xepersiandate{2009/08/09} +\def\xepersianversion{v1.0.4} +\def\xepersianrevision{revision 153} +\def\xepersiandate{2010/03/01} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space <\xepersianrevision> Persian typesetting in XeLaTeX] -\DeclareOption{Kashida}{\input{kashida-xepersian.def}} -\DeclareOption{localise}{\input{localise-xepersian.def}} -\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{bidi}} -\ProcessOptions\relax -\newcommand\xepersian@isloaded[2][]{ - \expandafter\ifx\csname if@xepersian@#2loaded@\endcsname\relax - \expandafter\newif\csname if@xepersian@#2loaded@\endcsname - \fi - \@ifpackageloaded{#2} - {\csname @xepersian@#2loaded@true\endcsname #1} - {\csname @xepersian@#2loaded@false\endcsname}} -\xepersian@isloaded{xunicode} -\AtBeginDocument{ - \if@xepersian@xunicodeloaded@ - \xepersian@isloaded[\PackageError{xepersian}{Oops! you have loaded package xunicode before xepersian package. Please load package xunicode after xepersian package, and then try to run xelatex on your document again}{}]{xunicode} - \fi% -} -\AtBeginDocument{\ifdefined\persianfont\relax\else% -\PackageError{xepersian}{Oops! you have not specified any font for the main text of the document. Please specify a font for the main text of the document by using \settextfont\space CS, and then try to run xelatex on your document again}% -\fi} -\AtBeginDocument{\ifdefined\latinfont\relax\else% -\PackageError{xepersian}{Oops! you have not specified any font for the Latin texts of the document. Please specify a font for the Latin texts of the document by using \setlatintextfont\space CS, and then try to run xelatex on your document again}% -\fi} -\AtBeginDocument{\ifdefined\decimalseparator\relax\else% -\PackageWarning{xepersian}{“You have not specified any font for the digits in maths mode and so the digits in maths mode will appear Latin. If you would like to have Persian digits in maths mode, then please specify a font for the digits in maths mode by using \setdigitfont\space CS, and then try to run xelatex on your document again”}% -\fi} -\RequirePackage[RTLdocument]{bidi} \RequirePackage{fontspec} \RequirePackage{xepersian-persiancal} \RequirePackage{xepersian-mathsdigitspec} \RequirePackage{etoolbox} -\AtBeginDocument{\special{pdf: docinfo << -/Creator (X∃Persian \xepersianversion\space <\xepersianrevision> Copyright © 2008-2009 Vafa Khalighi) +\RequirePackage[RTLdocument]{bidi} +\g@addto@macro\document{% +\special{pdf: docinfo << +/Creator (X∃Persian \xepersianversion\space <\xepersianrevision> Copyright © 2008-2010 Vafa Khalighi) >>}} +\edef\xepersianinfo{% +xepersian package (Persian for LaTeX over XeTeX)^^J +Description: The package supports Persian^^J +typesetting, using fonts provided in the distribution.^^J +Copyright © 2008-2010 Vafa Khalighi^^J +\xepersianversion, <\xepersianrevision>, \xepersiandate^^J +License: LaTeX Project Public License, version 1.3c or higher (your choice)^^J +Home: http://xepersian.berlios.de^^J +Location on CTAN: /macros/xetex/latex/xepersian} +\typeout{\xepersianinfo} +\edef\xepersian@everyjob{\the\everyjob} +\everyjob{\xepersian@everyjob\typeout{\xepersianinfo}} \gdef\@latex@error#1#2{% \GenericError{% \space\space\space\@spaces\@spaces\@spaces }{% XePersian Error: #1% }{% - Oops! either you have done something wrong or it is a xepersian bug. Please first produce a similar file without using XePersian package and then compile it with xelatex, if you got the same error, then please study the Persian translation of “The not so Short Introduction to LaTeX” by MEHDI OMIDALI, otherwise please report the error with a minimal tex file which shows the error to the Author of XePersian.% + Oops! either you have done something wrong or it is a xepersian bug. Please first produce a similar file without using XePersian package and then compile it with xelatex, if you got the same error, then either you have been certainly doing something wrong or it is a LaTeX bug, otherwise please report the error with a minimal tex file which shows the error to the Author of XePersian.% }{#2}% } \gdef\@latexbug{% \@latex@error{This may be a XePersian bug}{Please inform the Author of XePersian}} +\AtBeginDocument{\ifdefined\persianfont\relax\else% +\PackageError{xepersian}{Oops! you have not specified any font for the main text of the document. Please specify a font for the main text of the document by using \settextfont\space CS, and then try to run xelatex on your document again}% +\fi} +\AtBeginDocument{\ifdefined\latinfont\relax\else% +\PackageInfo{xepersian}{“You have not specified any font for the Latin texts of the document and so the default TeX fonts will be used for the Latin texts of the document. If you would like to have any other font as the font of the Latin texts, then please specify a font for the Latin texts of the document by using \setlatintextfont\space CS, and then try to run xelatex on your document again”}% +\setlatintextfont[ExternalLocation,BoldFont={lmroman10-bold},BoldItalicFont={lmroman10-bolditalic},ItalicFont={lmroman10-italic},SmallCapsFont={lmromancaps10-regular}]{lmroman10-regular} +\fi} +\AtBeginDocument{\ifdefined\decimalseparator\relax\else% +\PackageInfo{xepersian}{“You have not specified any font for the digits in maths mode and so the digits in maths mode will appear Latin. If you would like to have Persian digits in maths mode, then please specify a font for the digits in maths mode by using \setdigitfont\space CS, and then try to run xelatex on your document again”}% +\fi} \def\prq{«} \def\plq{»} \newfontscript{Persian}{arab} @@ -78,6 +71,8 @@ Persian typesetting in XeLaTeX] \newcommand*\setlatintextfont[2][]{% \newfontfamily\latinfont[Mapping=tex-text,#1]{#2} } +\let\setlatinsansfont\setsansfont +\let\setlatinmonofont\setmonofont \newcommand*\defpersianfont[1]{% \@ifnextchar[{\defpersianfont@i#1}{\defpersianfont@i#1[]}} \def\defpersianfont@i#1[#2]#3{% @@ -96,6 +91,7 @@ Persian typesetting in XeLaTeX] \@tempa} \newcommand\persiansfdefault{} \newcommand\persianttdefault{} +\newcommand\iranicdefault{} \newcommand\navardefault{} \newcommand\pookdefault{} \newcommand\sayehdefault{} @@ -105,6 +101,9 @@ Persian typesetting in XeLaTeX] \DeclareRobustCommand\persianttfamily {\not@math@alphabet\persianttfamily\mathpersiantt \fontfamily\persianttdefault\selectfont} +\DeclareRobustCommand\iranicfamily + {\not@math@alphabet\iranicfamily\mathiranic + \fontfamily\iranicdefault\selectfont} \DeclareRobustCommand\navarfamily {\not@math@alphabet\navarfamily\mathnavar \fontfamily\navardefault\selectfont} @@ -116,6 +115,7 @@ Persian typesetting in XeLaTeX] \fontfamily\sayehdefault\selectfont} \DeclareTextFontCommand{\textpersiansf}{\persiansffamily} \DeclareTextFontCommand{\textpersiantt}{\persianttfamily} +\DeclareTextFontCommand{\textiranic}{\iranicfamily} \DeclareTextFontCommand{\textnavar}{\navarfamily} \DeclareTextFontCommand{\textpook}{\pookfamily} \DeclareTextFontCommand{\textsayeh}{\sayehfamily} @@ -139,32 +139,99 @@ Persian typesetting in XeLaTeX] \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}% \let\sayehdefault\zf@family \normalfont} +\newcommand*\setiranicfont[2][]{% + \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}% + \let\iranicdefault\zf@family + \normalfont} +\def\resetlatinfont{% +\let\normalfont\latinfont% +\latinfont} +\def\setpersianfont{% +\let\normalfont\persianfont% +\persianfont} \def\lr#1{\begingroup\beginL\latinfont#1\endL\endgroup} \def\rl#1{\begingroup\beginR\persianfont#1\endR\endgroup} -\def\latin{\bgroup\LatinAlphs\par\@RTLfalse\@RTL@footnotefalse\let\normalfont\latinfont\latinfont} +\def\latin{\bgroup\LatinAlphs\par\@RTLfalse\@Latintrue\@RTL@footnotefalse\resetlatinfont} \def\endlatin{\par\egroup} -\def\persian{\bgroup\PersianAlphs\par\@RTLtrue\@RTL@footnotetrue\let\normalfont\persianfont\persianfont} +\def\persian{\bgroup\PersianAlphs\par\@RTLtrue\@RTL@footnotetrue\setpersianfont} \def\endpersian{\par\egroup} -\def\Latin{\if@RTL\par\LatinAlphs\@RTLfalse\@RTL@footnotefalse\let\normalfont\latinfont\latinfont\fi} -\def\Persian{\if@RTL\relax\else\par\PersianAlphs\@RTLtrue\@RTL@footnotetrue\let\normalfont\persianfont\persianfont\fi} +\def\Latin{\if@RTL\par\LatinAlphs\@RTLfalse\@Latintrue\@RTL@footnotefalse\resetlatinfont\fi} +\def\Persian{\if@RTL\relax\else\par\PersianAlphs\@RTLtrue\@Latinfalse\@RTL@footnotetrue\setpersianfont\fi} \let\originaltoday=\today \def\today{\lr{\originaltoday}} \let\latintoday\today \def\today{\rl{\persiantoday}} +\def\@outputpage{% +\begingroup % the \endgroup is put in by \aftergroup + \let \protect \noexpand + \@resetactivechars + \global\let\@@if@newlist\if@newlist + \global\@newlistfalse + \@parboxrestore + \shipout \vbox{% + \set@typeset@protect + \aftergroup \endgroup + \aftergroup \set@typeset@protect + % correct? or just restore by ending + % the group? + \if@specialpage + \global\@specialpagefalse\@nameuse{ps@\@specialstyle}% + \fi + \if@twoside + \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot + \let\@themargin\oddsidemargin + \else \let\@thehead\@evenhead + \let\@thefoot\@evenfoot \let\@themargin\evensidemargin + \fi + \ifx\@thehead\@empty \let\@thehead\hfil \fi + \ifx\@thefoot\@empty \let\@thefoot\hfil \fi + \else %% not @twoside + \ifx\@oddhead\@empty \let\@thehead\hfil \fi + \ifx\@oddfoot\@empty \let\@thefoot\hfil \fi + \fi + \reset@font + \normalsize + \if@RTLmain\setpersianfont\else\resetlatinfont\fi + \normalsfcodes + \let\label\@gobble + \let\index\@gobble + \let\glossary\@gobble + \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@ + \@begindvi + \vskip \topmargin + \moveright\@themargin \vbox {% + \setbox\@tempboxa \vbox to\headheight{% + \vfil + \color@hbox + \normalcolor + \hb@xt@\textwidth{\if@RTLmain\beginR\fi\@thehead\if@RTLmain\endR\fi}% + \color@endbox + }% %% 22 Feb 87 + \dp\@tempboxa \z@ + \box\@tempboxa + \vskip \headsep + \box\@outputbox + \baselineskip \footskip + \color@hbox + \normalcolor + \hb@xt@\textwidth{\if@RTLmain\beginR\fi\@thefoot\if@RTLmain\endR\fi}% + \color@endbox + }% + }% + \global\let\if@newlist\@@if@newlist + \global \@colht \textheight + \stepcounter{page}% + \let\firstmark\botmark +} \newcommand\twocolumnstableofcontents{% +\@ifpackageloaded{multicol}{% \begin{multicols}{2}[\section*{\contentsname}]% \small \@starttoc{toc}% \end{multicols}} -\def\XePersian{\lr{\leavevmode$\smash{\hbox{X\lower.5ex - \hbox{\kern-.125em\reflect{E}}Persian}}$}} -\def\TeX{\lr{\@@TeX}} -\def\LaTeX{\lr{\@@LaTeX}} -\def\LaTeXe{\lr{\@@LaTeXe}} -\let\origin@XeTeX\XeTeX -\def\XeTeX{\lr{\origin@XeTeX}} -\let\origin@XeLaTeX\XeLaTeX -\def\XeLaTeX{\lr{\origin@XeLaTeX}} +{\PackageError{xepersian}{Oops! you should load multicol package before xepersian package for being able to use this command.}}} +\def\XePersian{\leavevmode$\smash{\hbox{X\lower.5ex + \hbox{\kern-.125em\reflect{E}}Persian}}$} \def\figurename{\if@RTL شکل\else Figure\fi} \def\tablename{\if@RTL جدول\else Table\fi} \def\contentsname{\if@RTL فهرست مطالب\else Contents\fi} @@ -243,32 +310,38 @@ Persian typesetting in XeLaTeX] \let\@Alph\@latinAlph% } \PersianAlphs +\@ifdefinitionfileloaded{loadingorder-bidi}{\input{loadingorder-bidi-xepersian.def}}{} \@ifpackageloaded{listings}{\input{listings-xepersian.def}}{} \@ifpackageloaded{algorithmic}{\input{algorithmic-xepersian.def}}{} \@ifpackageloaded{algorithm}{\input{algorithm-xepersian.def}}{} \@ifpackageloaded{backref}{\input{backref-xepersian.def}}{} +\@ifpackageloaded{flowfram}{\input{flowfram-xepersian.def}}{} \@ifpackageloaded{bidi}{\input{footnote-bidi-xepersian.def}}{} +\@ifpackageloaded{bidicode}{\input{bidicode-xepersian.def}}{} +\@ifpackageloaded{breqn}{\input{breqn-xepersian.def}}{} \@ifpackageloaded{enumerate}{\input{enumerate-xepersian.def}}{} +\@ifpackageloaded{hyperref}{\input{hyperref-xepersian.def}}{} \@ifpackageloaded{minitoc}{\input{minitoc-xepersian.def}}{} +\@ifpackageloaded{multicol}{\input{multicol-xepersian.def}}{} \@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xepersian.def}}}{} \@ifclassloaded{article}{\input{article-xepersian.def}}{} \@ifclassloaded{amsart}{\input{amsart-xepersian.def}}{} -\@ifclassloaded{bidimoderncv}{\input{bidimoderncv-xepersian.def}}{} \@ifclassloaded{report}{\input{report-xepersian.def}}{} \@ifclassloaded{rapport3}{\input{rapport3-xepersian.def}}{} \@ifclassloaded{scrartcl}{\input{scrartcl-xepersian.def}}{} \@ifclassloaded{scrbook}{\input{scrbook-xepersian.def}}{} \@ifclassloaded{scrreprt}{\input{scrreprt-xepersian.def}}{} -\@ifclassloaded{xepersian-thesis}{\input{xepersian-thesis-xepersian.def}}{} \@ifclassloaded{amsbook}{\input{amsbook-xepersian.def}}{} \@ifclassloaded{bookest}{\input{bookest-xepersian.def}}{} \@ifclassloaded{extbook}{\input{extbook-xepersian.def}}{} \@ifclassloaded{book}{\input{book-xepersian.def}}{} \@ifclassloaded{refrep}{\input{refrep-xepersian.def}}{} -\@ifclassloaded{bidibeamer}{\input{bidibeamer-xepersian.def}}{} \@ifclassloaded{memoir}{\input{memoir-xepersian.def}}{} +\DeclareOption{Kashida}{\input{kashida-xepersian.def}} +\DeclareOption{localise}{\input{localise-xepersian.def}} +\ProcessOptions %% -%% Copyright © 2008-2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of |