summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty21
1 files changed, 10 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index 9adc2bff6dd..aa642c6e28e 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -7,26 +7,25 @@
%% xepersian.dtx (with options: `xepersian.sty')
%%
%% ______________________________________
-%% Copyright © 2008–2011 VAFA KHALIGHI
+%% Copyright © 2008–2012 Vafa Khalighi
%%
%% License information appended.
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v1.2.4}
-\def\xepersiandate{2011/12/01}
+\def\xepersianversion{v1.2.5}
+\def\xepersiandate{2012/01/01}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
\RequirePackage{xepersian-persiancal}
\RequirePackage{xepersian-mathsdigitspec}
-\RequirePackage{etoolbox}
\RequirePackage[RTLdocument]{bidi}
\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–2011 VAFA KHALIGHI^^J
+Copyright © 2008–2012 Vafa Khalighi^^J
\xepersianversion, \xepersiandate^^J
License: LaTeX Project Public License, version 1.3c or higher (your choice)^^J
Location on CTAN: /macros/xetex/latex/xepersian}
@@ -497,8 +496,8 @@ number is 999,999,999.}%
\providecommand*{\xpg@warning}[1]{%
\PackageWarning{XePersian}%
{#1}}
-\ifcsdef{abjad}{}{%
-\def\abjad#1{%
+\if@bidi@csdef{abjadnumeral}{}{%
+\def\abjadnumeral#1{%
\ifnum#1>1999 \xpg@warning{Illegal value (#1) for abjad numeral} {#1}
\else
\ifnum#1<\z@\space\xpg@warning{Illegal value (#1) for abjad numeral}%
@@ -537,8 +536,8 @@ number is 999,999,999.}%
\let\@latinalph\@alph%
\let\@latinAlph\@Alph%
\def\PersianAlphs{%
- \let\@alph\abjad%
- \let\@Alph\abjad%
+ \let\@alph\abjadnumeral%
+ \let\@Alph\abjadnumeral%
}
\def\LatinAlphs{%
\let\@alph\@latinalph%
@@ -603,14 +602,14 @@ number is 999,999,999.}%
\ExecuteOptions{localise}
\ProcessOptions
%%
-%% Copyright © 2008–2011 VAFA KHALIGHI <vafaklg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafaklg@gmail.com>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
%% this license is at: http://www.latex-project.org/lppl.txt
%%
%% This work is “author-maintained” (as per LPPL maintenance status)
-%% by VAFA KHALIGHI.
+%% by Vafa Khalighi.
%%
%%
%%