diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-09 00:25:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-09 00:25:23 +0000 |
commit | 04a2bc11b0e922218339995a7bb1f6ddbaa7c934 (patch) | |
tree | 276a4bfb4b22a0079f6b937f5252610c142fd439 /Master | |
parent | 7315e9f05bd091cd37644450d74b67d3bc557641 (diff) |
xepersian update (8jun10)
git-svn-id: svn://tug.org/texlive/trunk@18829 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xepersian/README | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdf | bin | 269287 -> 200927 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty | 9 |
4 files changed, 20 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README index a765d0c1a39..c4b01427750 100644 --- a/Master/texmf-dist/doc/xelatex/xepersian/README +++ b/Master/texmf-dist/doc/xelatex/xepersian/README @@ -1,9 +1,9 @@ _________________ The XePersian package -v1.0.7 +v1.0.8 XePersian is a package written for XeLaTeX that allows users to typeset -Persian easily. The current version is 1.0.7 and it will be developed to +Persian easily. The current version is 1.0.8 and it will be developed to meet the needs of Persian typesetting properly. The XePersian package is independent of any operating system, meaning it @@ -17,6 +17,14 @@ in the documentation. To get help, please explore http://forum.parsilatex.com +Note: At the time of releasing this version of XePersian, there is a newer version of +fontspec package in which the command \zf@fontspec is removed and since xepersian uses +this command, you might get an error saying \zf@fontspec is undefined. I have informed the author +of fontspec package to fix this but in case, you get this error, you can put this after loading xepersian: + +\ExplSyntaxOn +\cs_set_eq:cN {zf@fontspec} \fontspec_select:nn +\ExplSyntaxOff ______________ Vafa Khalighi vafakh84@gmail.com diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdf Binary files differindex 05c716e0de2..cf439d13c7e 100644 --- a/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdf +++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.pdf diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex index 671df371237..e03551bdb29 100644 --- a/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex +++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian-doc.tex @@ -14,8 +14,8 @@ \def\Lenv#1{\texttt{#1}} \def\Penv#1{\RLE{\ParsiFont#1}} \let\parsitext\Penv -\def\xepersianversion{v1.0.7} -\def\xepersiancommit{commit 20} +\def\xepersianversion{v1.0.8} +\def\xepersiancommit{commit 22} \def\xepersiandate{2010/07/25} \def\XeTeX{Xe\TeX} \def\XeLaTeX{Xe\LaTeX} @@ -33,7 +33,7 @@ \definecolor{Orange}{rgb}{1,.4,.2} \title{The \textsf{\XePersian} Package\\ \href{http://bitbucket.org/vafa/xepersian}{\texttt{http://bitbucket.org/vafa/xepersian}}} \author{Vafa Khalighi\\ \href{mailto:vafakh84@gmail.com}{\texttt{vafakh84@gmail.com}}} -\date{Version 1.0.7} +\date{Version 1.0.8} \begin{document} \maketitle \tableofcontents @@ -54,7 +54,7 @@ xepersian package (Persian for LaTeX over XeTeX) Description: The package supports Persian typesetting, using fonts provided in the distribution. Copyright © 2008-2010 Vafa Khalighi -v1.0.7, <commit 20>, 2010/07/25 +v1.0.8, <commit 22>, 2010/07/25 License: LaTeX Project Public License, version 1.3c or higher (your choice) Home: http://bitbucket.org/vafa/xepersian Location on CTAN: /macros/xetex/latex/xepersian 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} |