From 04a2bc11b0e922218339995a7bb1f6ddbaa7c934 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 9 Jun 2010 00:25:23 +0000 Subject: xepersian update (8jun10) git-svn-id: svn://tug.org/texlive/trunk@18829 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex') 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} -- cgit v1.2.3