diff options
author | Karl Berry <karl@freefriends.org> | 2011-10-23 22:26:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-10-23 22:26:09 +0000 |
commit | 1da5e2f8993255e85e56bc6e10eb3192a22059c6 (patch) | |
tree | 6a2421f91ffee58464f66c5cd8604959b3d73612 /Master/texmf-dist/tex/xelatex/xepersian | |
parent | cccdf1e8ee107f41bca9bb3f936501c0b1acd75d (diff) |
xepersian (23oct11)
git-svn-id: svn://tug.org/texlive/trunk@24372 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty index fc9aaa66c80..0288b03ec51 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty @@ -13,10 +13,33 @@ %% %% \NeedsTeXFormat{LaTeX2e} -\def\xepersianversion{v1.3.0} +\def\xepersianversion{v1.3.1} \def\xepersiandate{2012/01/01} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space Persian typesetting in XeLaTeX] +\def\xepersian@reserved@a#1/#2/#3\@nil{% + \count@\year + \advance\count@-#1\relax + \multiply\count@ by 12\relax + \advance\count@\month + \advance\count@-#2\relax} +\expandafter\xepersian@reserved@a\xepersiandate\@nil +\ifnum\count@>3 + \typeout{^^J% +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J% +! You are attempting to use a version of xepersian package^^J% +! That is more than three months old.^^J% +!^^J% +! If you enter <return> to scroll past this message then the output^^J% +! may be written on \jobname.pdf without any further errors^^J% +! but please consider obtaining newer xepersian package^^J% +! before continuing to use xepersian package.^^J% +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J% +} + \errhelp{To avoid this error message, obtain new xepersian package.} + \errmessage{xepersian package more than three months old!} +\fi +\let\xepersian@reserved@a\relax \RequirePackage{fontspec} \RequirePackage{xepersian-persiancal} \RequirePackage{xepersian-mathsdigitspec} |