summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-17 23:23:56 +0000
committerKarl Berry <karl@freefriends.org>2010-07-17 23:23:56 +0000
commit14db802bc06647ce776ce0fb8c09837763d8fe4c (patch)
tree1b009abc97ec1adc3416b3ee6f6114f1754977ee
parentbb6fee0c70db8b8887c40c2c8f5af7b0cd666b3c (diff)
xepersian update (17jul10)
git-svn-id: svn://tug.org/texlive/trunk@19506 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/README14
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/ctg.jpgbin0 -> 15678 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdfbin200927 -> 223575 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex22
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty24
5 files changed, 36 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README
index c4b01427750..03e43afc880 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/README
+++ b/Master/texmf-dist/doc/xelatex/xepersian/README
@@ -1,9 +1,9 @@
_________________
The XePersian package
-v1.0.8
+v1.0.9
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 1.0.8 and it will be developed to
+Persian easily. The current version is 1.0.9 and it will be developed to
meet the needs of Persian typesetting properly.
The XePersian package is independent of any operating system, meaning it
@@ -17,14 +17,10 @@ in the documentation.
To get help, please explore http://forum.parsilatex.com
-Note: At the time of releasing this version of XePersian, there is a newer version of
-fontspec package in which the command \zf@fontspec is removed and since xepersian uses
-this command, you might get an error saying \zf@fontspec is undefined. I have informed the author
-of fontspec package to fix this but in case, you get this error, you can put this after loading xepersian:
+Note: The image ctg.jpg is in public domain (a public domain
+artwork from iranpoliticsclub.net) and taken from
+http://iranpoliticsclub.net/culture-language/PIY/images/Cyrus%20The%20Great%20face.jpg
-\ExplSyntaxOn
-\cs_set_eq:cN {zf@fontspec} \fontspec_select:nn
-\ExplSyntaxOff
______________
Vafa Khalighi
vafakh84@gmail.com
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/ctg.jpg b/Master/texmf-dist/doc/xelatex/xepersian/ctg.jpg
new file mode 100644
index 00000000000..7153e8390d9
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xepersian/ctg.jpg
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdf
index cf439d13c7e..4c2640e33d3 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 e03551bdb29..f366ca79f38 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex
+++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex
@@ -1,4 +1,5 @@
\documentclass{rapport3}
+\usepackage{graphicx,wrapfig}
\usepackage{url}
\usepackage{supertabular}
\usepackage{fontspec}
@@ -33,16 +34,31 @@
\definecolor{Orange}{rgb}{1,.4,.2}
\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.8}
+\date{Version 1.0.9}
\begin{document}
\maketitle
+\chapter*{Dedication}
+\textit{We dedicate the \textsf{\XePersian} package to our \textbf{father}, \textbf{Cyrus The Great}.}
+\textbf{Cyrus the Great} (c. 600 BC or 576 BC – December 530 BC), also known as \textbf{Cyrus II} or \textbf{Cyrus of Persia}, was the first Zoroastrian Persian emperor. He was the founder of the Persian Empire under the Achaemenid dynasty.
+
+\begin{wrapfigure}{l}{0.5\textwidth}
+\centering
+\fbox{\includegraphics{ctg}}
+ \caption{Portrait of Cyrus The Great}
+\end{wrapfigure}
+
+It was under his own rule that the empire embraced all previous civilized states of the ancient Near East, expanded vastly and eventually conquered most of Southwest Asia and much of Central Asia, from Egypt and the Hellespont in the west to the Indus River in the east, to create the largest empire the world had yet seen.
+
+The reign of Cyrus lasted 29 to 31 years. Cyrus built his empire by fighting and conquering first the Median Empire, then the Lydian Empire and the Neo-Babylonian Empire. Either before or after Babylon, he led an expedition into central Asia, which resulted in major campaigns that brought ``into subjection every nation without exception." Cyrus did not venture into Egypt, as he himself died in battle, fighting the Massagetae along the Syr Darya in December 530 BC. He was succeeded by his son, Cambyses II, who managed to add to the empire by conquering Egypt, Nubia, and Cyrenaica during his short rule.
+
+As a military leader, Cyrus left a legacy on the art of leadership and decision making, and he attributed his success to ``Diversity in counsel, unity in command.'' Cyrus the Great respected the customs and religions of the lands he conquered. It is said that in universal history, the role of the Achaemenid empire founded by Cyrus lies in its very successful model for centralized administration and establishing a government working to the advantage and profit of its subjects. In fact, the administration of the empire through satraps and the vital principle of forming a government at Pasargadae were the work of Cyrus. Aside from his own nation, Iran, Cyrus also left a lasting legacy on Jewish religion (through his Edict of Restoration), human rights, politics, and military strategy, as well as on both Eastern and Western civilizations.
\tableofcontents
\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.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 Before reading this documentation, you should have read the documentation of the version 1.1.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 (\(\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.
@@ -54,7 +70,7 @@ 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.8, <commit 22>, 2010/07/25
+v1.0.9, <commit 22>, 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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index a9a95006c39..7104f8a23e4 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -9,8 +9,8 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v1.0.8}
-\def\xepersiancommit{commit 22}
+\def\xepersianversion{v1.0.9}
+\def\xepersiancommit{commit 23}
\def\xepersiandate{2010/07/25}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space <\xepersiancommit>
Persian typesetting in XeLaTeX]
@@ -46,10 +46,10 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\fi
\def\prq{«}
\def\plq{»}
-\newfontscript{Persian}{arab}
-\newfontlanguage{Persian}{ARA}
+\newfontscript{Parsi}{arab}
+\newfontlanguage{Parsi}{FAR}
\newcommand*\settextfont[2][]{%
-\newfontfamily\persianfont[Script=Persian,Mapping=parsidigits,#1]{#2}
+\newfontfamily\persianfont[Script=Parsi,Language=Parsi,Mapping=parsidigits,#1]{#2}
\let\rmdefault\zf@family
\normalfont
}
@@ -64,7 +64,7 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\newcommand*\defpersianfont[1]{%
\@ifnextchar[{\defpersianfont@i#1}{\defpersianfont@i#1[]}}
\def\defpersianfont@i#1[#2]#3{%
- \zf@fontspec{Script=Persian,Mapping=parsidigits,#2}{#3}%
+ \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#2}{#3}%
\edef\@tempa{%
\noexpand\DeclareRobustCommand\noexpand#1
{\noexpand\fontfamily{\zf@family}\noexpand\selectfont}}%
@@ -108,27 +108,27 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\DeclareTextFontCommand{\textpook}{\pookfamily}
\DeclareTextFontCommand{\textsayeh}{\sayehfamily}
\newcommand*\setpersiansansfont[2][]{%
- \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}%
+ \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}%
\let\persiansfdefault\zf@family
\normalfont}
\newcommand*\setpersianmonofont[2][]{%
- \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}%
+ \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}%
\let\persianttdefault\zf@family
\normalfont}
\newcommand*\setnavarfont[2][]{%
- \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}%
+ \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}%
\let\navardefault\zf@family
\normalfont}
\newcommand*\setpookfont[2][]{%
- \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}%
+ \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}%
\let\pookdefault\zf@family
\normalfont}
\newcommand*\setsayehfont[2][]{%
- \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}%
+ \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}%
\let\sayehdefault\zf@family
\normalfont}
\newcommand*\setiranicfont[2][]{%
- \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}%
+ \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}%
\let\iranicdefault\zf@family
\normalfont}
\def\resetlatinfont{%