diff options
author | Karl Berry <karl@freefriends.org> | 2010-07-17 23:23:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-07-17 23:23:56 +0000 |
commit | 14db802bc06647ce776ce0fb8c09837763d8fe4c (patch) | |
tree | 1b009abc97ec1adc3416b3ee6f6114f1754977ee /Master/texmf-dist/tex | |
parent | bb6fee0c70db8b8887c40c2c8f5af7b0cd666b3c (diff) |
xepersian update (17jul10)
git-svn-id: svn://tug.org/texlive/trunk@19506 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty index a9a95006c39..7104f8a23e4 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty @@ -9,8 +9,8 @@ %% %% \NeedsTeXFormat{LaTeX2e} -\def\xepersianversion{v1.0.8} -\def\xepersiancommit{commit 22} +\def\xepersianversion{v1.0.9} +\def\xepersiancommit{commit 23} \def\xepersiandate{2010/07/25} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space <\xepersiancommit> Persian typesetting in XeLaTeX] @@ -46,10 +46,10 @@ Location on CTAN: /macros/xetex/latex/xepersian} \fi \def\prq{«} \def\plq{»} -\newfontscript{Persian}{arab} -\newfontlanguage{Persian}{ARA} +\newfontscript{Parsi}{arab} +\newfontlanguage{Parsi}{FAR} \newcommand*\settextfont[2][]{% -\newfontfamily\persianfont[Script=Persian,Mapping=parsidigits,#1]{#2} +\newfontfamily\persianfont[Script=Parsi,Language=Parsi,Mapping=parsidigits,#1]{#2} \let\rmdefault\zf@family \normalfont } @@ -64,7 +64,7 @@ Location on CTAN: /macros/xetex/latex/xepersian} \newcommand*\defpersianfont[1]{% \@ifnextchar[{\defpersianfont@i#1}{\defpersianfont@i#1[]}} \def\defpersianfont@i#1[#2]#3{% - \zf@fontspec{Script=Persian,Mapping=parsidigits,#2}{#3}% + \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#2}{#3}% \edef\@tempa{% \noexpand\DeclareRobustCommand\noexpand#1 {\noexpand\fontfamily{\zf@family}\noexpand\selectfont}}% @@ -108,27 +108,27 @@ Location on CTAN: /macros/xetex/latex/xepersian} \DeclareTextFontCommand{\textpook}{\pookfamily} \DeclareTextFontCommand{\textsayeh}{\sayehfamily} \newcommand*\setpersiansansfont[2][]{% - \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}% + \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}% \let\persiansfdefault\zf@family \normalfont} \newcommand*\setpersianmonofont[2][]{% - \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}% + \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}% \let\persianttdefault\zf@family \normalfont} \newcommand*\setnavarfont[2][]{% - \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}% + \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}% \let\navardefault\zf@family \normalfont} \newcommand*\setpookfont[2][]{% - \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}% + \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}% \let\pookdefault\zf@family \normalfont} \newcommand*\setsayehfont[2][]{% - \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}% + \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}% \let\sayehdefault\zf@family \normalfont} \newcommand*\setiranicfont[2][]{% - \zf@fontspec{Script=Persian,Mapping=parsidigits,#1}{#2}% + \zf@fontspec{Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2}% \let\iranicdefault\zf@family \normalfont} \def\resetlatinfont{% |