diff options
Diffstat (limited to 'macros/xetex/latex/xepersian')
-rw-r--r-- | macros/xetex/latex/xepersian/README | 6 | ||||
-rw-r--r-- | macros/xetex/latex/xepersian/xepersian-doc-intro.ltx | 4 | ||||
-rw-r--r-- | macros/xetex/latex/xepersian/xepersian-doc-title.ltx | 6 | ||||
-rw-r--r-- | macros/xetex/latex/xepersian/xepersian-doc.ltx | 2 | ||||
-rw-r--r-- | macros/xetex/latex/xepersian/xepersian-doc.pdf | bin | 236749 -> 243977 bytes | |||
-rw-r--r-- | macros/xetex/latex/xepersian/xepersian.dtx | 150 | ||||
-rw-r--r-- | macros/xetex/latex/xepersian/xepersian.pdf | bin | 777678 -> 784492 bytes |
7 files changed, 145 insertions, 23 deletions
diff --git a/macros/xetex/latex/xepersian/README b/macros/xetex/latex/xepersian/README index e37f06cdd3..27b2191931 100644 --- a/macros/xetex/latex/xepersian/README +++ b/macros/xetex/latex/xepersian/README @@ -1,6 +1,6 @@ ____________________ The XePersian package -v24.8 +v24.9 The xepersian package provides a convenient interface for typesetting Persian and English texts in LaTeX, using XeTeX @@ -25,11 +25,11 @@ The announcements for the new releases of the package will also appear in the Discussions space under the Announcements category. -Current version release date: 2022/10/30 +Current version release date: 2023/08/27 ___________________________________________ Vafa Khalighi -Copyright (c) Vafa Khalighi 2008--2022 +Copyright (c) Vafa Khalighi 2008--2023 Copyright (c) bidi-tex GitHub Organization 2018--2020 Distributed under the LaTeX Project Public License diff --git a/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx b/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx index 333d7efb4b..773e60af28 100644 --- a/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx +++ b/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx @@ -22,10 +22,10 @@ If you use \textsf{\XePersian} package to write any input \TeX\ document, and th * typesetting, using fonts provided in the * distribution. * -* Copyright (c) 2008--2022 Vafa Khalighi +* Copyright (c) 2008--2023 Vafa Khalighi * Copyright (c) 2018--2020 bidi-tex GitHub Organization * -* v24.8 (Release Women, Life, and Freedom), 2022/10/30 +* v24.9 (Release Women, Life, and Freedom), 2023/08/27 * * License: LaTeX Project Public License, version * 1.3c or higher (your choice) diff --git a/macros/xetex/latex/xepersian/xepersian-doc-title.ltx b/macros/xetex/latex/xepersian/xepersian-doc-title.ltx index 27ad90198d..29a6ed51d9 100644 --- a/macros/xetex/latex/xepersian/xepersian-doc-title.ltx +++ b/macros/xetex/latex/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 24.8}} +\large User documentation for \textcolor{blue!65!black}{version 24.9}} \author{Vafa Khalighi\thanks{Thanks to the bidi-tex GitHub organization consisted of David Carlisle and other members of the {\LaTeX} team to maintain the package in the period 2018--2020.}} \setcounter{page}{0} \thispagestyle{empty} @@ -13,7 +13,7 @@ \textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}} \Large -User documentation for \textcolor{blue!65!black}{version 24.8}} +User documentation for \textcolor{blue!65!black}{version 24.9}} \vskip 0pt plus 3fill \textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -47,7 +47,7 @@ category. \vskip 0pt plus 3fill -Copyright (c) 2008--2022 Vafa Khalighi +Copyright (c) 2008--2023 Vafa Khalighi Copyright (c) 2018--2020 bidi-tex GitHub Organization diff --git a/macros/xetex/latex/xepersian/xepersian-doc.ltx b/macros/xetex/latex/xepersian/xepersian-doc.ltx index 6a74c7edc8..1992bb189e 100644 --- a/macros/xetex/latex/xepersian/xepersian-doc.ltx +++ b/macros/xetex/latex/xepersian/xepersian-doc.ltx @@ -1,7 +1,7 @@ \documentclass{ltxdoc} \input{xepersian-doc-preamble.ltx} \hypersetup{% - pdftitle={User documentation for version 24.8 of the XePersian + pdftitle={User documentation for version 24.9 of the XePersian package}% } \begin{document} diff --git a/macros/xetex/latex/xepersian/xepersian-doc.pdf b/macros/xetex/latex/xepersian/xepersian-doc.pdf Binary files differindex 49b3ee1d15..710bff0bc8 100644 --- a/macros/xetex/latex/xepersian/xepersian-doc.pdf +++ b/macros/xetex/latex/xepersian/xepersian-doc.pdf diff --git a/macros/xetex/latex/xepersian/xepersian.dtx b/macros/xetex/latex/xepersian/xepersian.dtx index b9a707a4f9..cf774721f0 100644 --- a/macros/xetex/latex/xepersian/xepersian.dtx +++ b/macros/xetex/latex/xepersian/xepersian.dtx @@ -5,7 +5,7 @@ %<*readme> ____________________ The XePersian package -v24.8 +v24.9 The xepersian package provides a convenient interface for typesetting Persian and English texts in LaTeX, using XeTeX @@ -31,11 +31,11 @@ also appear in the Discussions space under the Announcements category. -Current version release date: 2022/10/30 +Current version release date: 2023/08/27 ___________________________________________ Vafa Khalighi -Copyright (c) Vafa Khalighi 2008--2022 +Copyright (c) Vafa Khalighi 2008--2023 Copyright (c) bidi-tex GitHub Organization 2018--2020 Distributed under the LaTeX Project Public License @@ -59,7 +59,7 @@ by Vafa Khalighi. __________________________________________________ Vafa Khalighi - Copyright (c) 2008--2022 Vafa Khalighi + Copyright (c) 2008--2023 Vafa Khalighi Copyright (c) 2018--2020 bidi-tex GitHub Organization It may be distributed and/or modified under the LaTeX Project Public License, @@ -168,7 +168,7 @@ by Vafa Khalighi. \documentclass{ltxdoc} \input{xepersian-doc-preamble.ltx} \hypersetup{% - pdftitle={Source documentation for version 24.8 of the XePersian + pdftitle={Source documentation for version 24.9 of the XePersian package}% } \EnableCrossrefs @@ -187,7 +187,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 24.8}} +%\large Source documentation for \textcolor{blue!65!black}{version 24.9}} % \author{Vafa Khalighi\thanks{Thanks to the bidi-tex GitHub organization consisted of David Carlisle and other members of the {\LaTeX} team to maintain the package in the period 2018--2020.}} %\setcounter{page}{0} %\thispagestyle{empty} @@ -197,7 +197,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}} % %\Large -%Source documentation for \textcolor{blue!65!black}{version 24.8}} +%Source documentation for \textcolor{blue!65!black}{version 24.9}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -230,7 +230,7 @@ by Vafa Khalighi. % %\vskip 0pt plus 3fill % -%Copyright (c) 2008--2022 Vafa Khalighi +%Copyright (c) 2008--2023 Vafa Khalighi % %Copyright (c) 2018--2020 bidi-tex GitHub Organization % @@ -245,7 +245,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{11192} +%% \CheckSum{11274} %% \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 @@ -3592,8 +3592,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \section{File \texttt{xepersian.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\xepersian@version{24.8} -\def\xepersiandate{2022/10/30} +\def\xepersian@version{24.9} +\def\xepersiandate{2023/08/27} \def\xepersian@releasename{Women, Life, and Freedom} \def\xepersian@persian@@releasename{زن، زندگی، و آزادی} \newcommand*{\xepersianreleasename}{\if@RTL\xepersian@persian@@releasename\else\xepersian@releasename\fi} @@ -3611,7 +3611,7 @@ Persian typesetting in XeLaTeX] * typesetting, using fonts provided in the^^J% * distribution.^^J% * ^^J% -* Copyright (c) 2008--2022 Vafa Khalighi^^J% +* Copyright (c) 2008--2023 Vafa Khalighi^^J% * Copyright (c) 2018--2020 bidi-tex GitHub Organization^^J% * ^^J% * v\xepersian@version\space (Release \xepersian@releasename), \xepersiandate^^J% @@ -4445,7 +4445,7 @@ Persian typesetting in XeLaTeX] \newcommand*{\@xepersian@pdfcustomproperties}{% This is the xepersian package, Version \xepersian@version\space (Release \xepersian@releasename), - Released October 30, 2022. + Released August 27, 2023. } \newcommand\twocolumnstableofcontents{% @@ -4997,6 +4997,126 @@ number is 999,999,999.}% \def\xepersian@@latin@baselineskip@scale{#1}% } +\newcommand*{\xepersian@setmainpersianfont}[1]{% + \settextfont[% + Path,% + UprightFont=*-Regular,% + BoldFont=*-Bold,% + BoldItalicFont=*-BoldItalic,% + ItalicFont= *-Italic,% + SlantedFont=*-Italic,% + BoldSlantedFont=*-BoldItalic,% + Numbers=Proportional% + ]{#1}% +} + +\define@choicekey{xepersian.sty}{mainpersianfont}[\xepersian@tempa\xepersian@tempb]{Default,Parsian,Naskh,Sans,Mono,Classic}[Default]{% + \ifcase\xepersian@tempb\relax + \xepersian@setmainpersianfont{ParsianTeX}% + \or + \xepersian@setmainpersianfont{Parsian}% + \or + \xepersian@setmainpersianfont{ParsianNaskh}% + \or + \xepersian@setmainpersianfont{ParsianSans}% + \or + \xepersian@setmainpersianfont{ParsianMono}% + \or + \xepersian@setmainpersianfont{ParsianTeXClassic}% + \fi} + +\define@choicekey{xepersian.sty}{persiansansfont}[\xepersian@tempa\xepersian@tempb]{on,off}[on]{% + \ifcase\xepersian@tempb\relax + \setpersiansansfont[% + Path,% + UprightFont=*-Regular,% + BoldFont=*-Bold,% + BoldItalicFont=*-BoldItalic,% + ItalicFont= *-Italic,% + SlantedFont=*-Italic,% + BoldSlantedFont=*-BoldItalic,% + Numbers=Proportional% + ]{ParsianSans}% + \or + \relax + \fi} + +\define@choicekey{xepersian.sty}{persianmonofont}[\xepersian@tempa\xepersian@tempb]{on,off}[on]{% + \ifcase\xepersian@tempb\relax + \setpersianmonofont[% + Path,% + UprightFont=*-Regular,% + BoldFont=*-Bold,% + BoldItalicFont=*-BoldItalic,% + ItalicFont= *-Italic,% + SlantedFont=*-Italic,% + BoldSlantedFont=*-BoldItalic,% + Numbers=Proportional% + ]{ParsianMono}% + \or + \relax + \fi} + +\newcommand*{\xepersian@setmathdigitfont}[1]{% + \setmathdigitfont[% + Path,% + UprightFont=*-Regular,% + BoldFont=*-Bold,% + BoldItalicFont=*-BoldItalic,% + ItalicFont= *-Italic,% + SlantedFont=*-Italic,% + BoldSlantedFont=*-BoldItalic,% + Numbers=Proportional% + ]{#1}% +} + +\define@choicekey{xepersian.sty}{mathdigitfont}[\xepersian@tempa\xepersian@tempb]{Default,Parsian,Naskh,Sans,Mono,Classic}[Default]{% + \ifcase\xepersian@tempb\relax + \xepersian@setmathdigitfont{ParsianTeX}% + \or + \xepersian@setmathdigitfont{Parsian}% + \or + \xepersian@setmathdigitfont{ParsianNaskh}% + \or + \xepersian@setmathdigitfont{ParsianSans}% + \or + \xepersian@setmathdigitfont{ParsianMono}% + \or + \xepersian@setmathdigitfont{ParsianTeXClassic}% + \fi} + +\define@choicekey{xepersian.sty}{mathsansdigitfont}[\xepersian@tempa\xepersian@tempb]{on,off}[on]{% + \ifcase\xepersian@tempb\relax + \setmathsfdigitfont[% + Path,% + UprightFont=*-Regular,% + BoldFont=*-Bold,% + BoldItalicFont=*-BoldItalic,% + ItalicFont= *-Italic,% + SlantedFont=*-Italic,% + BoldSlantedFont=*-BoldItalic,% + Numbers=Proportional% + ]{ParsianSans}% + \or + \relax + \fi} + +\define@choicekey{xepersian.sty}{mathmonodigitfont}[\xepersian@tempa\xepersian@tempb]{on,off}[on]{% + \ifcase\xepersian@tempb\relax + \setmathttdigitfont[% + Path,% + UprightFont=*-Regular,% + BoldFont=*-Bold,% + BoldItalicFont=*-BoldItalic,% + ItalicFont= *-Italic,% + SlantedFont=*-Italic,% + BoldSlantedFont=*-BoldItalic,% + Numbers=Proportional% + ]{ParsianMono}% + \or + \relax + \fi} + \define@choicekey{xepersian.sty}{logo}[\xepersian@tempa\xepersian@tempb]{on,off}[on]{% \ifcase\xepersian@tempb\relax \AtBeginDocument{\@bidi@inslogo@}% @@ -5062,7 +5182,9 @@ number is 999,999,999.}% latinfontsizescale=\@ne, mathfontsizescale=\@ne, baselineskipscale=\@ne, - latinbaselineskipscale=\@ne + latinbaselineskipscale=\@ne, + mainpersianfont=Default, + mathdigitfont=Default } \ProcessOptionsX diff --git a/macros/xetex/latex/xepersian/xepersian.pdf b/macros/xetex/latex/xepersian/xepersian.pdf Binary files differindex c61333a7b1..6625ec7a77 100644 --- a/macros/xetex/latex/xepersian/xepersian.pdf +++ b/macros/xetex/latex/xepersian/xepersian.pdf |