summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-09 23:48:17 +0000
committerKarl Berry <karl@freefriends.org>2011-10-09 23:48:17 +0000
commit68d5f2bed16d2f2f0176d8bfcc468e12113a1bbf (patch)
tree490c65bf2d562e9005273b84a24e2bc57734cff8 /Master
parent09ab3a5d73d4bd916aa1fdfd114753087c851fe4 (diff)
xepersian (9oct11)
git-svn-id: svn://tug.org/texlive/trunk@24249 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/README4
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdfbin241283 -> 241236 bytes
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx30
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def6
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty6
8 files changed, 30 insertions, 26 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README
index cb71c0247ce..5f1d73a6657 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.2.5
+v1.2.8
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 1.2.5 and it will be developed to
+Persian easily. The current version is 1.2.8 and it will be developed to
meet the needs of Persian typesetting properly.
The XePersian package is independent of any operating system, meaning it
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
index 003a3e1df66..b49bf468ef4 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
+++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
index 170b628e59e..d010163c56a 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
@@ -5,10 +5,10 @@
%<*readme>
_________________
The XePersian package
-v1.2.5
+v1.2.8
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 1.2.5 and it will be developed to
+Persian easily. The current version is 1.2.8 and it will be developed to
meet the needs of Persian typesetting properly.
The XePersian package is independent of any operating system, meaning it
@@ -207,7 +207,7 @@ by Vafa Khalighi.
% Persian for \LaTeXe{} over \XeTeX}
% \author{Vafa Khalighi\\
% \url{vafaklg@gmail.com}}
-% \date{\today\qquad Version 1.2.5}
+% \date{\today\qquad Version 1.2.8}
%\maketitle
%\tableofcontents
%\section{Introduction}
@@ -227,7 +227,7 @@ by Vafa Khalighi.
%Description: The package supports Persian
%typesetting, using fonts provided in the distribution.
%Copyright © 2008-2012 Vafa Khalighi
-%v1.2.5, 2012/01/01
+%v1.2.8, 2012/01/01
%License: LaTeX Project Public License, version 1.3c or higher (your choice)
%Location on CTAN: /macros/xetex/latex/xepersian
%\end{lstlisting}
@@ -3109,7 +3109,7 @@ by Vafa Khalighi.
\eqcommand{جمع‌صفحه}{pagetotal}
\eqcommand{بلندای‌کاغذ}{paperheight}
\eqcommand{پهنای‌کاغذ}{paperwidth}
-\eqcommand{بند}{par}
+\bidi@csdefcs{بند}{par}% this is an exception since \par is redefined only in some circumstances
\eqcommand{پاراگراف}{paragraph}
\eqcommand{موازی}{parallel}
\eqcommand{کادرپار}{parbox}
@@ -3909,12 +3909,13 @@ by Vafa Khalighi.
%\fi
% \subsection{\textsf{loadingorder-bidi-xepersian.def}}
% \begin{macrocode}
-\ProvidesFile{loadingorder-bidi-xepersian.def}[2010/07/25 v0.2 making sure that xepersian is the last package loaded]
+\ProvidesFile{loadingorder-bidi-xepersian.def}[2012/01/01 v0.3 making sure that xepersian is the last package loaded]
\bidi@isloaded{algorithmic}
\bidi@isloaded{algorithm}
\bidi@isloaded{backref}
\bidi@isloaded{enumerate}
\bidi@isloaded{tocloft}
+\bidi@isloaded{url}
\AtBeginDocument{
\if@bidi@algorithmicloaded@\else
\bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithmic after xepersian package. Please load package algorithmic before xepersian package, and then try to run xelatex on your document again}{}]{algorithmic}
@@ -3931,6 +3932,9 @@ by Vafa Khalighi.
\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%
+ \if@bidi@urlloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package url after xepersian package. Please load package url before xepersian package, and then try to run xelatex on your document again}{}]{url}
+ \fi%
}
% \end{macrocode}
% \iffalse
@@ -3942,9 +3946,7 @@ by Vafa Khalighi.
\ProvidesFile{localise-xepersian.def}[2010/07/25 v0.2a Persian localisation of LaTeX2e]
\newcommand{\makezwnjletter}{\catcode`‌=11\relax}
\makezwnjletter
-\newcommand*{\eqcommand}[2]{%
-\expandafter\@ifdefinable \csname#1\endcsname{%
-\expandafter\def\csname#1\expandafter\endcsname{\csname#2\endcsname}}}
+\newcommand*{\eqcommand}[2]{\if@bidi@csprimitive{#2}{\bidi@csletcs{#1}{#2}}{\bidi@csdefcs{#1}{#2}}}
\newcommand*{\eqenvironment}[2]{\newenvironment{#1}{\csname#2\endcsname}{\csname end#2\endcsname}}
\input{commands-ltx.def}
\input{commands-xepersian.def}
@@ -5014,7 +5016,7 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \subsection{\textsf{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v1.2.5}
+\def\xepersianversion{v1.2.8}
\def\xepersiandate{2012/01/01}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
@@ -5497,7 +5499,7 @@ number is 999,999,999.}%
\providecommand*{\xpg@warning}[1]{%
\PackageWarning{XePersian}%
{#1}}
-\if@bidi@csdef{abjadnumeral}{}{%
+\if@bidi@csundef{abjadnumeral}{%
\def\abjadnumeral#1{%
\ifnum#1>1999 \xpg@warning{Illegal value (#1) for abjad numeral} {#1}
\else
@@ -5533,7 +5535,7 @@ number is 999,999,999.}%
\def\abj@num@iv#1{%
\ifcase#1\or غ\fi
\ifnum#1=\z@\fi\abj@num@iii}
-}
+}{}
\let\@latinalph\@alph%
\let\@latinAlph\@Alph%
\def\PersianAlphs{%
@@ -6487,7 +6489,7 @@ indexblock environment may only appear inside frontpage environment.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xepersian-mathsdigitspec}
- [2011/09/22 v1.0.0 Unicode Persian maths digits in XeLaTeX]
+ [2012/01/01 v1.0.1 Unicode Persian maths digits in XeLaTeX]
\ExplSyntaxOn
\bool_set_false:N \g_fontspec_math_bool
\ExplSyntaxOff
@@ -6579,7 +6581,7 @@ indexblock environment may only appear inside frontpage environment.
\SetMathCode{`7}{\mathalpha}{OPERATORS}{`7}
\SetMathCode{`8}{\mathalpha}{OPERATORS}{`8}
\SetMathCode{`9}{\mathalpha}{OPERATORS}{`9}
- \SetMathCode{`\%}{\mathbin}{OPERATORS}{`٪}
+ \SetMathCharDef{\%}{\mathbin}{OPERATORS}{`٪}
\SetMathCharDef{\decimalseparator}{\mathpunct}{OPERATORS}{"066B}
\cs_set_eq:NN \mathbf \new@mathbf
\cs_set_eq:NN \mathit \new@mathit
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def b/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
index 3ea891440df..9b464f943d7 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
@@ -624,7 +624,7 @@
\eqcommand{جمع‌صفحه}{pagetotal}
\eqcommand{بلندای‌کاغذ}{paperheight}
\eqcommand{پهنای‌کاغذ}{paperwidth}
-\eqcommand{بند}{par}
+\bidi@csdefcs{بند}{par}% this is an exception since \par is redefined only in some circumstances
\eqcommand{پاراگراف}{paragraph}
\eqcommand{موازی}{parallel}
\eqcommand{کادرپار}{parbox}
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 341670f74cc..195f64ac9ce 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def
@@ -12,12 +12,13 @@
%% License information appended.
%%
%%
-\ProvidesFile{loadingorder-bidi-xepersian.def}[2010/07/25 v0.2 making sure that xepersian is the last package loaded]
+\ProvidesFile{loadingorder-bidi-xepersian.def}[2012/01/01 v0.3 making sure that xepersian is the last package loaded]
\bidi@isloaded{algorithmic}
\bidi@isloaded{algorithm}
\bidi@isloaded{backref}
\bidi@isloaded{enumerate}
\bidi@isloaded{tocloft}
+\bidi@isloaded{url}
\AtBeginDocument{
\if@bidi@algorithmicloaded@\else
\bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithmic after xepersian package. Please load package algorithmic before xepersian package, and then try to run xelatex on your document again}{}]{algorithmic}
@@ -34,6 +35,9 @@
\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%
+ \if@bidi@urlloaded@\else
+ \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package url after xepersian package. Please load package url before xepersian package, and then try to run xelatex on your document again}{}]{url}
+ \fi%
}
%%
%% Copyright © 2008–2012 Vafa Khalighi <vafaklg@gmail.com>
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
index cb029dc426d..8ec15072ff9 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
@@ -15,9 +15,7 @@
\ProvidesFile{localise-xepersian.def}[2010/07/25 v0.2a Persian localisation of LaTeX2e]
\newcommand{\makezwnjletter}{\catcode`‌=11\relax}
\makezwnjletter
-\newcommand*{\eqcommand}[2]{%
-\expandafter\@ifdefinable \csname#1\endcsname{%
-\expandafter\def\csname#1\expandafter\endcsname{\csname#2\endcsname}}}
+\newcommand*{\eqcommand}[2]{\if@bidi@csprimitive{#2}{\bidi@csletcs{#1}{#2}}{\bidi@csdefcs{#1}{#2}}}
\newcommand*{\eqenvironment}[2]{\newenvironment{#1}{\csname#2\endcsname}{\csname end#2\endcsname}}
\input{commands-ltx.def}
\input{commands-xepersian.def}
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
index ba62e46b179..8e78cbf0ba8 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
@@ -14,7 +14,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xepersian-mathsdigitspec}
- [2011/09/22 v1.0.0 Unicode Persian maths digits in XeLaTeX]
+ [2012/01/01 v1.0.1 Unicode Persian maths digits in XeLaTeX]
\ExplSyntaxOn
\bool_set_false:N \g_fontspec_math_bool
\ExplSyntaxOff
@@ -106,7 +106,7 @@
\SetMathCode{`7}{\mathalpha}{OPERATORS}{`7}
\SetMathCode{`8}{\mathalpha}{OPERATORS}{`8}
\SetMathCode{`9}{\mathalpha}{OPERATORS}{`9}
- \SetMathCode{`\%}{\mathbin}{OPERATORS}{`٪}
+ \SetMathCharDef{\%}{\mathbin}{OPERATORS}{`٪}
\SetMathCharDef{\decimalseparator}{\mathpunct}{OPERATORS}{"066B}
\cs_set_eq:NN \mathbf \new@mathbf
\cs_set_eq:NN \mathit \new@mathit
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index aa642c6e28e..0df88046eac 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -13,7 +13,7 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v1.2.5}
+\def\xepersianversion{v1.2.8}
\def\xepersiandate{2012/01/01}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
@@ -496,7 +496,7 @@ number is 999,999,999.}%
\providecommand*{\xpg@warning}[1]{%
\PackageWarning{XePersian}%
{#1}}
-\if@bidi@csdef{abjadnumeral}{}{%
+\if@bidi@csundef{abjadnumeral}{%
\def\abjadnumeral#1{%
\ifnum#1>1999 \xpg@warning{Illegal value (#1) for abjad numeral} {#1}
\else
@@ -532,7 +532,7 @@ number is 999,999,999.}%
\def\abj@num@iv#1{%
\ifcase#1\or غ\fi
\ifnum#1=\z@\fi\abj@num@iii}
-}
+}{}
\let\@latinalph\@alph%
\let\@latinAlph\@Alph%
\def\PersianAlphs{%