diff options
author | Karl Berry <karl@freefriends.org> | 2014-08-26 17:32:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-08-26 17:32:01 +0000 |
commit | 097e7dc0afa442be238a967b292237470680626e (patch) | |
tree | 405f0546c144457491c9211d5210aea89929cd8a /Master/texmf-dist/source/xelatex | |
parent | 61347f185a8555e8496c114756eba99a5bc6aa23 (diff) |
xepersian (26aug14)
git-svn-id: svn://tug.org/texlive/trunk@35044 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r-- | Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx index b541a5a6917..a33e056113e 100644 --- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx +++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx @@ -5,7 +5,7 @@ %<*readme> ____________________ The XePersian package -v14.1 +v14.2 XePersian is a package written for XeLaTeX that allows users to typeset Persian easily. @@ -27,7 +27,7 @@ In doing so, please always explain your issue well enough, always include a minimal working example showing the issue, and always choose the appropriate label for your query (i.e. if you are reporting any bugs, choose `Bug' label). -Current version release date: 2014/07/18 +Current version release date: 2014/08/25 ______________ Vafa Khalighi persian-tex@tug.org @@ -214,7 +214,7 @@ by Vafa Khalighi. % Persian for \LaTeX, using {\XeTeX} engine} % \author{Vafa Khalighi\\ % \url{persian-tex@tug.org}} -% \date{\today\qquad Version 14.1} +% \date{\today\qquad Version 14.2} %\maketitle %\vskip 0pt plus 3fill %\fbox{% @@ -258,7 +258,7 @@ by Vafa Khalighi. %* %* Copyright © 2008–2014 Vafa Khalighi %* -%* v14.1, 2014/07/18 +%* v14.2, 2014/08/25 %* %* License: LaTeX Project Public License, version %* 1.3c or higher (your choice) @@ -1668,9 +1668,9 @@ by Vafa Khalighi. %\end{BDef} %\begin{itemize} %\item Options in any font command in this documentation are anything that \textsf{fontspec} package provides as the option of loading fonts, except \texttt{Script} and \texttt{Mapping}. -%\item \Lcs{settextfont} will choose the default font for Persian texts of your document. If you do not use this command at all, the \textsf{Persian Modern}\footnote{You do not need to install \textsf{Persian Modern} fonts since they are already included in your TeX distribution.} font will be used for Persian texts of your document. +%\item \Lcs{settextfont} will choose the default font for Persian texts of your document. %\item \Lcs{setlatintextfont} will choose the font for Latin texts of your document. If you do not use this command at all, the default \TeX\ font (fonts used in this documentation) will be used for Latin texts of your document. -%\item \Lcs{setdigitfont} will choose the Persian font for digits in math mode. By default, digits in math mode will appear in Persian form and if you do not use this command at all, the \textsf{Persian Modern} font for digits in math mode will be used. +%\item \Lcs{setdigitfont} will choose the Persian font for digits in math mode. By default, digits in math mode will appear in Persian form. %\item \Lcs{setmathsfdigitfont} will choose the Persian font for digits in math mode inside \Lcs{mathsf}. By using this command, digits in math mode inside \Lcs{mathsf} will appear in Persian form and if you do not use this command at all, you will get default \TeX\ font for digits in math mode inside \Lcs{mathsf} and digits appear in their original form (Western). %\item \Lcs{setmathttdigitfont} will choose the Persian font for digits in math mode inside \Lcs{mathtt}. By using this command, digits in math mode inside \Lcs{mathtt} will appear in Persian form and if you do not use this command at all, you will get default \TeX\ font for digits in math mode inside \Lcs{mathtt} and digits appear in their original form (Western). %\end{itemize} @@ -1702,7 +1702,6 @@ by Vafa Khalighi. %\Lcs{persianttfamily}\quad\Lcs{textpersiantt}\Largb{\Larga{text}} %\end{BDef} %\subsubsection{Choosing Persian Iranic Font} -%\marginpar{If you do not use \Lcs{setiranicfont} command at all, the \textsf{Persian Modern} font will be used.} %\begin{BDef} %\Lcs{setiranicfont}\OptArgs\Largb{\Larga{font name}}\\ %\Lcs{iranicfamily}\quad\Lcs{textiranic}\Largb{\Larga{text}} @@ -1713,14 +1712,12 @@ by Vafa Khalighi. %\Lcs{navarfamily}\quad\Lcs{textnavar}\Largb{\Larga{text}} %\end{BDef} %\subsubsection{Choosing Persian Pook Font} -%\marginpar{If you do not use \Lcs{setpookfont} command at all, the \textsf{Persian Modern} font will be used.} %\begin{BDef} %\Lcs{setpookfont}\OptArgs\Largb{\Larga{font name}}\\ %\Lcs{pookfamily}\quad\Lcs{textpook}\Largb{\Larga{text}} %\end{BDef} % %\subsubsection{Choosing Persian Sayeh Font} -%\marginpar{If you do not use \Lcs{setsayehfont} command at all, the \textsf{Persian Modern} font will be used.} %\begin{BDef} %\Lcs{setsayehfont}\OptArgs\Largb{\Larga{font name}}\\ %\Lcs{sayehfamily}\quad\Lcs{textsayeh}\Largb{\Larga{text}} @@ -1812,7 +1809,7 @@ by Vafa Khalighi. %\Lcs{DefaultMathsDigits}\quad\Lcs{PersianMathsDigits}\quad\Lcs{AutoMathsDigits} %\end{BDef} %\begin{itemize} -% \item As we discussed before, \Lcs{setdigitfont} will choose the Persian font for digits in math mode. By default, digits in math mode will appear in Persian form and if you do not use this command at all, the \textsf{Persian Modern} font for digits in math mode will be used. +% \item As we discussed before, \Lcs{setdigitfont} will choose the Persian font for digits in math mode. By default, digits in math mode will appear in Persian form. %\item As we discussed before, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont} will choose the Persian sans serif and typewriter fonts for digits in math mode. By using this command, digits in math mode will appear in Persian form and if you do not use this command at all, you will get default \TeX\ font for digits in math mode and digits appear in their original form (Western). % %If you use \Lcs{setdigitfont}, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont}, then you should know that: @@ -2277,7 +2274,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{10026} +%% \CheckSum{10021} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -5655,8 +5652,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \subsection{\textsf{xepersian.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\xepersianversion{v14.1} -\def\xepersiandate{2014/07/18} +\def\xepersianversion{v14.2} +\def\xepersiandate{2014/08/25} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} @@ -5728,8 +5725,6 @@ Persian typesetting in XeLaTeX] \cs_set_eq:NN \rmdefault \l_fontspec_family_tl \normalfont } -\settextfont[ExternalLocation,BoldFont={persian-modern-bold},BoldItalicFont={persian-modern-bolditalic},ItalicFont={persian-modern-italic},SlantedFont={persian-modern-oblique},BoldSlantedFont={persian-modern-boldoblique}]{persian-modern-regular} -\setdigitfont[ExternalLocation,BoldFont={persian-modern-bold},BoldItalicFont={persian-modern-bolditalic},ItalicFont={persian-modern-italic},SlantedFont={persian-modern-oblique},BoldSlantedFont={persian-modern-boldoblique}]{persian-modern-regular} \DeclareDocumentCommand \setlatintextfont { O{} m } { \fontspec_select:nn{Mapping=tex-text,#1}{#2} \use:x { @@ -5806,18 +5801,15 @@ Persian typesetting in XeLaTeX] \fontspec_set_family:Nnn \pookdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2} \normalfont } -\setpookfont[ExternalLocation,ItalicFont={persian-modern-italicoutline},SlantedFont={persian-modern-obliqueoutline}]{persian-modern-outline} \DeclareDocumentCommand \setsayehfont { O{} m } { \fontspec_set_family:Nnn \sayehdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2} \normalfont } -\setsayehfont[ExternalLocation,ItalicFont={persian-modern-italicshadow},SlantedFont={persian-modern-obliqueshadow}]{persian-modern-shadow} \DeclareDocumentCommand \setiranicfont { O{} m } { \fontspec_set_family:Nnn \iranicdefault {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1}{#2} \normalfont } \ExplSyntaxOff -\setiranicfont[ExternalLocation,BoldFont={persian-modern-boldoblique}]{persian-modern-oblique} \def\resetlatinfont{% \let\normalfont\latinfont% \let\reset@font\normalfont% |