summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx')
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx61
1 files changed, 47 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
index c3dfd2f9197..7ff3a2a94e6 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
@@ -5,10 +5,10 @@
%<*readme>
_________________
The XePersian package
-v11.140
+v11.142
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 11.140 and it will be developed to
+Persian easily. The current version is 11.142 and it will be developed to
meet the needs of Persian typesetting properly.
The XePersian package is independent of any operating system, meaning it
@@ -24,7 +24,7 @@ To get help, please explore http://forum.parsilatex.com
______________
Vafa Khalighi
-vkhalighi@me.com
+vafakhlg@gmail.com
Copyright © 2008–2012
Distributed under the LaTeX Project Public License
@@ -54,7 +54,7 @@ by Vafa Khalighi.
\endpreamble
\postamble
-Copyright © 2008–2012 Vafa Khalighi <vkhalighi@me.com>
+Copyright © 2008–2012 Vafa Khalighi <vafakhlg@gmail.com>
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
@@ -121,6 +121,7 @@ by Vafa Khalighi.
\generate{\file{scrartcl-xepersian.def}{\from{\jobname.dtx}{scrartcl-xepersian.def}}}
\generate{\file{scrbook-xepersian.def}{\from{\jobname.dtx}{scrbook-xepersian.def}}}
\generate{\file{scrreprt-xepersian.def}{\from{\jobname.dtx}{scrreprt-xepersian.def}}}
+\generate{\file{tkz-linknodes-xepersian.def}{\from{\jobname.dtx}{tkz-linknodes-xepersian.def}}}
\generate{\file{tocloft-xepersian.def}{\from{\jobname.dtx}{tocloft-xepersian.def}}}
\generate{\file{xepersian.sty}{\from{\jobname.dtx}{xepersian.sty}}}
\generate{\file{xepersian-magazine.cls}{\from{\jobname.dtx}{xepersian-magazine.cls}}}
@@ -155,11 +156,15 @@ by Vafa Khalighi.
\usepackage{pifont}
\usepackage{bbding}
\usepackage{bidicode}
+\definecolor{xepersianblue}{rgb}{0.1,0.2,0.8}
\usepackage[numbered]{hypdoc}
\definecolor{myred}{rgb}{0.65,0.04,0.07}
-\hypersetup{pdftitle={The XePersian Package (Persian for \LaTeXe{} over XeTeX)},pdfauthor={Vafa Khalighi <vkhalighi@me.com>}}
+\hypersetup{pdftitle={The XePersian Package (Persian for \LaTeXe{} over XeTeX)},pdfauthor={Vafa Khalighi <vafakhlg@gmail.com>},linkcolor=xepersianblue,urlcolor=xepersianblue,citecolor=xepersianblue}
\usepackage{bidi}
\setlength\columnseprule{.4pt}
+\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Minion Pro}
+\setsansfont[Mapping=tex-text,Numbers=OldStyle]{Myriad Pro}
+\setmonofont{Andale Mono}
\newfontfamily\ParsiFont[Script=Arabic]{Iranian Sans}
\def\Pcs#1{\nxPLcs{#1}}
\def\nxPLcs#1{\RLE{\texttt{\symbol{92}\ParsiFont#1}}}
@@ -211,8 +216,8 @@ by Vafa Khalighi.
% \includegraphics[width=0.5\textwidth]{xepersian-logo}\\[10pt]
% Persian for \LaTeXe{} over \XeTeX}
% \author{Vafa Khalighi\\
-% \url{vkhalighi@me.com}}
-% \date{\today\qquad Version 11.140}
+% \url{vafakhlg@gmail.com}}
+% \date{\today\qquad Version 11.142}
%\maketitle
%\tableofcontents
%\section{Introduction}
@@ -232,7 +237,7 @@ by Vafa Khalighi.
%Description: The package supports Persian
%typesetting, using fonts provided in the distribution.
%Copyright © 2008-2012 Vafa Khalighi
-%v11.140, 2012/06/05
+%v11.142, 2012/07/25
%License: LaTeX Project Public License, version 1.3c or higher (your choice)
%Location on CTAN: /macros/xetex/latex/xepersian
%\end{lstlisting}
@@ -336,7 +341,7 @@ by Vafa Khalighi.
%\Lcs{eqenvironment}\Largb{\Larga{environment-name in Persian}}\Largb{\Larga{original \LaTeX{} environment-name}}
%\end{BDef}
%
-%\bigskip
+%\newpage
%\begin{center}
%\tablecaption{The Equivalent \LaTeX\ and \TeX\ Commands\label{lcs}}
%\tablehead
@@ -5345,6 +5350,33 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \end{macrocode}
% \iffalse
%</scrreprt-xepersian.def>
+%<*tkz-linknodes-xepersian.def>
+%\fi
+% \subsection{\textsf{tkz-linknodes-xepersian.def}}
+% \begin{macrocode}
+\ProvidesFile{tkz-linknodes-xepersian.def}[2012/06/13 v0.1 adaptations for tkz-linknodes package]
+\renewcommand*{\@SetTab}{%
+ \let\@alph\@latinalph%
+ \ifnum \value{C@NumTab}>25\relax%
+ \setcounter{C@NumTab}{1}%
+ \else%
+ \stepcounter{C@NumTab}%
+ \fi%
+ \setcounter{C@NumGroup}{0}%
+ \newcommand*{\PrefixCurrentTab}{\alph{C@NumTab}}
+ \setboolean{B@FirstLink}{true}
+ \setboolean{B@NewGroup}{false}
+ \setcounter{C@NumGroup}{0}
+ \setcounter{C@CurrentGroup}{0}
+ \setcounter{NumC@Node}{0}
+ \setcounter{NumC@Stop}{0}
+ \setcounter{C@NextNode}{0}
+ \setcounter{C@CurrentStop}{0}
+ \setcounter{C@CurrentNode}{0}
+}%
+% \end{macrocode}
+% \iffalse
+%</tkz-linknodes-xepersian.def>
%<*tocloft-xepersian.def>
%\fi
% \subsection{\textsf{tocloft-xepersian.def}}
@@ -5368,8 +5400,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \subsection{\textsf{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v11.140}
-\def\xepersiandate{2012/06/05}
+\def\xepersianversion{v11.142}
+\def\xepersiandate{2012/07/25}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -5524,8 +5556,8 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\def\setpersianfont{%
\let\normalfont\persianfont%
\persianfont}
-\def\lr#1{\LRE{\latinfont#1}}
-\def\rl#1{\RLE{\persianfont#1}}
+\bidi@newrobustcmd*{\lr}[1]{\LRE{\latinfont#1}}
+\bidi@newrobustcmd*{\rl}[1]{\RLE{\persianfont#1}}
\def\latin{\LTR\LatinAlphs\@Latintrue\@RTL@footnotefalse\resetlatinfont}
\def\endlatin{\endLTR}
\def\persian{\RTL\PersianAlphs\@RTL@footnotetrue\setpersianfont}
@@ -5915,6 +5947,7 @@ number is 999,999,999.}%
\@ifpackageloaded{hyperref}{\input{hyperref-xepersian.def}}{}
\@ifpackageloaded{minitoc}{\input{minitoc-xepersian.def}}{}
\@ifpackageloaded{natbib}{\input{natbib-xepersian.def}}{}
+\@ifpackageloaded{tkz-linknodes}{\input{tkz-linknodes-xepersian.def}}{}
\@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xepersian.def}}}{}
\@ifclassloaded{article}{\input{article-xepersian.def}}{}
\@ifclassloaded{extarticle}{\input{extarticle-xepersian.def}}{}
@@ -7431,7 +7464,7 @@ indexblock environment may only appear inside frontpage environment.
وفا خلیقی، مهدی امیدعلی و مصطفی واحدی
-\texttt{vkhalighi@me.com\\[5pt]
+\texttt{vafakhlg@gmail.com\\[5pt]
http://google.com}\\
\end{authorblock}
\end{frontpage}