diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-22 23:01:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-22 23:01:56 +0000 |
commit | c9391cc080058eef911e5a4fbb563df12307ae08 (patch) | |
tree | bcc6e6176d93a3a955bb86b581f2f2fd7cc92782 /Master/texmf-dist/tex/xelatex | |
parent | 78d64c31716490abd3e7c7e2283dba7547e06dfd (diff) |
xepersian (22sep11)
git-svn-id: svn://tug.org/texlive/trunk@24070 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty | 16 | ||||
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty | 2 |
2 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty index fea20f474b0..cbbe70964b5 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty @@ -14,22 +14,26 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xepersian-mathsdigitspec} - [2011/03/01 v0.9 Unicode Persian maths digits in XeLaTeX] + [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}} diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty index e2d401b23de..390bc239faf 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.2} +\def\xepersianversion{v1.2.3} \def\xepersiandate{2011/10/01} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space Persian typesetting in XeLaTeX] |