summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/README12
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex8
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/persian.xdy118
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdfbin249682 -> 269213 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex169
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def31
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def31
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def31
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def7
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def27
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def36
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def36
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def8
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def31
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def8
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def32
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def13
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def8
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/misccommandsenvironments-ltx.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/multicol-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def32
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty31
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty6
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty56
53 files changed, 481 insertions, 374 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README
index 25bd34c4666..325bea7f938 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/README
+++ b/Master/texmf-dist/doc/xelatex/xepersian/README
@@ -1,10 +1,10 @@
_________________
The XePersian package
-v1.0.4
+v1.0.6
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 1.0.4 and it will be developed to
- meet the needs of Persian typesetting properly.
+Persian easily. The current version is 1.0.6 and it will be developed to
+meet the needs of Persian typesetting properly.
The XePersian package is independent of any operating system, meaning it
will work on all operating systems.
@@ -15,13 +15,11 @@ This version fixes all known bugs and adds new features explained in the
documentation. Support for xepersian-thesis class is removed as explained
in the documentation.
-To get help, please subscribe to the XeTeX mailing list and ask your question there.
-
-Next version is planned to be ready for MiKTeX 2.9 and TeXLive 2010.
+To get help, please explore http://forum.parsilatex.com
______________
Vafa Khalighi
-vafa@users.berlios.de
+vafakh84@gmail.com
Copyright 2008-2010
Distributed under the LaTeX Project Public License
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex b/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
index 28e19a651e2..2c43efdecdf 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
+++ b/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
@@ -1,6 +1,6 @@
\documentclass[12pt,twoside]{xepersian-magazine}
\usepackage{graphicx}
-\usepackage{xunicode}
+\usepackage{xltxtra}
\usepackage{amsmath}
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
@@ -13,7 +13,7 @@
\customlogo{مجلهٔ زی‌پرشین}
\customminilogo{مجلهٔ زی‌پرشین}
\custommagazinename{مجلهٔ زی‌پرشین}
-\customwwwTxt{http://developer.berlios.de/projects/xepersian}
+\customwwwTxt{http://google.com}
\begin{document}
\begin{frontpage}
\firstimage{img/ireland.jpg}{این زیرنویس تصویر اصلی در صفحهٔ اول است.}
@@ -54,8 +54,8 @@
وفا خلیقی، مهدی امیدعلی و مصطفی واحدی
-\texttt{vafa@users.berlios.de\\[5pt]
-http://developer.berlios.de/projects/xepersian}\\
+\texttt{vafakh84@gmail.com\\[5pt]
+http://google.com}\\
\end{authorblock}
\end{frontpage}
\newsection{قسمت الف}
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/persian.xdy b/Master/texmf-dist/doc/xelatex/xepersian/persian.xdy
deleted file mode 100644
index 548d939286d..00000000000
--- a/Master/texmf-dist/doc/xelatex/xepersian/persian.xdy
+++ /dev/null
@@ -1,118 +0,0 @@
-;; $Id: makeidx.xdy,v 1.1 1997/02/07 14:17:31 kehr Exp $
-;;
-;; This file implements the Output Style Specifiers for plain
-;; makeindex (see manpage of makeindex 2.x) in conjuction with
-;; TeX/LaTeX.
-;;
-;; The Input Style Specifiers of makeindex cannot de defined in a
-;; `xindy' style file. Use an appropriate version of the program
-;; `tex2xindy' which should be included with this distribution.
-;;
-;; Since `xindy' uses a different specification language than
-;; makeindex and some of the command-line options of makeindex are now
-;; only available as style-file commands, this file can only serve as
-;; a template that produces the default-markup of makeindex. However,
-;; it may be used as a starting point for further modification and
-;; specialization.
-;;
-;; The following values are taken from the source of the makeindex
-;; distribution (see file scanst.h and the manpage) for further
-;; details.
-;;
-
-;; Define all attributes appearing in your document. Your attributes
-;; are all encapsulators you use in your \index commands following the
-;; vertical bar sign `|'. For example `foo' is the attribute in the
-;; command \index{...|foo}. Here you specify the set of attributes
-;; that appear in your document, the order in which they appear in the
-;; index and which one superdes the other.
-;;
-;; Example: a) (define-attibutes (("default") ("bf") ("it")))
-;; b) (define-attibutes (("bf" "default")))
-;;
-;; The initial command is (change it accordingly):
-
-(define-attributes ("default"))
-
-;; The description of the location-classes.
-;; Add more location classes as needed.
-
-(define-location-class "arabic-page-numbers" ("arabic-numbers"))
-(define-location-class "roman-page-numbers" ("roman-numbers-lowercase"))
-(define-location-class "Roman-page-numbers" ("roman-numbers-uppercase"))
-(define-location-class "alpha-page-numbers" ("alpha"))
-(define-location-class "Alpha-page-numbers" ("ALPHA"))
-
-;; The most frequently used cross reference class "see". Add more, if
-;; necessary.
-
-(define-crossref-class "see")
-(markup-crossref-list :open "\see{" :close "}{}" :class "see")
-
-;; In makeindex: page_precedence <string> "rnaRA"
-;; List all location classes appearing in your document.
-
-(define-location-class-order ("roman-page-numbers"
- "arabic-page-numbers"
- "alpha-page-numbers"
- "Roman-page-numbers"
- "Alpha-page-numbers"
- "see"))
-
-
-;; preamble <string> "\\begin{theindex}\n"
-;; postamble <string> "\n\n\\end{theindex}\n"
-
-(markup-index :open "\begin{theindex}~n"
- :close "~n~n\end{theindex}~n"
- :tree)
-
-;; These specifiers are not directly supported via a command-line
-;; switch as in makeindex. Add the appropriate markup-commands into
-;; the preamble.
-
-;; setpage_prefix <string> "~n \setcounter{page}{"
-;; setpage_suffix <string> "}~n"
-
-;; group_skip <string> "~n~n \indexspace~n"
-
-(markup-letter-group-list :sep "~n~n \indexspace~n")
-
-;; The indexentries (item_<..> specifiers)
-
-(markup-indexentry :open "~n \item " :depth 0)
-(markup-indexentry :open "~n \subitem " :depth 1)
-(markup-indexentry :open "~n \subsubitem " :depth 2)
-
-;; Location-references
-
-;; delim_0 <string> ", "
-;; delim_1 <string> ", "
-;; delim_2 <string> ", "
-
-(markup-locclass-list :open ", " :sep ", ")
-
-;; delim_n <string> ", "
-
-(markup-locref-list :sep ", ")
-
-;; delim_r <string> "--"
-
-(markup-range :sep "--")
-
-;; Here follow all letter-groups. The short-cut notation is used here.
-
-(define-letter-groups
- ("آ" "ا" "ب" "پ" "ت" "ث" "ج" "چ" "ح" "خ" "د" "ذ" "ر" "ز"
- "ژ" "س" "ش" "ص" "ض" "ط" "ظ" "ع" "غ" "ف" "ق" "ک" "گ" "ل" "م" "ن" "ه" "و" "ی"))
-
-;;
-;; The sort-rules map all letters to their lowercase counterpart.
-;;
-
-
-;; End
-
-;; Local Variables:
-;; mode: lisp
-;; End:
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdf
index c92f2f4d9a3..bd6503e1269 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdf
+++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex
index 879ad1e3e7b..de17ea9b702 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex
+++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex
@@ -1,23 +1,25 @@
-\documentclass{report}
+\documentclass{rapport3}
+\usepackage{url}
\usepackage{supertabular}
\usepackage{fontspec}
\usepackage{calc}
\usepackage{pifont}
\usepackage{bbding}
-\usepackage[left=2.5cm,right=4cm,top=2.5cm,bottom=2.5cm,nohead]{geometry}
\usepackage[colorlinks=true,linkcolor=mybrown,urlcolor=mygreen]{hyperref}
\usepackage{bidicode}
\usepackage{bidi}
-\newfontfamily\ParsiFont[Script=Arabic,Scale=1.2]{Scheherazade}
+\newfontfamily\ParsiFont[Script=Arabic]{XB Roya}
\def\Pcs#1{\nxPLcs{#1}}
\def\nxPLcs#1{\RLE{\texttt{\symbol{92}\ParsiFont#1}}}
\def\Lenv#1{\texttt{#1}}
\def\Penv#1{\RLE{\ParsiFont#1}}
-\def\xepersianversion{v1.0.4}
-\def\xepersianrevision{revision 147}
-\def\xepersiandate{2010/03/01}
-\def\XePersian{\leavevmode$\smash{\hbox{X\lower.5ex
- \hbox{\kern-.125em\reflect{E}}Persian}}$}
+\let\parsitext\Penv
+\def\xepersianversion{v1.0.5}
+\def\xepersiancommit{commit 1}
+\def\xepersiandate{2010/07/25}
+\def\XeTeX{Xe\TeX}
+\def\XeLaTeX{Xe\LaTeX}
+\def\XePersian{XePersian}
\newcounter{local}
\renewcommand\theenumi{\protect\setcounter{local}%
{201+\the\value{enumi}}\protect\ding{\value{local}}}
@@ -29,46 +31,34 @@
\definecolor{mybrown}{rgb}{.6,0,0}
\definecolor{mygreen}{rgb}{0,.43,0}
\definecolor{Orange}{rgb}{1,.4,.2}
-\title{The \textsf{\XePersian} Package\\ \href{http://xepersian.berlios.de}{\texttt{http://xepersian.berlios.de}}}
-\author{Vafa Khalighi\\ \href{mailto:vafa@users.berlios.de}{\texttt{vafa@users.berlios.de}}}
-\date{Version 1.0.4}
+\title{The \textsf{\XePersian} Package\\ \href{http://bitbucket.org/vafa/xepersian}{\texttt{http://bitbucket.org/vafa/xepersian}}}
+\author{Vafa Khalighi\\ \href{mailto:vafakh84@gmail.com}{\texttt{vafakh84@gmail.com}}}
+\date{Version 1.0.6}
\begin{document}
\maketitle
\tableofcontents
-\lstlistoflistings
\chapter{Introduction}
\XePersian\ is a package for typesetting Persian/English documents with \XeLaTeX. The package includes adaptations for use with many other commonly-used packages.
\section{Important Notes}
\begin{itemize}
\item The \textsf{\XePersian} package only works with \XeTeX\ engine.
-\item Before reading this documentation, you should have read the documentation of the version 1.0.4 of \textsf{bidi} package. The \textsf{\XePersian} package automatically loads \textsf{bidi} package with \texttt{RTLdocument} option enabled and hence any commands that \textsf{bidi} package offers, is also available in \textsf{\XePersian} package. Here, in this documentation, we will not repeat any of \textsf{bidi} package's commands.
-\item In previous versions of \XePersian, a thesis class, namely \texttt{xepersian-thesis.cls} provided for typesetting thesis. I no longer provide this class because I am not familiar with specification of a thesis in Iran and even if I was, the specifications are different from University to University. \XePersian\ is a general package like \LaTeX\ and should not provide any class for typesetting thesis. So if you really want to have a class file for typesetting thesis, then you should ask your University/department to write one for you.
-\item To get help, please subscribe to \XeTeX\ mailing list and ask your question there.
+\item Before reading this documentation, you should have read the documentation of the version 1.1.0 of \textsf{bidi} package. The \textsf{\XePersian} package automatically loads \textsf{bidi} package with \texttt{RTLdocument} option enabled and hence any commands that \textsf{bidi} package offers, is also available in \textsf{\XePersian} package. Here, in this documentation, we will not repeat any of \textsf{bidi} package's commands.
+\item In previous versions (\(\leq1.0.3\)) of \XePersian, a thesis class provided for typesetting thesis. As of version 1.0.4, I no longer provide this class because I am not familiar with specification of a thesis in Iran and even if I was, the specifications are different from University to University. \XePersian\ is a general package like \LaTeX\ and should not provide any class for typesetting thesis. So if you really want to have a class file for typesetting thesis, then you should ask your University/department to write one for you.
+\item To get help, please explore \url{http://forum.parsilatex.com} and ask your question there.
\end{itemize}
\section{\textsf{\XePersian} Info On The Terminal and In The Log File}
If you use \textsf{\XePersian} package to write any input \TeX\ document, and then run \texttt{xelatex} on your document, in addition to what \textsf{bidi} package writes to the terminal and to the log file, the \XePersian\ package also writes some information about itself to the terminal and to the log file, too. The information is something like:
-\begin{center}
-\colorbox{lightgray}{\begin{minipage}{0.9\textwidth}\ttfamily
-xepersian package (Persian for LaTeX over XeTeX)\\
-Description: The package supports Persian\\
-typesetting, using fonts provided in the distribution.\\
-Copyright © 2008-2010 Vafa Khalighi\\
-\xepersianversion, <\xepersianrevision>, \xepersiandate\\
-License: LaTeX Project Public License, version 1.3c or higher (your choice)\\
-Home: http://xepersian.berlios.de\\
+\begin{lstlisting}[numbers=none,backgroundcolor=\color{skugga}]
+xepersian package (Persian for LaTeX over XeTeX)
+Description: The package supports Persian
+typesetting, using fonts provided in the distribution.
+Copyright © 2008-2010 Vafa Khalighi
+v1.0.6, <commit 18>, 2010/07/25
+License: LaTeX Project Public License, version 1.3c or higher (your choice)
+Home: http://bitbucket.org/vafa/xepersian
Location on CTAN: /macros/xetex/latex/xepersian
-\end{minipage}}
-\end{center}
-\section{PDF Creator of \textsf{\XePersian} Documents}
-If you use \textsf{\XePersian} package to produce a PDF file, the \textsf{\XePersian} package writes itself to the Application field of the PDF file and hyperref would have no effect since this is done at the beggining of the document. Thus if you produce a PDF file using the \textsf{\XePersian} package and then you look at the application field in the properties of the PDF file, you will see this:
-
-\begin{center}
-\colorbox{yellow}{\begin{minipage}{0.8\textwidth}%
-XePersian \xepersianversion\space <\xepersianrevision> Copyright © 2008-2010 Vafa Khalighi
-\end{minipage}}
-\end{center}
-
+\end{lstlisting}
\chapter{Basics\label{basics}}
\section{Loading The Package}
You can load the package in the ordinary way;
@@ -85,17 +75,17 @@ When loading the package, it is important to know that:
If you load \textsf{\XePersian} before any of these packages, then you will get an error saying that you should load \textsf{\XePersian} or \textsf{bidi} as your last package. When it says that you should load \textsf{bidi} package as your last package, it really means that you should load \textsf{\XePersian} as your last package as \textsf{bidi} package is loaded automatically by \textsf{\XePersian} package.
For instance, consider the following minimal example:
-\begin{lstlisting}[caption={Wrong Order Of Loading \textsf{\XePersian} Package},morekeywords={settextfont}]
+\begin{lstlisting}[morekeywords={settextfont}]
\documentclass{minimal}
\usepackage{xepersian}
\usepackage{enumerate}
-\settextfont[Scale=1.5]{Scheherazade}
+\settextfont{XB Niloofar}
\begin{document}
-This is just a test.
+?\parsitext{این فقط یک آزمایش است}?
\end{document}
\end{lstlisting}
Where \textsf{enumerate} is loaded after \textsf{\XePersian}. If you run \texttt{xelatex} on this document, you will get an error which looks like this:
-\begin{lstlisting}[numbers=none]
+\begin{lstlisting}[numbers=none,backgroundcolor=\color{skugga}]
! Package xepersian Error: Oops! you have loaded package enumerate after xepers
ian package. Please load package enumerate before xepersian package, and then t
ry to run xelatex on your document again.
@@ -109,48 +99,24 @@ l.5 \begin{document}
?
\end{lstlisting}
-\item However, there is an exception to the two previous points. You should load \textsf{subfigure} package always after \textsf{\XePersian} package. Indeed, if like the following minimal example, you load \textsf{subfigure} package before \textsf{\XePersian} package:
-\begin{lstlisting}[caption={Wrong Order Of Loading \textsf{subfigure} Package},morekeywords={settextfont}]
-\documentclass{article}
-\usepackage{subfigure}
-\usepackage{xepersian}
-\settextfont[Scale=1.5]{Scheherazade}
-\begin{document}
-This is just a test.
-\end{document}
-\end{lstlisting}
-You will get an error saying that \textsf{subfigure} package should be loaded after \textsf{\XePersian} package. The error message looks like this:
-\begin{lstlisting}[numbers=none]
-! Package xepersian Error: Oops! you have loaded package subfigure before xeper
-sian package. Please load package subfigure after xepersian package, and then t
-ry to run xelatex on your document again.
-
-See the xepersian package documentation for explanation.
-Type H <return> for immediate help.
- ...
-
-l.5 \begin{document}
-
-?
-
-\end{lstlisting}
\end{enumerate}
-\section{Commands for Version, Subversion Revision and Date of The Package}
+\section{Commands for Version number, Mercurial commit number and Date of The Package}
\begin{BDef}
-\Lcs{xepersianversion}\quad\Lcs{xepersianrevision}\quad\Lcs{xepersiandate}
+\Lcs{xepersianversion}\quad\Lcs{xepersiancommit}\quad\Lcs{xepersiandate}
\end{BDef}
\begin{itemize}
\item \Lcs{xepersianversion} gives the current version of the package.
-\item \Lcs{xepersianrevision} gives the current subversion revision of the package.
+\item \Lcs{xepersiancommit} gives the current Mercurial commit number of the package.
\item \Lcs{xepersiandate} gives the current date of the package.
\end{itemize}
-\begin{lstlisting}[morekeywords={xepersianversion,xepersianrevision,xepersiandate,settextfont,XePersian},captionpos=t,caption={Version, SVN Revision and Date Commands}]
+\begin{lstlisting}[morekeywords={settextfont,XePersian,xepersianversion,xepersiancommit,xepersiandate}]
\documentclass{article}
\usepackage{xepersian}
-\settextfont[Scale=1.5]{Scheherazade}
+\settextfont{XB Niloofar}
\begin{document}
\begin{latin}
-This is typeset by \textsf{\XePersian} package, \xepersianversion, \xepersianrevision, \xepersiandate.
+This is typeset by \textsf{\XePersian} package,
+ \xepersianversion, \xepersiancommit, \xepersiandate.
\end{latin}
\end{document}
\end{lstlisting}
@@ -702,30 +668,31 @@ The \TeX\ and \LaTeX\ commands and environments and their Persian equivalents li
\end{center}
\section{A Sample Input \TeX\ File}
-\begin{lstlisting}[morekeywords={settextfont,maketitle,tableofcontents,part,subsection,subsubsection},caption={A Sample Input \TeX\ File}]
+\begin{lstlisting}[morekeywords={settextfont,maketitle,tableofcontents,subsection,subsubsection,part}]
\documentclass{article}
\usepackage{xepersian}
-\settextfont[Scale=1.5]{Scheherazade}
-\title{<title>}
-\author{<author>}
+\settextfont{XB Niloofar}
+\title{?\parsitext{یک سند نمونه}?}
+\author{?\parsitext{نام نویسنده}?}
\begin{document}
\maketitle
\tableofcontents
-\part{<text>}
+\part{?\parsitext{عنوان بخش}?}
...
-\section{<text>}
+\section{?\parsitext{عنوان قسمت}?}
...
-\subsection{<text>}
+\subsection{?\parsitext{عنوان زیرقسمت}?}
...
-\subsubsection{<text>}
+\subsubsection{?\parsitext{عنوان زیر زیرقسمت}?}
...
\end{document}
\end{lstlisting}
\section{Font Commands}
\subsection{Basic Font Commands}
\begin{BDef}
-\Lcs{settextfont}\OptArgs\Largb{\Larga{font name}}\quad\Lcs{setlatintextfont}\OptArgs\Largb{\Larga{font name}}\\
-\Lcs{setdigitfont}\OptArgs\Largb{\Larga{font name}}\quad
+\Lcs{settextfont}\OptArgs\Largb{\Larga{font name}}\\
+\Lcs{setlatintextfont}\OptArgs\Largb{\Larga{font name}}\\
+\Lcs{setdigitfont}\OptArgs\Largb{\Larga{font name}}
\end{BDef}
\begin{itemize}
\item Options in any font command in this documentation are anything that \textsf{fontspec} package provides as the option of loading fonts, except \texttt{Script} and \texttt{Mapping}.
@@ -740,12 +707,12 @@ The \TeX\ and \LaTeX\ commands and environments and their Persian equivalents li
\end{BDef}
\begin{itemize}
\item With \Lcs{defpersianfont}, you can define extra Persian fonts.
-\begin{lstlisting}[morekeywords={defpersianfont,Nastaliq},caption={Example Of Using \Lcs{defpersianfont}}]
+\begin{lstlisting}[numbers=none,morekeywords={defpersianfont,Nastaliq}]
\defpersianfont\Nastaliq[Scale=1]{IranNastaliq}
\end{lstlisting}
In this example, we define \Lcs{Nastaliq} to stand for Nastaliq font.
\item With \Lcs{deflatinfont}, you can define extra Latin fonts.
-\begin{lstlisting}[morekeywords={deflatinfont,junicode},caption={Example Of Using \Lcs{deflatinfont}}]
+\begin{lstlisting}[numbers=none,morekeywords={deflatinfont,junicode}]
\deflatinfont\junicode[Scale=1]{Junicode}
\end{lstlisting}
In this example, we define \Lcs{Junicode} to stand for Junicode font.
@@ -828,7 +795,7 @@ In this example, we define \Lcs{Junicode} to stand for Junicode font.
\begin{itemize}
\item \Lcs{today} typesets current Persian date and \Lcs{latintoday} typesets current Latin date.
\item \Lcs{twocolumnstableofcontents} typesets table of contents in two columns. This requires that you have loaded \textsf{multicol} package before \textsf{\XePersian} package, otherwise an error will be issued.
-\item \Lcs{\XePersian} typesets \XePersian's logo.
+\item \Lcs{XePersian} typesets \XePersian's logo.
\item \Lcs{plq} and \Lcs{prq} typeset Persian left quote and Persian right quote respectively.
\end{itemize}
@@ -848,7 +815,6 @@ If you use \Lcs{setdigitfont}, you should the know that:
\item If you use \Lcs{PersianMathsDigits} anywhere, you will overwrite \XePersian's default behaviour and you will always get Persian digits in math mode.
\item If you use \Lcs{DefaultMathsDigits} anywhere, again you will overwrite \XePersian's default behaviour and you will always get \TeX's default font and digits in math mode.
\end{itemize}
-\item When you use \Lcs{setdigitfont}, you also will change the font used inside \Lcs{mathbf}, \Lcs{mathit} and \ldots, which means both letters and digits inside say \Lcs{mathbf} will be typeset in your chosen font. Please do not contact me, saying this is a bug, this is done on purpose and if I see such email, I will ignore it.
\end{itemize}
\section{Bilingual Captions}
\XePersian\ sets caption bilingually. This means if you are in RTL mode, you get Persian caption and if you are in LTR mode, you get English caption.
@@ -873,14 +839,7 @@ To see an Example, please look at \textsf{enumerate} package documentation.
\section{Index Generation}
For generating index, you are advised to use \textsf{xindy} program, any other program such as \textsf{makeindex} is not recommended.
-With \XePersian\ package, the file \texttt{persian.xdy} comes that should be in \texttt{doc} folder. To generate index, you will need to put \texttt{persian.xdy} file in the current directory and then open a terminal/command prompt and do the following:
-
-\begin{BDef}\ttfamily
-tex2xindy < filename.idx > filename.raw\\ \ttfamily
-xindy -I xindy -M persian.xdy filename.raw
-\end{BDef}
-Please note that this way of generating index with the \textsf{xindy} program is temporary and it will definitely be removed in the next version of \XePersian. We will have Persian support to the main \textsf{xindy} program in the next version of \XePersian. This perfectly means that by the next version of \XePersian's package, we will be able to use \textsf{glossaries} package too for making Persian and Latin glossaries.
\section{Converting Your Farsi\TeX\ Files To \XePersian\ or Unicode}
There is a python program written by Mostafa Vahedi that enables you to convert Farsi\TeX\ files to \XePersian\ or unicode. This program can be found in \textsf{doc} folder with the name \texttt{ftxe-0.11.py}. To convert your Farsi\TeX\ files to \XePersian, put \texttt{ftxe-0.11.py} in the same directory that your Farsi\TeX\ file is, and then open a terminal/command prompt and do the following:
@@ -893,7 +852,7 @@ This will convert your \texttt{file.ftx} (Farsi\TeX\ file) to \texttt{file.tex}
The general syntax syntax of using the python script is as follow:
\begin{BDef}\ttfamily
-python ftxe-0.11 [-r] [-s] [-x] [-u] input-filename1 input-filename2
+python ftxe-0.11.py [-r] [-s] [-x] [-u] input-filename1 input-filename2
\end{BDef}
Where
\begin{description}
@@ -903,7 +862,7 @@ Where
\item[\texttt{-u}] only convert to unicode (and not to \XePersian)
\end{description}
-Please note that the python script will not with versions of python later than 2.6. So you are encouraged to use version 2.6 of python to benefit from this python script.
+Please note that the python script will not work with versions of python later than 2.6. So you are encouraged to use version 2.6 of python to benefit from this python script.
\chapter{Extra Packages And Classes}
\section{Magazine Typesetting}
@@ -1072,7 +1031,8 @@ When creating a magazine, everyone wants to show its own logo instead of \texts
The edition text has to be declared in the preamble of the document. One important thing to know is that \Lcs{author}, \Lcs{date} and \Lcs{title} have no effect inside \textsf{xepersian-magazine} since the magazine date is taken from \Lcs{today} command and the other two are only for the title page (if using \Lcs{maketitle}).
\begin{BDef}
-\Lcs{indexFormat}\quad\Lcs{indexEntryFormat}\quad\Lcs{indexEntryPageTxt}\quad\Lcs{indexEntryPageFormat}\\%
+\Lcs{indexFormat}\quad\Lcs{indexEntryFormat}\quad\Lcs{indexEntryPageTxt}\\
+\Lcs{indexEntryPageFormat}\quad%
\Lcs{indexEntrySeparator}
\end{BDef}
@@ -1095,7 +1055,8 @@ The main article that appear in the front page can change their formats. To obta
Two other elements to configure are the picture captions and the pages or section format in the entire document. To proceed just redefine the macros \Lcs{pictureCaptionFormat} and \Lcs{pagesFormat}.
\subsubsection{Inside The Magazine}
\begin{BDef}
-\Lcs{innerTitleFormat}\quad\Lcs{innerSubtitleFormat}\quad\Lcs{innerAuthorFormat}\quad\Lcs{innerPlaceFormat}
+\Lcs{innerTitleFormat}\quad\Lcs{innerSubtitleFormat}\quad\Lcs{innerAuthorFormat}\\
+\Lcs{innerPlaceFormat}
\end{BDef}
The articles inside \textsf{xepersian-magazine} may have a different format from the ones in the front page. To change their title or subtitle format redefine \Lcs{innerTitleFormat} and \Lcs{innerSubtitleFormat}. The article text format matches the document general definition. When using the \Lcs{authorandplace} command, you might want to change the default style. Just renew \Lcs{innerAuthorFormat} and \Lcs{innerPlaceFormat} to get the results.
@@ -1165,15 +1126,15 @@ The available options are described along the text,
where appropriate.
\subsubsection{Creating Questions}
Here's a simple example demonstrating how to produce a new question:
-\begin{lstlisting}[morekeywords={true,false},caption={Creating Questions With \textsf{xepersian-multiplechoice} Package}]
-\begin{question}{<question>}
-\false <answer1>
-\true <answer2>
-\false <answer3>
-\false <answer4>
+\begin{lstlisting}[morekeywords={false,true}]
+\begin{question}{?\parsitext{سؤال}?}
+\false ?\parsitext{جواب ۱}?
+\true ?\parsitext{جواب ۲}?
+\false ?\parsitext{جواب ۳}?
+\false ?\parsitext{جواب ۴}?
\end{question}
\begin{correction}
-<real answer and reason why it is true>
+?\parsitext{جواب واقعی و علت اینکه این جواب، جواب واقعی هست}?
\end{correction}
\end{lstlisting}
\subsubsection{The \texttt{question} Environment}
@@ -1283,10 +1244,10 @@ arrow are used. You can change these symbols by using the \Lcs{truesymbol} and
\Lcs{falsesymbol} macros. For instance, you could give a fancier look to your correction
by using the \textsf{pifont} package and issuing:
-\begin{verbatim}
+\begin{lstlisting}[numbers=none,morekeywords={truesymbol,ding,falsesymbol}]
\truesymbol{\ding{'063}~}
\falsesymbol{\ding{'067}~}
-\end{verbatim}
+\end{lstlisting}
\begin{BDef}
\Lcs{correctionstyle}
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
index 5cd7b3e37e1..0ec514552e2 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
@@ -7,12 +7,12 @@
%% License information appended.
%%
%%
-\ProvidesFile{algorithm-xepersian.def}[2010/03/01 v0.2 adaptations for algorithm package]
+\ProvidesFile{algorithm-xepersian.def}[2010/07/25 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-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 b4976b15573..cecdf0a3bbc 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
@@ -7,11 +7,11 @@
%% License information appended.
%%
%%
-\ProvidesFile{algorithmic-xepersian.def}[2010/03/01 v0.2 adaptations for algorithmic package]
+\ProvidesFile{algorithmic-xepersian.def}[2010/07/25 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-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 8cf59edcf0c..a765b4f75af 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
@@ -7,7 +7,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{amsart-xepersian.def}[2010/03/01 v0.2 adaptations for amsart class]
+\ProvidesFile{amsart-xepersian.def}[2010/07/25 v0.2 adaptations for amsart class]
\renewcommand \thepart {\@tartibi\c@part}
\def\appendix{\par\c@section\z@ \c@subsection\z@
\let\sectionname\appendixname
@@ -55,7 +55,7 @@
\insert\footins{\unvbox\footins}%
\endgroup}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 d08afdfbb3d..bbf0a3358ca 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
@@ -7,7 +7,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{amsbook-xepersian.def}[2010/03/01 v0.3 adaptations for amsbook class]
+\ProvidesFile{amsbook-xepersian.def}[2010/07/25 v0.3 adaptations for amsbook class]
\def\frontmatter{\cleardoublepage\pagenumbering{harfi}}
\renewcommand \thepart {\@tartibi\c@part}
\def\appendix{\par
@@ -57,7 +57,7 @@
\insert\footins{\unvbox\footins}%
\endgroup}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 61e20ac0b40..9cc8a5b8dc7 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
@@ -8,14 +8,14 @@
%% License information appended.
%%
%%
-\ProvidesFile{article-xepersian.def}[2010/03/01 v0.1 adaptations for standard article class]
+\ProvidesFile{article-xepersian.def}[2010/07/25 v0.2 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-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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/artikel1-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
new file mode 100644
index 00000000000..b73d1fbc603
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
@@ -0,0 +1,31 @@
+%%
+%% This is file `artikel1-xepersian.def',
+
+%%
+%% __________________________________
+%% Copyright © 2008-2010 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{artikel1-xepersian.def}[2010/07/25 v0.1 adaptations for artikel1 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+%%
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
+%%
+%% 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 `artikel1-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
new file mode 100644
index 00000000000..899d0568b1b
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
@@ -0,0 +1,31 @@
+%%
+%% This is file `artikel2-xepersian.def',
+
+%%
+%% __________________________________
+%% Copyright © 2008-2010 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{artikel2-xepersian.def}[2010/07/25 v0.1 adaptations for artikel2 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+%%
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
+%%
+%% 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 `artikel2-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
new file mode 100644
index 00000000000..50009efea7a
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
@@ -0,0 +1,31 @@
+%%
+%% This is file `artikel3-xepersian.def',
+
+%%
+%% __________________________________
+%% Copyright © 2008-2010 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{artikel3-xepersian.def}[2010/07/25 v0.1 adaptations for artikel3 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+%%
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
+%%
+%% 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 `artikel3-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
index 566712095fd..db50370a881 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
@@ -8,10 +8,10 @@
%% License information appended.
%%
%%
-\ProvidesFile{backref-xepersian.def}[2010/03/01 v0.1 adaptations for backref package]
+\ProvidesFile{backref-xepersian.def}[2010/07/25 v0.1 adaptations for backref package]
\def\backrefpagesname{\if@RTL صفحات\else pages\fi}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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/bidicode-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def
index d5bd5ad8a7e..99841b43929 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidicode-xepersian.def
@@ -8,11 +8,10 @@
%% License information appended.
%%
%%
-\ProvidesFile{bidicode-xepersian.def}[2010/03/01 v0.1 Persian captions for bidicode package]
-\lst@UserCommand\lstlistlistingname{فهرست مثال‌ها} % \lstlistoflistings
-\lst@UserCommand\lstlistingname{مثال}
+\ProvidesFile{bidicode-xepersian.def}[2010/07/25 v0.0 Persian captions for bidicode package]
+
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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/bidimoderncv-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
new file mode 100644
index 00000000000..5cf47029e48
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
@@ -0,0 +1,27 @@
+%%
+%% This is file `bidimoderncv-xepersian.def',
+
+%%
+%% __________________________________
+%% Copyright © 2008-2010 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{bidimoderncv-xepersian.def}[2010/07/25 v0.1 adaptations for bidimoderncv class]
+\def\refname{\if@RTL تألیفات\else Publications\fi}
+%%
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
+%%
+%% 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/boek-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
new file mode 100644
index 00000000000..bf946caf8ab
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
@@ -0,0 +1,36 @@
+%%
+%% This is file `boek-xepersian.def',
+
+%%
+%% __________________________________
+%% Copyright © 2008-2010 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{boek-xepersian.def}[2010/07/25 v0.1 adaptations for boek class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{harfi}}
+\renewcommand*\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+%%
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
+%%
+%% 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 `boek-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
new file mode 100644
index 00000000000..1200bc1589d
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
@@ -0,0 +1,36 @@
+%%
+%% This is file `boek3-xepersian.def',
+
+%%
+%% __________________________________
+%% Copyright © 2008-2010 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{boek3-xepersian.def}[2010/07/25 v0.1 adaptations for boek3 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{harfi}}
+\renewcommand*\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+%%
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
+%%
+%% 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 `boek3-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 e9f5e8a0549..77d84e3e23b 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
@@ -8,15 +8,11 @@
%% License information appended.
%%
%%
-\ProvidesFile{book-xepersian.def}[2010/03/01 v0.1 adaptations for standard book class]
+\ProvidesFile{book-xepersian.def}[2010/07/25 v0.2 adaptations for standard book class]
\renewcommand\frontmatter{%
\cleardoublepage
\@mainmatterfalse
\pagenumbering{harfi}}
-\renewcommand\mainmatter{%
- \cleardoublepage
- \@mainmattertrue
- \pagenumbering{arabic}}
\renewcommand \thepart {\@tartibi\c@part}
\renewcommand\appendix{\par
\setcounter{chapter}{0}%
@@ -25,7 +21,7 @@
\gdef\thechapter{\@harfi\c@chapter}
}%end appendix
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 b48318f1d72..708cf9a8cc2 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{bookest-xepersian.def}[2010/03/01 v0.1 adaptations for bookest class]
+\ProvidesFile{bookest-xepersian.def}[2010/07/25 v0.1 adaptations for bookest class]
\renewcommand \thepart {\@tartibi\c@part}
\renewcommand\appendix{\par
\setcounter{chapter}{0}%
@@ -17,7 +17,7 @@
\gdef\thechapter{\@harfi\c@chapter}
}%end appendix
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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
index 0c118b3d91f..cd59aac7c6d 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{breqn-xepersian.def}[2010/03/01 v0.1 adaptations for breqn package]
+\ProvidesFile{breqn-xepersian.def}[2010/07/25 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
@@ -49,7 +49,7 @@
\ignorespaces
}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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-ltx.def b/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
index 82a8ddf5da2..3027f0bd04a 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{commands-ltx.def}[2010/03/01 v0.2 Persian localisation of LaTeX2e commands]
+\ProvidesFile{commands-ltx.def}[2010/07/25 v0.2 Persian localisation of LaTeX2e commands]
\eqcommand[\پرش‌کوتاه‌بالای‌نمایش]{\abovedisplayshortskip}
\eqcommand[\پرش‌بالای‌نمایش]{\abovedisplayskip}
\eqcommand[\نام‌چکیده]{\abstractname}
@@ -478,7 +478,7 @@
\eqcommand[\مدپهن]{\widetilde}
\eqcommand[\عرض]{\width}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 f1caba559da..1a9fd3da2d1 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
@@ -8,9 +8,9 @@
%% License information appended.
%%
%%
-\ProvidesFile{commands-xepersian.def}[2010/03/01 v0.0 Persian localisation of XePersian commands]
+\ProvidesFile{commands-xepersian.def}[2010/07/25 v0.0 Persian localisation of XePersian commands]
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 75438cafdf4..e6b78d707ff 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{enumerate-xepersian.def}[2010/03/01 v0.1 adaptations for enumerate package]
+\ProvidesFile{enumerate-xepersian.def}[2010/07/25 v0.1 adaptations for enumerate package]
\def\@enloop@{%
\ifx ا\@entemp \def\@tempa{\@enLabel\harfi }\else
\ifx ی\@entemp \def\@tempa{\@enLabel\adadi }\else
@@ -26,7 +26,7 @@
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
\@tempa}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 5bf7651d489..479b70d75a5 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/environments-ltx.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{environments-ltx.def}[2010/03/01 v0.1 Persian localisation of LaTeX2e environments]
+\ProvidesFile{environments-ltx.def}[2010/07/25 v0.1 Persian localisation of LaTeX2e environments]
\eqenvironment[چکیده]{abstract}
\eqenvironment[پیوست]{appendix}
\eqenvironment[آرایه]{array}
@@ -52,7 +52,7 @@
\eqenvironment[کلمه‌به‌کلمه*]{verbatim*}
\eqenvironment[شعر]{verse}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 0406231135f..48f30f83127 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def
@@ -8,9 +8,9 @@
%% License information appended.
%%
%%
-\ProvidesFile{environments-xepersian.def}[2010/03/01 v0.1 Persian localisation of XePersian and bidi environments]
+\ProvidesFile{environments-xepersian.def}[2010/07/25 v0.1 Persian localisation of XePersian and bidi environments]
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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/extarticle-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
new file mode 100644
index 00000000000..5cc1473c03e
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
@@ -0,0 +1,31 @@
+%%
+%% This is file `extarticle-xepersian.def',
+
+%%
+%% __________________________________
+%% Copyright © 2008-2010 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{extarticle-xepersian.def}[2010/07/25 v0.1 adaptations for extarticle class]
+\renewcommand\thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+%%
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
+%%
+%% 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 `extarticle-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
index 153353797e4..4c58d982dd1 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
@@ -8,15 +8,11 @@
%% License information appended.
%%
%%
-\ProvidesFile{extbook-xepersian.def}[2010/03/01 v0.1 adaptations for extbook class]
+\ProvidesFile{extbook-xepersian.def}[2010/07/25 v0.1 adaptations for extbook class]
\renewcommand\frontmatter{%
\cleardoublepage
\@mainmatterfalse
\pagenumbering{harfi}}
-\renewcommand\mainmatter{%
- \cleardoublepage
- \@mainmattertrue
- \pagenumbering{arabic}}
\renewcommand \thepart {\@tartibi\c@part}
\renewcommand\appendix{\par
\setcounter{chapter}{0}%
@@ -25,7 +21,7 @@
\gdef\thechapter{\@harfi\c@chapter}
}%end appendix
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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/extreport-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
new file mode 100644
index 00000000000..2d70835da18
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
@@ -0,0 +1,32 @@
+%%
+%% This is file `extreport-xepersian.def',
+
+%%
+%% __________________________________
+%% Copyright © 2008-2010 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{extreport-xepersian.def}[2010/07/25 v0.1 adaptations for extreport class]
+\renewcommand\thepart {\@tartibi\c@part}
+\renewcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+%%
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
+%%
+%% 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 `extreport-xepersian.def'.
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
index befb2d3ce56..94a26618de2 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{flowfram-xepersian.def}[2010/03/01 v0.1 adaptations for flowfram package]
+\ProvidesFile{flowfram-xepersian.def}[2010/07/25 v0.1 adaptations for flowfram package]
\def\@outputpage{%
\begingroup
\let\protect\noexpand
@@ -38,7 +38,7 @@
\setcounter{displayedframe}{0}%
\let\firstmark\botmark}
%%
-%% Copyright © 2009-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2009-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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/footnote-bidi-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def
index 8df109fb1f0..d0c1882cfba 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{footnote-bidi-xepersian.def}[2010/03/01 v0.2 footnote macros for xepersian package]
+\ProvidesFile{footnote-bidi-xepersian.def}[2010/07/25 v0.2 footnote macros for xepersian package]
\long\def\@footnotetext#1{%
\begingroup
\setbox\footins
@@ -94,7 +94,7 @@
\rule\z@\footnotesep\ignorespaces\latinfont#1\@finalstrut\strutbox}%
\color@endgroup}}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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
index 7a4551b5720..b5c9dd4825c 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{hyperref-xepersian.def}[2010/03/01 v0.1 bilingual captions for hyperref package]
+\ProvidesFile{hyperref-xepersian.def}[2010/07/25 v0.3 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}%
@@ -28,14 +28,15 @@
\AtBeginDocument{%
\let\HyOrg@appendix\appendix
\def\appendix{%
- \@ifundefined{chapter}%
- {\gdef\theHsection{\arabic{section}}}%
- {\gdef\theHchapter{\arabic{chapter}}}%
+ \ltx@IfUndefined{chapter}%
+ {\gdef\theHsection{\Alph{section}}}%
+ {\gdef\theHchapter{\Alph{chapter}}}%
\xdef\Hy@chapapp{\Hy@appendixstring}%
\HyOrg@appendix
-}}
+}
+}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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/kashida-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
index 49431d25b2a..3a8e77b5f66 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{kashida-xepersian.def}[2010/03/01 v0.1 implementation of Kashida for xepersian package]
+\ProvidesFile{kashida-xepersian.def}[2010/07/25 v0.1 implementation of Kashida for xepersian package]
\chardef\zwj="200D % zero-width joiner
\chardef\ksh="0640 % kashida
@@ -51,7 +51,7 @@
\XeTeXinterchartokenstate=1
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 306fcabac27..438347ffeb1 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
@@ -8,11 +8,11 @@
%% License information appended.
%%
%%
-\ProvidesFile{listings-xepersian.def}[2010/03/01 v0.1 bilingual captions for listings package]
+\ProvidesFile{listings-xepersian.def}[2010/07/25 v0.1 bilingual captions for listings package]
\def\lstlistingname{برنامهٔ}
\def\lstlistlistingname{فهرست برنامه‌ها}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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
index 121f3572cd1..27ef500ee47 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def
@@ -8,12 +8,11 @@
%% License information appended.
%%
%%
-\ProvidesFile{loadingorder-bidi-xepersian.def}[2010/03/01 v0.1 making sure that xepersian is the last package loaded]
+\ProvidesFile{loadingorder-bidi-xepersian.def}[2010/07/25 v0.2 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
@@ -28,15 +27,12 @@
\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>
+%% Copyright © 2009-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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/localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
index 478436ef1dd..9f4b75ceee8 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{localise-xepersian.def}[2010/03/01 v0.2 Persian localisation of LaTeX2e]
+\ProvidesFile{localise-xepersian.def}[2010/07/25 v0.2 Persian localisation of LaTeX2e]
\catcode`‌=11
\newcommand\eqcommand[2][]{\let#1=#2}
\newcommand\eqenvironment[2][]{\newenvironment{#1}{\begin{#2}}{\end{#2}}}
@@ -18,7 +18,7 @@
\input{environments-xepersian.def}
\input{misccommandsenvironments-ltx.def}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 09621583539..dde1d98e7e0 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{memoir-xepersian.def}[2010/03/01 v0.1 adaptations for memoir class]
+\ProvidesFile{memoir-xepersian.def}[2010/07/25 v0.1 adaptations for memoir class]
\renewcommand{\@memfront}{%
\@smemfront\pagenumbering{harfi}}
\renewcommand{\setthesection}{\thechapter\@SepMark\harfi{section}}
@@ -21,7 +21,7 @@
\gdef\thechapter{\@harfi\c@chapter}%
\anappendixtrue}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 e64473ffdea..4c3730e7e89 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{minitoc-xepersian.def}[2010/03/01 v0.1 bilingual captions for minitoc package]
+\ProvidesFile{minitoc-xepersian.def}[2010/07/25 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}%
@@ -19,7 +19,7 @@
\def\slftitle{\if@RTL اشکال\else Figures\fi}%
\def\slttitle{\if@RTL جداول\else Tables\fi}%
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 00e93b8e752..e8115574d33 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/misccommandsenvironments-ltx.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/misccommandsenvironments-ltx.def
@@ -8,11 +8,11 @@
%% License information appended.
%%
%%
-\ProvidesFile{misccommandsenvironments-ltx.def}[2010/03/01 v0.1 Persian localisation of LaTeX2e miscellaneous commands and environments]
+\ProvidesFile{misccommandsenvironments-ltx.def}[2010/07/25 v0.1 Persian localisation of LaTeX2e miscellaneous commands and environments]
\eqcommand[\نوشتار]{\document}
\eqcommand[\endنوشتار]{\enddocument}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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
index cc94697399e..ded4f799125 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/multicol-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/multicol-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{multicol-xepersian.def}[2010/03/01 v0.1 adaptations for multicol package]
+\ProvidesFile{multicol-xepersian.def}[2010/07/25 v0.1 adaptations for multicol package]
\long\def\@footnotetext#1{%
\begingroup
\setbox\footins
@@ -94,7 +94,7 @@
\rule\z@\footnotesep\ignorespaces\latinfont#1\@finalstrut\strutbox}%
\color@endgroup}}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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/rapport1-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
new file mode 100644
index 00000000000..4f853efb39f
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
@@ -0,0 +1,32 @@
+%%
+%% This is file `rapport1-xepersian.def',
+
+%%
+%% __________________________________
+%% Copyright © 2008-2010 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{rapport1-xepersian.def}[2010/07/25 v0.1 adaptations for rapport1 class]
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@harfi\c@chapter}}
+%%
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
+%%
+%% 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 `rapport1-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 3446b83c74c..01252bc4664 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{rapport3-xepersian.def}[2010/03/01 v0.1 adaptations for rapport3 class]
+\ProvidesFile{rapport3-xepersian.def}[2010/07/25 v0.2 adaptations for rapport3 class]
\renewcommand*\thepart{\@tartibi\c@part}
\renewcommand*\appendix{\par
\setcounter{chapter}{0}%
@@ -16,7 +16,7 @@
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@harfi\c@chapter}}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 272181bbdb8..a32128d7a1b 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{refrep-xepersian.def}[2010/03/01 v0.1 adaptations for refrep class]
+\ProvidesFile{refrep-xepersian.def}[2010/07/25 v0.2 adaptations for refrep class]
\renewcommand \thepart {\@tartibi\c@part}
\renewcommand\appendix{\par
\setcounter{chapter}{0}%
@@ -17,7 +17,7 @@
\gdef\thechapter{\@harfi\c@chapter}
}%end appendix
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 a344706fc00..b62a906a35c 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{report-xepersian.def}[2010/03/01 v0.1 adaptations for standard report class]
+\ProvidesFile{report-xepersian.def}[2010/07/25 v0.2 adaptations for standard report class]
\renewcommand \thepart {\@tartibi\c@part}
\renewcommand\appendix{\par
\setcounter{chapter}{0}%
@@ -17,7 +17,7 @@
\gdef\thechapter{\@harfi\c@chapter}
}%end appendix
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 f74704361d5..aaf7d7766c6 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{scrartcl-xepersian.def}[2010/03/01 v0.1 adaptations for scrartcl class]
+\ProvidesFile{scrartcl-xepersian.def}[2010/07/25 v0.2 adaptations for scrartcl class]
\renewcommand*{\thepart}{\@tartibi\c@part}
\renewcommand*\appendix{\par%
\setcounter{section}{0}%
@@ -38,7 +38,7 @@
\@@maybeautodot
}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 a6936a71b2f..7c808cfa876 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{scrbook-xepersian.def}[2010/03/01 v0.1 adaptations for scrbook class]
+\ProvidesFile{scrbook-xepersian.def}[2010/07/25 v0.2 adaptations for scrbook class]
\renewcommand*\frontmatter{%
\if@twoside\cleardoubleoddpage\else\clearpage\fi
\@mainmatterfalse\pagenumbering{harfi}%
@@ -43,7 +43,7 @@
\@@maybeautodot
}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 7f00988b109..3ee4cbd25c3 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{scrreprt-xepersian.def}[2010/03/01 v0.1 adaptations for scrreprt class]
+\ProvidesFile{scrreprt-xepersian.def}[2010/07/25 v0.2 adaptations for scrreprt class]
\renewcommand*{\thepart}{\@tartibi\c@part}
\renewcommand*\appendix{\par%
\setcounter{chapter}{0}%
@@ -39,7 +39,7 @@
\@@maybeautodot
}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 b219ceab75b..5a091c4a095 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
@@ -8,7 +8,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{tocloft-xepersian.def}[2010/03/01 v0.1 bilingual captions for tocloft package]
+\ProvidesFile{tocloft-xepersian.def}[2010/07/25 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}
@@ -20,7 +20,7 @@
\renewcommand*{\cfttabname}{\if@RTL جدول\else table\fi}
\renewcommand*{\cftsubtabname}{\if@RTL زیرجدول\else subtable\fi}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 01e0db67075..0b8be962f81 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
@@ -9,7 +9,7 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{xepersian-magazine}[2009/01/05 v0.1 Typesetting Persian magazines in XeLaTeX (Author: Vafa Khalighi)]
+\ProvidesClass{xepersian-magazine}[2010/07/25 v0.2 Typesetting Persian magazines in XeLaTeX]
\RequirePackage{ifthen}
\newlength{\xepersian@imgsize}
\newlength{\xepersian@coltitsize}
@@ -878,7 +878,7 @@ indexblock environment may only appear inside frontpage environment.
{\noindent #2}\\
}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 be84093a13e..29be7643a9f 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
@@ -10,7 +10,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xepersian-mathsdigitspec}
- [2009/04/22 v1.0.1 Unicode Persian maths digits in XeLaTeX (Author: Vafa Khalighi)]
+ [2010/07/25 v0.6 Unicode Persian maths digits in XeLaTeX]
\@zf@mathfalse
\def\@preamblecmds{}
\newcommand\not@onlypreamble[1]{{%
@@ -38,21 +38,17 @@
\XKV@rm}{#2}}\@tempa
\xepersian@PackageInfo{Defining the default Persian maths digits font as '#2'}
\DeclareSymbolFont{OPERATORS} {EU1}{\zf@family} {m}{n}
- \SetSymbolFont{OPERATORS}{bold}{EU1}{\zf@family} {bx}{n}
- \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}
- \SetMathCode{`3}{\mathalpha}{OPERATORS}{"06F3}
- \SetMathCode{`4}{\mathalpha}{OPERATORS}{"06F4}
- \SetMathCode{`5}{\mathalpha}{OPERATORS}{"06F5}
- \SetMathCode{`6}{\mathalpha}{OPERATORS}{"06F6}
- \SetMathCode{`7}{\mathalpha}{OPERATORS}{"06F7}
- \SetMathCode{`8}{\mathalpha}{OPERATORS}{"06F8}
- \SetMathCode{`9}{\mathalpha}{OPERATORS}{"06F9}
+ \SetMathCode{`0}{\mathord}{OPERATORS}{"06F0}
+ \SetMathCode{`1}{\mathord}{OPERATORS}{"06F1}
+ \SetMathCode{`2}{\mathord}{OPERATORS}{"06F2}
+ \SetMathCode{`3}{\mathord}{OPERATORS}{"06F3}
+ \SetMathCode{`4}{\mathord}{OPERATORS}{"06F4}
+ \SetMathCode{`5}{\mathord}{OPERATORS}{"06F5}
+ \SetMathCode{`6}{\mathord}{OPERATORS}{"06F6}
+ \SetMathCode{`7}{\mathord}{OPERATORS}{"06F7}
+ \SetMathCode{`8}{\mathord}{OPERATORS}{"06F8}
+ \SetMathCode{`9}{\mathord}{OPERATORS}{"06F9}
\SetMathCode{`\%}{\mathbin}{OPERATORS}{`٪}
\SetMathCharDef{\decimalseparator}{\mathpunct}{OPERATORS}{"066B}}
}
@@ -92,9 +88,10 @@
\def\AutoMathsDigits{\def\SetMathsDigits{\ifx\persianmathsdigits\undefied\else\if@Latin\else\persianmathsdigits\fi\fi}}
\AutoMathsDigits
\everymath{\SetMathsDigits}
-\everydisplay{\SetMathsDigits}
+\g@addto@macro\document{\everydisplay{\predisplaydirection=0\SetMathsDigits}
+\@ifpackageloaded{amsmath}{\everydisplay\@xp{\the\everydisplay \@displaytrue}}{}}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 f60c1b1a404..61cf7217efd 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
@@ -9,8 +9,8 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{xepersian-multiplechoice}[2009/03/21 v0.1
- Multiple Choice Questionnaire class for Persian in XeLaTeX (Author: Vafa Khalighi)]
+\ProvidesPackage{xepersian-multiplechoice}[2010/07/25 v0.2
+ Multiple Choice Questionnaire class for Persian in XeLaTeX]
\RequirePackage{pifont}
\RequirePackage{fullpage}
\RequirePackage{ifthen}
@@ -144,7 +144,7 @@
\questiontitle{سؤال \thequestion:}
\ProcessOptions
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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 bcc170cae8d..34e89588c66 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
@@ -9,7 +9,7 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{xepersian-persiancal}[2010/03/01 v0.1 provides Persian calendar]
+\ProvidesPackage{xepersian-persiancal}[2010/07/25 v0.1 provides Persian calendar]
\newif\ifXePersian@leap \newif\ifXePersian@kabiseh
\newcount\XePersian@i \newcount\XePersian@y \newcount\XePersian@m \newcount\XePersian@d
@@ -177,7 +177,7 @@
دی\or بهمن\or
اسفند\fi}
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% 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.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index e3bad8a76dc..d115ff66f6b 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -9,43 +9,28 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v1.0.4}
-\def\xepersianrevision{revision 153}
-\def\xepersiandate{2010/03/01}
-\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space <\xepersianrevision>
+\def\xepersianversion{v1.0.6}
+\def\xepersiancommit{commit 18}
+\def\xepersiandate{2010/07/25}
+\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space <\xepersiancommit>
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
\RequirePackage{xepersian-persiancal}
\RequirePackage{xepersian-mathsdigitspec}
\RequirePackage{etoolbox}
\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
+\xepersianversion, <\xepersiancommit>, \xepersiandate^^J
License: LaTeX Project Public License, version 1.3c or higher (your choice)^^J
-Home: http://xepersian.berlios.de^^J
+Home: http://bitbucket.org/vafa/xepersian^^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 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}
@@ -149,12 +134,12 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\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\@Latintrue\@RTL@footnotefalse\resetlatinfont}
-\def\endlatin{\par\egroup}
-\def\persian{\bgroup\PersianAlphs\par\@RTLtrue\@RTL@footnotetrue\setpersianfont}
-\def\endpersian{\par\egroup}
+\def\lr#1{\LRE{\latinfont#1}}
+\def\rl#1{\RLE{\persianfont#1}}
+\def\latin{\LTR\LatinAlphs\@Latintrue\@RTL@footnotefalse\resetlatinfont}
+\def\endlatin{\endLTR}
+\def\persian{\RTL\PersianAlphs\@RTL@footnotetrue\setpersianfont}
+\def\endpersian{\endRTL}
\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
@@ -251,9 +236,9 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\def\pagename{\if@RTL صفحه\else Page\fi}
\def\headtoname{\if@RTL به\else To\fi}
\def\proofname{\if@RTL اثبات\else Proof\fi}
-\def\@harfi#1{\ifcase#1\or الف\char"200D\or ب\or پ\or ت\or ث\or
+\def\@harfi#1{\ifcase#1\or الف‍\or ب\or پ\or ت\or ث\or
ج\or چ\or ح\or خ\or د\or ذ\or ر\or ز\or س\or ش\or ص\or ض\or ع\or غ\or
-ف\or ق\or ک\or گ\or ل\or م\or ن\or ه\or و\or ی\else\@ctrerr\fi}
+ف\or ق\or ک\or گ\or ل\or م\or ن\or و\or ه\or ی\else\@ctrerr\fi}
\def\harfi#1{\expandafter\@harfi\csname c@#1\endcsname}
\def\@adadi#1{\ifcase#1 \or یک\or دو\or سه\or چهار\or پنج\or شش\or هفت\or هشت\or نه\or ده\or یازده\or دوازده\or سیزده\or چهارده\or پانزده\or شانزده\or هفده\or هجده\or نوزده\or بیست\else\@ctrerr\fi}
\def\adadi#1{\expandafter\@adadi\csname c@#1\endcsname}
@@ -285,7 +270,7 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\def\abjad@zero{}
\def\abj@num@i#1{%
\ifcase#1\or الف\or ب\or ج\or د%
- \or ه\char"200D\or و\or ز\or ح\or ط\fi
+ \or ه‍\or و\or ز\or ح\or ط\fi
\ifnum#1=\z@\abjad@zero\fi}
\def\abj@num@ii#1{%
\ifcase#1\or ی\or ک\or ل\or م\or ن%
@@ -325,13 +310,22 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\@ifpackageloaded{multicol}{\input{multicol-xepersian.def}}{}
\@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xepersian.def}}}{}
\@ifclassloaded{article}{\input{article-xepersian.def}}{}
+\@ifclassloaded{extarticle}{\input{extarticle-xepersian.def}}{}
+\@ifclassloaded{artikel1}{\input{artikel1-xepersian.def}}{}
+\@ifclassloaded{artikel2}{\input{artikel2-xepersian.def}}{}
+\@ifclassloaded{artikel3}{\input{artikel3-xepersian.def}}{}
\@ifclassloaded{amsart}{\input{amsart-xepersian.def}}{}
+\@ifclassloaded{bidimoderncv}{\input{bidimoderncv-xepersian.def}}{}
\@ifclassloaded{report}{\input{report-xepersian.def}}{}
+\@ifclassloaded{extreport}{\input{extreport-xepersian.def}}{}
+\@ifclassloaded{rapport1}{\input{rapport1-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{amsbook}{\input{amsbook-xepersian.def}}{}
+\@ifclassloaded{boek3}{\input{boek3-xepersian.def}}{}
+\@ifclassloaded{boek}{\input{boek-xepersian.def}}{}
\@ifclassloaded{bookest}{\input{bookest-xepersian.def}}{}
\@ifclassloaded{extbook}{\input{extbook-xepersian.def}}{}
\@ifclassloaded{book}{\input{book-xepersian.def}}{}
@@ -341,7 +335,7 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\DeclareOption{localise}{\input{localise-xepersian.def}}
\ProcessOptions
%%
-%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%
%% Distributable under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of