diff options
Diffstat (limited to 'Master/texmf-dist/source/xelatex/xepersian')
-rw-r--r-- | Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx | 68 | ||||
-rw-r--r-- | Master/texmf-dist/source/xelatex/xepersian/xepersian.ins | 4 |
2 files changed, 38 insertions, 34 deletions
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx index 3f1a5112de1..db3545cff81 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 -v16.4 +v16.5 XePersian is a package written for XeLaTeX that allows users to typeset Persian easily. @@ -28,12 +28,12 @@ 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: 2015/12/07 +Current version release date: 2016/05/03 ______________ Vafa Khalighi persian-tex@tug.org -Copyright (c) 2008--2015 +Copyright (c) 2008--2016 Distributed under the LaTeX Project Public License It may be distributed and/or modified under the LaTeX Project Public License, version 1.3c or higher (your choice). The latest version of @@ -53,7 +53,7 @@ by Vafa Khalighi. \preamble __________________________________________________ - Copyright (c) 2008--2015 Vafa Khalighi <persian-tex@tug.org> + Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org> It may be distributed and/or modified under the LaTeX Project Public License, version 1.3c or higher (your choice). The latest version of @@ -272,7 +272,7 @@ by Vafa Khalighi. %\changes{v13.1}{2013/09/23}{Added implementation of the package.} % \title{\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}\\ %\LARGE Persian for \LaTeXe, using {\XeTeX} engine\\[5pt] -%\large Documentation for \textcolor{blue!65!black}{version 16.4}} +%\large Documentation for \textcolor{blue!65!black}{version 16.5}} % \author{Vafa Khalighi\\ % \url{persian-tex@tug.org}} %\setcounter{page}{0} @@ -283,7 +283,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}} % %\Large -%Documentation for \textcolor{blue!65!black}{version 16.4}} +%Documentation for \textcolor{blue!65!black}{version 16.5}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -307,7 +307,7 @@ by Vafa Khalighi. % %\vskip 0pt plus 3fill % -%Copyright (c) 2008--2015 Vafa Khalighi +%Copyright (c) 2008--2016 Vafa Khalighi % %\medskip %Permission is granted to distribute and/or modify \emph{both the documentation and the code} under the conditions of the \LaTeX{} Project Public License, either version 1.3c of this license or (at your option) any later version. @@ -336,9 +336,9 @@ by Vafa Khalighi. %* typesetting, using fonts provided in the %* distribution. %* -%* Copyright (c) 2008--2015 Vafa Khalighi +%* Copyright (c) 2008--2016 Vafa Khalighi %* -%* v16.4, 2015/12/07 +%* v16.5, 2016/05/03 %* %* License: LaTeX Project Public License, version %* 1.3c or higher (your choice) @@ -2359,7 +2359,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{10076} +%% \CheckSum{10082} %% \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 @@ -4413,14 +4413,14 @@ by Vafa Khalighi. %\fi % \subsection{\textsf{kashida-xepersian.def}} % \begin{macrocode} -\ProvidesFile{kashida-xepersian.def}[2013/11/15 v0.3 implementation of Kashida for xepersian package] +\ProvidesFile{kashida-xepersian.def}[2016/05/03 v0.4 implementation of Kashida for xepersian package] \chardef\xepersian@zwj="200D % zero-width joiner \chardef\xepersian@D=10 % dual-joiner class \chardef\xepersian@L=11 % lam \chardef\xepersian@R=12 % right-joiner \chardef\xepersian@A=13 % alef -\chardef\xepersian@V=256 % vowel or other combining mark (to be ignored) +\chardef\xepersian@V=4096 % vowel or other combining mark (to be ignored) % \end{macrocode} %\changes{v13.6}{2013/11/15}{Used \cs{XeTeXglyphbounds} to find the true height and depth of the Kashida character.} % \begin{macrocode} @@ -5667,8 +5667,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \subsection{\textsf{xepersian.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\xepersianversion{v16.4} -\def\xepersiandate{2015/12/07} +\def\xepersianversion{v16.5} +\def\xepersiandate{2016/05/03} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} @@ -5683,7 +5683,7 @@ Persian typesetting in XeLaTeX] * typesetting, using fonts provided in the^^J% * distribution.^^J% * ^^J% -* Copyright (c) 2008--2015 Vafa Khalighi^^J% +* Copyright (c) 2008--2016 Vafa Khalighi^^J% * ^^J% * \xepersianversion, \xepersiandate^^J% * ^^J% @@ -5739,8 +5739,9 @@ Persian typesetting in XeLaTeX] { \exp_not:N \DeclareRobustCommand \exp_not:N \persianfont { - \exp_not:N \fontencoding {\g_fontspec_encoding_tl} - \exp_not:N \fontfamily { \use:c {g__fontspec_ \cs_to_str:N \persianfont _family} } \exp_not:N \selectfont + \exp_not:N \fontfamily { \use:c {g__fontspec_ \cs_to_str:N \persianfont _family} } + \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl } + \exp_not:N \selectfont } } \cs_set_eq:NN \rmdefault \l_fontspec_family_tl @@ -5756,8 +5757,9 @@ Persian typesetting in XeLaTeX] { \exp_not:N \DeclareRobustCommand \exp_not:N \latinfont { - \exp_not:N \fontencoding {\g_fontspec_encoding_tl} - \exp_not:N \fontfamily { \use:c {g__fontspec_ \cs_to_str:N \latinfont _family} } \exp_not:N \selectfont + \exp_not:N \fontfamily { \use:c {g__fontspec_ \cs_to_str:N \latinfont _family} } + \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl } + \exp_not:N \selectfont } } } @@ -5773,8 +5775,9 @@ Persian typesetting in XeLaTeX] { \exp_not:N \DeclareRobustCommand \exp_not:N #1 { - \exp_not:N \fontencoding {\g_fontspec_encoding_tl} - \exp_not:N \fontfamily { \use:c {g__fontspec_ \cs_to_str:N #1 _family} } \exp_not:N \selectfont + \exp_not:N \fontfamily { \use:c {g__fontspec_ \cs_to_str:N #1 _family} } + \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl } + \exp_not:N \selectfont } } } @@ -5788,8 +5791,9 @@ Persian typesetting in XeLaTeX] { \exp_not:N \DeclareRobustCommand \exp_not:N #1 { - \exp_not:N \fontencoding {\g_fontspec_encoding_tl} - \exp_not:N \fontfamily { \use:c {g__fontspec_ \cs_to_str:N #1 _family} } \exp_not:N \selectfont + \exp_not:N \fontfamily { \use:c {g__fontspec_ \cs_to_str:N #1 _family} } + \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl } + \exp_not:N \selectfont } } } @@ -7332,7 +7336,7 @@ indexblock environment may only appear inside frontpage environment. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xepersian-mathsdigitspec} - [2015/12/07 v1.1.1 Unicode Persian maths digits in XeLaTeX] + [2016/05/03 v1.1.2 Unicode Persian maths digits in XeLaTeX] \def\new@mathgroup{\alloc@8\mathgroup\chardef\@cclvi} \let\newfam\new@mathgroup \def\select@group#1#2#3#4{% @@ -7466,10 +7470,10 @@ indexblock environment may only appear inside frontpage environment. { \fontspec_set_family:Nnn \xepersian@digits@family {Mapping=parsidigits,#1} {#2} \xepersian@PackageInfo{Defining the default Persian maths digits font as '#2'} - \DeclareSymbolFont{OPERATORS} {EU1}{\xepersian@digits@family} {m}{n} - \DeclareSymbolFont{new@mathbf@font@digits}{EU1}{\xepersian@digits@family}{bx}{n} - \DeclareSymbolFont{new@mathit@font@digits}{EU1}{\xepersian@digits@family}{m}{it} - \DeclareSymbolFont{new@mathrm@font@digits}{EU1}{\xepersian@digits@family}{m}{n} + \DeclareSymbolFont{OPERATORS} {\g_fontspec_encoding_tl}{\xepersian@digits@family} {m}{n} + \DeclareSymbolFont{new@mathbf@font@digits}{\g_fontspec_encoding_tl}{\xepersian@digits@family}{bx}{n} + \DeclareSymbolFont{new@mathit@font@digits}{\g_fontspec_encoding_tl}{\xepersian@digits@family}{m}{it} + \DeclareSymbolFont{new@mathrm@font@digits}{\g_fontspec_encoding_tl}{\xepersian@digits@family}{m}{n} \def\persianmathsdigits{% \SetMathCode{`0}{\mathalpha}{OPERATORS}{`0} \SetMathCode{`1}{\mathalpha}{OPERATORS}{`1} @@ -7495,8 +7499,8 @@ indexblock environment may only appear inside frontpage environment. \cs_new:Nn \__xepersian_setmathsfdigitfont:nn { - \fontspec_set_family:Nnn \g_fontspec_mathsf_tl {Mapping=parsidigits,#1} {#2} - \DeclareSymbolFont{new@mathsf@font@digits}{EU1}{\g_fontspec_mathsf_tl}{m}{n} + \fontspec_set_family:Nnn \g__fontspec_mathsf_tl {Mapping=parsidigits,#1} {#2} + \DeclareSymbolFont{new@mathsf@font@digits}{\g_fontspec_encoding_tl}{\g__fontspec_mathsf_tl}{m}{n} \def\persianmathsfdigits{\cs_set_eq:NN \mathsf \new@mathsf} } \DeclareDocumentCommand \setmathttdigitfont { o m } @@ -7504,8 +7508,8 @@ indexblock environment may only appear inside frontpage environment. \cs_new:Nn \__xepersian_setmathttdigitfont:nn { - \fontspec_set_family:Nnn \g_fontspec_mathtt_tl {Mapping=parsidigits,#1} {#2} - \DeclareSymbolFont{new@mathtt@font@digits}{EU1}{\g_fontspec_mathtt_tl}{m}{n} + \fontspec_set_family:Nnn \g__fontspec_mathtt_tl {Mapping=parsidigits,#1} {#2} + \DeclareSymbolFont{new@mathtt@font@digits}{\g_fontspec_encoding_tl}{\g__fontspec_mathtt_tl}{m}{n} \def\persianmathttdigits{\cs_set_eq:NN \mathtt \new@mathtt} } \ExplSyntaxOff diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins index d36f4115005..7a4d3289503 100644 --- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins +++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins @@ -7,7 +7,7 @@ %% xepersian.dtx (with options: `batchfile') %% %% __________________________________________________ -%% Copyright (c) 2008--2015 Vafa Khalighi <persian-tex@tug.org> +%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org> %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of @@ -23,7 +23,7 @@ \preamble __________________________________________________ - Copyright (c) 2008--2015 Vafa Khalighi <persian-tex@tug.org> + Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org> It may be distributed and/or modified under the LaTeX Project Public License, version 1.3c or higher (your choice). The latest version of |