summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-22 23:01:56 +0000
committerKarl Berry <karl@freefriends.org>2011-09-22 23:01:56 +0000
commitc9391cc080058eef911e5a4fbb563df12307ae08 (patch)
treebcc6e6176d93a3a955bb86b581f2f2fd7cc92782 /Master/texmf-dist/source/xelatex
parent78d64c31716490abd3e7c7e2283dba7547e06dfd (diff)
xepersian (22sep11)
git-svn-id: svn://tug.org/texlive/trunk@24070 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx27
1 files changed, 15 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
index 9a27dacf7cb..05c7dc5e3ff 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.2
+v1.2.3
XePersian is a package written for XeLaTeX that allows users to typeset
-Persian easily. The current version is 1.2.2 and it will be developed to
+Persian easily. The current version is 1.2.3 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.2}
+% \date{\today\qquad Version 1.2.3}
%\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-2011 VAFA KHALIGHI
-%v1.2.2, 2011/10/01
+%v1.2.3, 2011/10/01
%License: LaTeX Project Public License, version 1.3c or higher (your choice)
%Location on CTAN: /macros/xetex/latex/xepersian
%\end{lstlisting}
@@ -5574,7 +5574,7 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \subsection{\textsf{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v1.2.2}
+\def\xepersianversion{v1.2.3}
\def\xepersiandate{2011/10/01}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
@@ -7048,23 +7048,26 @@ indexblock environment may only appear inside frontpage environment.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xepersian-mathsdigitspec}
- [2011/03/01 v0.9 Unicode Persian maths digits in XeLaTeX]
-%\@zf@mathfalse
+ [2011/09/22 v1.0.0 Unicode Persian maths digits in XeLaTeX]
\ExplSyntaxOn
\bool_set_false:N \g_fontspec_math_bool
\ExplSyntaxOff
\def\@preamblecmds{}
-\newcommand\not@onlypreamble[1]{{%
+\newcommand\xepersian@not@onlypreamble[1]{{%
\def\do##1{\ifx#1##1\else\noexpand\do\noexpand##1\fi}%
\xdef\@preamblecmds{\@preamblecmds}}}
-\def\gm@notprerr{ can be used only in preamble (\on@line)}
+\xepersian@not@onlypreamble\@preamblecmds
+\def\xepersian@notprerr{ can be used only in preamble (\on@line)}
\AtBeginDocument{%
\def\do#1{\noexpand\do\noexpand#1}%
\edef\@preamblecmds{%
\def\noexpand\do##1{%
- \def##1{\noexpand\PackageError{gmutils/LaTeX}%
- {\noexpand\string##1 \noexpand\gm@notprerr}\noexpand\@eha}}%
- \@preamblecmds}}
+ \def##1{\noexpand\xepersian@NotprerrMessage##1}\noexpand\@eha}}%
+ \@preamblecmds}
+\def\xepersian@NotprerrMessage#1{%
+ \PackageError{xepersian}%
+ {\noexpand\string#1 \noexpand\xepersian@notprerr}{}%
+}
\def\nocite#1{%
\@bsphack{\setbox0=\hbox{\cite{#1}}}\@esphack}
\newcommand\xepersian@PackageInfo[1]{\PackageInfo{xepersian-mathsdigitspec}{#1}}