summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-09 00:25:23 +0000
committerKarl Berry <karl@freefriends.org>2010-06-09 00:25:23 +0000
commit04a2bc11b0e922218339995a7bb1f6ddbaa7c934 (patch)
tree276a4bfb4b22a0079f6b937f5252610c142fd439 /Master/texmf-dist/tex
parent7315e9f05bd091cd37644450d74b67d3bc557641 (diff)
xepersian update (8jun10)
git-svn-id: svn://tug.org/texlive/trunk@18829 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty9
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index c89894c4b35..a9a95006c39 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.7}
-\def\xepersiancommit{commit 20}
+\def\xepersianversion{v1.0.8}
+\def\xepersiancommit{commit 22}
\def\xepersiandate{2010/07/25}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space <\xepersiancommit>
Persian typesetting in XeLaTeX]
@@ -36,11 +36,14 @@ Location on CTAN: /macros/xetex/latex/xepersian}
\fi}
\AtBeginDocument{\ifdefined\latinfont\relax\else%
\PackageInfo{xepersian}{“You have not specified any font for the Latin texts of the document and so the default TeX fonts will be used for the Latin texts of the document. If you would like to have any other font as the font of the Latin texts, then please specify a font for the Latin texts of the document by using \setlatintextfont\space CS, and then try to run xelatex on your document again”}%
-\setlatintextfont[ExternalLocation,BoldFont={lmroman10-bold},BoldItalicFont={lmroman10-bolditalic},ItalicFont={lmroman10-italic},SmallCapsFont={lmromancaps10-regular}]{lmroman10-regular}
+\setlatintextfont[ExternalLocation,BoldFont={lmroman10-bold},BoldItalicFont={lmroman10-bolditalic},ItalicFont={lmroman10-italic},SmallCapsFont={lmromancaps10-regular},SlantedFont={lmromanslant10-regular},BoldSlantedFont={lmromanslant10-bold}]{lmroman10-regular}
\fi}
\AtBeginDocument{\ifdefined\decimalseparator\relax\else%
\PackageInfo{xepersian}{“You have not specified any font for the digits in maths mode and so the digits in maths mode will appear Latin. If you would like to have Persian digits in maths mode, then please specify a font for the digits in maths mode by using \setdigitfont\space CS, and then try to run xelatex on your document again”}%
\fi}
+\if@developmentversion
+ \PackageWarningNoLine{xepersian}{Thanks for testing the development version of xepersian package. The development version may not work correctly or may not work at all. The development version is not recommended to be used for production purposes and should only be used for testing purposes. You are encouraged to use the stable version of xepersian package available on CTAN for production purposes}
+\fi
\def\prq{«}
\def\plq{»}
\newfontscript{Persian}{arab}