summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-23 22:26:09 +0000
committerKarl Berry <karl@freefriends.org>2011-10-23 22:26:09 +0000
commit1da5e2f8993255e85e56bc6e10eb3192a22059c6 (patch)
tree6a2421f91ffee58464f66c5cd8604959b3d73612
parentcccdf1e8ee107f41bca9bb3f936501c0b1acd75d (diff)
xepersian (23oct11)
git-svn-id: svn://tug.org/texlive/trunk@24372 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/README4
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdfbin241260 -> 241090 bytes
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx33
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty25
4 files changed, 54 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README
index bfd36dc51b4..ffa61599955 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.3.0
+v1.3.1
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 1.3.0 and it will be developed to
+Persian easily. The current version is 1.3.1 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 6cfa9d89199..db843f64ecf 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 841d5685917..288cf260d43 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.3.0
+v1.3.1
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 1.3.0 and it will be developed to
+Persian easily. The current version is 1.3.1 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.3.0}
+% \date{\today\qquad Version 1.3.1}
%\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.3.0, 2012/01/01
+%v1.3.1, 2012/01/01
%License: LaTeX Project Public License, version 1.3c or higher (your choice)
%Location on CTAN: /macros/xetex/latex/xepersian
%\end{lstlisting}
@@ -5037,10 +5037,33 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \subsection{\textsf{xepersian.sty}}
% \begin{macrocode}
\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}
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}