diff options
author | Karl Berry <karl@freefriends.org> | 2018-10-08 21:41:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-10-08 21:41:25 +0000 |
commit | d56f8cda3fd2908e298582d5ba60781e7ee120c0 (patch) | |
tree | 271aea2d9756998b80b39195cd72f16a7e966e79 /Master | |
parent | 8aa497183a878d4b56987f20119a0b9e334b18f9 (diff) |
xepersian (8oct18)
git-svn-id: svn://tug.org/texlive/trunk@48864 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
14 files changed, 61 insertions, 61 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README index ac6cd5dd18a..74a69849cda 100644 --- a/Master/texmf-dist/doc/xelatex/xepersian/README +++ b/Master/texmf-dist/doc/xelatex/xepersian/README @@ -1,6 +1,6 @@ ____________________ The XePersian package -v21.6 +v21.7 The xepersian package provides a convenient interface for typesetting Persian and English texts in LaTeX, using XeTeX @@ -43,7 +43,7 @@ mailing list whenever I have time. You can subscribe to the mailing list at <http://tug.org/mailman/listinfo/persiantex> -Current version release date: 2018/10/01 +Current version release date: 2018/10/08 ______________ Vafa Khalighi persian-tex@tug.org 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 a1dbfedfc2a..cbe25e32cb9 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.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf Binary files differindex c678b01a850..ebd7f42a48c 100644 --- a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf +++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.tec b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.tec Binary files differdeleted file mode 100644 index 27b08b195c2..00000000000 --- a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.tec +++ /dev/null diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/persiandigits.map index 57f921fdc34..25b4a1a6aa2 100644 --- a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map +++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/persiandigits.map @@ -1,10 +1,10 @@ ;; -;; This is file `parsidigits.map', +;; This is file `persiandigits.map', ;; generated with the docstrip utility. ;; ;; The original source files were: ;; -;; xepersian.dtx (with options: `parsidigits.map') +;; xepersian.dtx (with options: `persiandigits.map') ;; ;; __________________________________________________ ;; Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org> @@ -18,7 +18,7 @@ ;; ;; LHSName "Digits" -RHSName "ParsiDigits" +RHSName "PersianDigits" pass(Unicode) U+0030 <> U+06F0 ; @@ -55,4 +55,4 @@ U+002C U+002C <> U+201E ; ,, -> DOUBLE LOW-9 QUOTATION MARK U+003C U+003C <> U+00AB ; << -> LEFT POINTING GUILLEMET U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET ;; -;; End of file `parsidigits.map'. +;; End of file `persiandigits.map'. diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/persiandigits.tec b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/persiandigits.tec Binary files differnew file mode 100644 index 00000000000..7476463073f --- /dev/null +++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/persiandigits.tec diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-intro.ltx b/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-intro.ltx index 295b43ede6e..93e479f9a97 100644 --- a/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-intro.ltx +++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-intro.ltx @@ -24,7 +24,7 @@ If you use \textsf{\XePersian} package to write any input \TeX\ document, and th * * Copyright (c) 2008--2018 Vafa Khalighi * -* v21.6, 2018/10/01 +* v21.7, 2018/10/08 * * License: LaTeX Project Public License, version * 1.3c or higher (your choice) diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-title.ltx b/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-title.ltx index 119597452aa..152addf9814 100644 --- a/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-title.ltx +++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc-title.ltx @@ -3,7 +3,7 @@ \begin{document} \title{\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}\\ \LARGE Persian for \LaTeXe, using {\XeTeX} engine\\[5pt] -\large User documentation for \textcolor{blue!65!black}{version 21.6}} +\large User documentation for \textcolor{blue!65!black}{version 21.7}} \author{Vafa Khalighi\\ \url{persian-tex@tug.org}} \setcounter{page}{0} @@ -14,7 +14,7 @@ \textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}} \Large -User documentation for \textcolor{blue!65!black}{version 21.6}} +User documentation for \textcolor{blue!65!black}{version 21.7}} \vskip 0pt plus 3fill \textit{\large to my Master, \textbf{Ferdowsi The Great}} diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc.ltx b/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc.ltx index d933e3fda5b..983ff0ca3b2 100644 --- a/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc.ltx +++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian-doc.ltx @@ -1,7 +1,7 @@ \documentclass{ltxdoc} \input{xepersian-doc-preamble.ltx} \hypersetup{% - pdftitle={User documentation for version 21.6 of the XePersian + pdftitle={User documentation for version 21.7 of the XePersian package}% } \begin{document} diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx index 8b9978eaa5d..9eeb42d209c 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 -v21.6 +v21.7 The xepersian package provides a convenient interface for typesetting Persian and English texts in LaTeX, using XeTeX @@ -51,7 +51,7 @@ mailing list whenever I have time. You can subscribe to the mailing list at <http://tug.org/mailman/listinfo/persiantex> -Current version release date: 2018/10/01 +Current version release date: 2018/10/08 ______________ Vafa Khalighi persian-tex@tug.org @@ -139,7 +139,7 @@ by Vafa Khalighi. \MetaPrefix\space End of file `\outFileName'.% } \usepostamble\mapping@postamble -\generate{\file{parsidigits.map}{\from{\jobname.dtx}{parsidigits.map}}} +\generate{\file{persiandigits.map}{\from{\jobname.dtx}{persiandigits.map}}} \let\MetaPrefix\DoubleperCent \usepostamble\org@postamble \generate{\file{rapport1-xepersian.def}{\from{\jobname.dtx}{table,rapport1-xepersian.def}}} @@ -180,7 +180,7 @@ by Vafa Khalighi. \documentclass{ltxdoc} \input{xepersian-doc-preamble.ltx} \hypersetup{% - pdftitle={Source documentation for version 21.6 of the XePersian + pdftitle={Source documentation for version 21.7 of the XePersian package}% } \EnableCrossrefs @@ -199,7 +199,7 @@ by Vafa Khalighi. % \GetFileInfo{\jobname.dtx} % \title{\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}\\ %\LARGE Persian for \LaTeXe, using {\XeTeX} engine\\[5pt] -%\large Source documentation for \textcolor{blue!65!black}{version 21.6}} +%\large Source documentation for \textcolor{blue!65!black}{version 21.7}} % \author{Vafa Khalighi\\ % \url{persian-tex@tug.org}} %\setcounter{page}{0} @@ -210,7 +210,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}} % %\Large -%Source documentation for \textcolor{blue!65!black}{version 21.6}} +%Source documentation for \textcolor{blue!65!black}{version 21.7}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -2273,8 +2273,8 @@ by Vafa Khalighi. \aliasfontfeature{VerticalPosition}{موقعیتعمودی} \aliasfontfeature{Fractions}{کسر} \aliasfontfeatureoption{Language}{Default}{پیشفرض} -\aliasfontfeatureoption{Language}{Parsi}{پارسی} -\aliasfontfeatureoption{Script}{Parsi}{پارسی} +\aliasfontfeatureoption{Language}{Persian}{پارسی} +\aliasfontfeatureoption{Script}{Persian}{پارسی} \aliasfontfeatureoption{Script}{Latin}{لاتین} \aliasfontfeatureoption{Style}{MathScript}{اسکریپتریاضی} \aliasfontfeatureoption{Style}{MathScriptScript}{اسکریپتاسکریپتریاضی} @@ -3079,12 +3079,12 @@ by Vafa Khalighi. % \end{macrocode} % \iffalse %</packages-localise-xepersian.def> -%<*parsidigits.map> +%<*persiandigits.map> %\fi -% \section{File \texttt{parsidigits.map}} +% \section{File \texttt{persiandigits.map}} % \begin{macrocode} LHSName "Digits" -RHSName "ParsiDigits" +RHSName "PersianDigits" pass(Unicode) U+0030 <> U+06F0 ; @@ -3123,7 +3123,7 @@ U+003C U+003C <> U+00AB ; << -> LEFT POINTING GUILLEMET U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \end{macrocode} % \iffalse -%</parsidigits.map> +%</persiandigits.map> %<*rapport1-xepersian.def> %\fi % \section{File \texttt{rapport1-xepersian.def}} @@ -3427,8 +3427,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \section{File \texttt{xepersian.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\xepersian@version{21.6} -\def\xepersiandate{2018/10/01} +\def\xepersian@version{21.7} +\def\xepersiandate{2018/10/08} \ProvidesPackage{xepersian}[\xepersiandate\space v\xepersian@version\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} @@ -3507,8 +3507,8 @@ Persian typesetting in XeLaTeX] \else \writexviiifalse \fi -\newfontscript{Parsi}{arab} -\newfontlanguage{Parsi}{FAR} +\newfontscript{Persian}{arab} +\newfontlanguage{Persian}{FAR} \ExplSyntaxOn \DeclareDocumentCommand \settextfont { O{} m O{} } @@ -3518,7 +3518,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_settextfont:nn { - \fontspec_set_family:Nnn \l__xepersian_persianfont_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_persianfont_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \rmdefault \l__xepersian_persianfont_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \persianfont } { @@ -3542,7 +3542,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_settextdigitfont:nn { - \fontspec_set_family:Nnn \l__xepersian_textdigitfont_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_textdigitfont_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \use:x { \exp_not:n { \DeclareRobustCommand \xepersian@textdigitfont } @@ -3623,7 +3623,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_defpersianfont:nnnN { - \fontspec_set_family:cnn { l__xepersian_ \cs_to_str:N #1 _family_tl } {Script=Parsi,Language=Parsi,Mapping=parsidigits,#2} {#3} + \fontspec_set_family:cnn { l__xepersian_ \cs_to_str:N #1 _family_tl } {Script=Persian,Mapping=persiandigits,#2} {#3} \use:x { \exp_not:N #4 \exp_not:N #1 {} @@ -3697,7 +3697,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_setpersiansansfont:nn { - \fontspec_set_family:Nnn \l__xepersian_persiansffamily_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_persiansffamily_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \persiansfdefault \l__xepersian_persiansffamily_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \persiansffamily } { @@ -3721,7 +3721,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_setpersianmonofont:nn { - \fontspec_set_family:Nnn \l__xepersian_persianttfamily_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_persianttfamily_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \persianttdefault \l__xepersian_persianttfamily_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \persianttfamily } { @@ -3745,7 +3745,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_setnavarfont:nn { - \fontspec_set_family:Nnn \l__xepersian_navarfamily_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_navarfamily_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \navardefault \l__xepersian_navarfamily_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \navarfamily } { @@ -3769,7 +3769,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_setpookfont:nn { - \fontspec_set_family:Nnn \l__xepersian_pookfamily_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_pookfamily_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \pookdefault \l__xepersian_pookfamily_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \pookfamily } { @@ -3793,7 +3793,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_setsayehfont:nn { - \fontspec_set_family:Nnn \l__xepersian_sayehfamily_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_sayehfamily_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \sayehdefault \l__xepersian_sayehfamily_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \sayehfamily } { @@ -3817,7 +3817,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_setiranicfont:nn { - \fontspec_set_family:Nnn \l__xepersian_iranicfamily_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_iranicfamily_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \iranicdefault \l__xepersian_iranicfamily_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \iranicfamily } { @@ -3878,7 +3878,7 @@ Persian typesetting in XeLaTeX] \def\persian{\RTL\PersianAlphs\@RTL@footnotetrue\setpersianfont} \def\endpersian{\endRTL} \newenvironment{latinitems}{\begin{LTRitems}\LatinAlphs\@RTL@footnotefalse\resetlatinfont}{\end{LTRitems}} -\newenvironment{parsiitems}{\begin{RTLitems}\PersianAlphs\@RTL@footnotetrue\setpersianfont}{\end{RTLitems}} +\newenvironment{persianitems}{\begin{RTLitems}\PersianAlphs\@RTL@footnotetrue\setpersianfont}{\end{RTLitems}} \let\originaltoday=\today \def\latintoday{\lr{\originaltoday}} \def\today{\rl{\persiantoday}} @@ -4229,7 +4229,7 @@ Persian typesetting in XeLaTeX] \newcommand*{\@xepersian@pdfcustomproperties}{% This is the xepersian package, Version \xepersian@version, - Released October 1, 2018. + Released October 8, 2018. } \newcommand\twocolumnstableofcontents{% @@ -5932,7 +5932,7 @@ indexblock environment may only appear inside frontpage environment. \cs_new:Nn \__xepersian_main_setmathdigitfont:nn { \let\glb@currsize\relax - \fontspec_set_family:Nnn \g__xepersian_mathdigitsfamily_tl {Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \g__xepersian_mathdigitsfamily_tl {Mapping=persiandigits,#1} {#2} \__xepersian_setmathdigitfont_hook:nn {#1} {#2} \xepersian@PackageInfo{Defining the default Persian maths digits font as '#2'} \DeclareSymbolFont{OPERATORS} {\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl} {m}{n} @@ -5965,7 +5965,7 @@ indexblock environment may only appear inside frontpage environment. } \cs_new:Nn \__xepersian_main_setmathsfdigitfont:nn { - \fontspec_set_family:Nnn \g__xepersian_mathsfdigitfamily_tl {Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \g__xepersian_mathsfdigitfamily_tl {Mapping=persiandigits,#1} {#2} \__xepersian_setmathsfdigitfont_hook:nn {#1} {#2} \DeclareSymbolFont{new@mathsf@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathsfdigitfamily_tl}{m}{n} \def\persianmathsfdigits{\tl_set_eq:NN \mathsf \new@mathsf} @@ -5979,7 +5979,7 @@ indexblock environment may only appear inside frontpage environment. } \cs_new:Nn \__xepersian_main_setmathttdigitfont:nn { - \fontspec_set_family:Nnn \g__xepersian_mathttdigitfamily_tl {Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \g__xepersian_mathttdigitfamily_tl {Mapping=persiandigits,#1} {#2} \__xepersian_setmathttdigitfont_hook:nn {#1} {#2} \DeclareSymbolFont{new@mathtt@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathttdigitfamily_tl}{m}{n} \def\persianmathttdigits{\tl_set_eq:NN \mathtt \new@mathtt} diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins index 0cffb201a6a..d0ac9960010 100644 --- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins +++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins @@ -85,7 +85,7 @@ \MetaPrefix\space End of file `\outFileName'.% } \usepostamble\mapping@postamble -\generate{\file{parsidigits.map}{\from{\jobname.dtx}{parsidigits.map}}} +\generate{\file{persiandigits.map}{\from{\jobname.dtx}{persiandigits.map}}} \let\MetaPrefix\DoubleperCent \usepostamble\org@postamble \generate{\file{rapport1-xepersian.def}{\from{\jobname.dtx}{table,rapport1-xepersian.def}}} diff --git a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def index 6ec0c24ceb0..903010b37d4 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def @@ -109,8 +109,8 @@ \aliasfontfeature{VerticalPosition}{موقعیتعمودی} \aliasfontfeature{Fractions}{کسر} \aliasfontfeatureoption{Language}{Default}{پیشفرض} -\aliasfontfeatureoption{Language}{Parsi}{پارسی} -\aliasfontfeatureoption{Script}{Parsi}{پارسی} +\aliasfontfeatureoption{Language}{Persian}{پارسی} +\aliasfontfeatureoption{Script}{Persian}{پارسی} \aliasfontfeatureoption{Script}{Latin}{لاتین} \aliasfontfeatureoption{Style}{MathScript}{اسکریپتریاضی} \aliasfontfeatureoption{Style}{MathScriptScript}{اسکریپتاسکریپتریاضی} diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty index dacbaeafe78..2feeda640d4 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty @@ -170,7 +170,7 @@ \cs_new:Nn \__xepersian_main_setmathdigitfont:nn { \let\glb@currsize\relax - \fontspec_set_family:Nnn \g__xepersian_mathdigitsfamily_tl {Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \g__xepersian_mathdigitsfamily_tl {Mapping=persiandigits,#1} {#2} \__xepersian_setmathdigitfont_hook:nn {#1} {#2} \xepersian@PackageInfo{Defining the default Persian maths digits font as '#2'} \DeclareSymbolFont{OPERATORS} {\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl} {m}{n} @@ -203,7 +203,7 @@ } \cs_new:Nn \__xepersian_main_setmathsfdigitfont:nn { - \fontspec_set_family:Nnn \g__xepersian_mathsfdigitfamily_tl {Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \g__xepersian_mathsfdigitfamily_tl {Mapping=persiandigits,#1} {#2} \__xepersian_setmathsfdigitfont_hook:nn {#1} {#2} \DeclareSymbolFont{new@mathsf@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathsfdigitfamily_tl}{m}{n} \def\persianmathsfdigits{\tl_set_eq:NN \mathsf \new@mathsf} @@ -217,7 +217,7 @@ } \cs_new:Nn \__xepersian_main_setmathttdigitfont:nn { - \fontspec_set_family:Nnn \g__xepersian_mathttdigitfamily_tl {Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \g__xepersian_mathttdigitfamily_tl {Mapping=persiandigits,#1} {#2} \__xepersian_setmathttdigitfont_hook:nn {#1} {#2} \DeclareSymbolFont{new@mathtt@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathttdigitfamily_tl}{m}{n} \def\persianmathttdigits{\tl_set_eq:NN \mathtt \new@mathtt} diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty index 0d928725bf0..1115d02eb26 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty @@ -35,8 +35,8 @@ %% Right brace \} Tilde \~} %% \NeedsTeXFormat{LaTeX2e} -\def\xepersian@version{21.6} -\def\xepersiandate{2018/10/01} +\def\xepersian@version{21.7} +\def\xepersiandate{2018/10/08} \ProvidesPackage{xepersian}[\xepersiandate\space v\xepersian@version\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} @@ -115,8 +115,8 @@ Persian typesetting in XeLaTeX] \else \writexviiifalse \fi -\newfontscript{Parsi}{arab} -\newfontlanguage{Parsi}{FAR} +\newfontscript{Persian}{arab} +\newfontlanguage{Persian}{FAR} \ExplSyntaxOn \DeclareDocumentCommand \settextfont { O{} m O{} } @@ -126,7 +126,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_settextfont:nn { - \fontspec_set_family:Nnn \l__xepersian_persianfont_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_persianfont_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \rmdefault \l__xepersian_persianfont_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \persianfont } { @@ -150,7 +150,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_settextdigitfont:nn { - \fontspec_set_family:Nnn \l__xepersian_textdigitfont_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_textdigitfont_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \use:x { \exp_not:n { \DeclareRobustCommand \xepersian@textdigitfont } @@ -230,7 +230,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_defpersianfont:nnnN { - \fontspec_set_family:cnn { l__xepersian_ \cs_to_str:N #1 _family_tl } {Script=Parsi,Language=Parsi,Mapping=parsidigits,#2} {#3} + \fontspec_set_family:cnn { l__xepersian_ \cs_to_str:N #1 _family_tl } {Script=Persian,Mapping=persiandigits,#2} {#3} \use:x { \exp_not:N #4 \exp_not:N #1 {} @@ -304,7 +304,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_setpersiansansfont:nn { - \fontspec_set_family:Nnn \l__xepersian_persiansffamily_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_persiansffamily_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \persiansfdefault \l__xepersian_persiansffamily_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \persiansffamily } { @@ -328,7 +328,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_setpersianmonofont:nn { - \fontspec_set_family:Nnn \l__xepersian_persianttfamily_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_persianttfamily_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \persianttdefault \l__xepersian_persianttfamily_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \persianttfamily } { @@ -352,7 +352,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_setnavarfont:nn { - \fontspec_set_family:Nnn \l__xepersian_navarfamily_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_navarfamily_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \navardefault \l__xepersian_navarfamily_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \navarfamily } { @@ -376,7 +376,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_setpookfont:nn { - \fontspec_set_family:Nnn \l__xepersian_pookfamily_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_pookfamily_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \pookdefault \l__xepersian_pookfamily_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \pookfamily } { @@ -400,7 +400,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_setsayehfont:nn { - \fontspec_set_family:Nnn \l__xepersian_sayehfamily_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_sayehfamily_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \sayehdefault \l__xepersian_sayehfamily_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \sayehfamily } { @@ -424,7 +424,7 @@ Persian typesetting in XeLaTeX] } \cs_new:Nn \__xepersian_main_setiranicfont:nn { - \fontspec_set_family:Nnn \l__xepersian_iranicfamily_family_tl {Script=Parsi,Language=Parsi,Mapping=parsidigits,#1} {#2} + \fontspec_set_family:Nnn \l__xepersian_iranicfamily_family_tl {Script=Persian,Mapping=persiandigits,#1} {#2} \tl_set_eq:NN \iranicdefault \l__xepersian_iranicfamily_family_tl \use:x { \exp_not:n { \DeclareRobustCommand \iranicfamily } { @@ -485,7 +485,7 @@ Persian typesetting in XeLaTeX] \def\persian{\RTL\PersianAlphs\@RTL@footnotetrue\setpersianfont} \def\endpersian{\endRTL} \newenvironment{latinitems}{\begin{LTRitems}\LatinAlphs\@RTL@footnotefalse\resetlatinfont}{\end{LTRitems}} -\newenvironment{parsiitems}{\begin{RTLitems}\PersianAlphs\@RTL@footnotetrue\setpersianfont}{\end{RTLitems}} +\newenvironment{persianitems}{\begin{RTLitems}\PersianAlphs\@RTL@footnotetrue\setpersianfont}{\end{RTLitems}} \let\originaltoday=\today \def\latintoday{\lr{\originaltoday}} \def\today{\rl{\persiantoday}} @@ -830,7 +830,7 @@ Persian typesetting in XeLaTeX] \newcommand*{\@xepersian@pdfcustomproperties}{% This is the xepersian package, Version \xepersian@version, - Released October 1, 2018. + Released October 8, 2018. } \newcommand\twocolumnstableofcontents{% |