diff options
author | Karl Berry <karl@freefriends.org> | 2023-08-30 21:22:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-08-30 21:22:13 +0000 |
commit | f0d33d5b619651db9855d5736400bf2948f78f7c (patch) | |
tree | b1b55a278bd7c57c2b1742a6c8c9b08f3e936a71 /Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty | |
parent | 7a294d60896335d93bc23efc8885e79988ff235b (diff) |
xepersian (30aug23)
git-svn-id: svn://tug.org/texlive/trunk@68117 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty | 132 |
1 files changed, 5 insertions, 127 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty index b7daa9cfd60..c97fc1277d7 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty @@ -20,7 +20,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{11274} +%% \CheckSum{11192} %% \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 @@ -38,8 +38,8 @@ %% Right brace \} Tilde \~} %% \NeedsTeXFormat{LaTeX2e} -\def\xepersian@version{24.9} -\def\xepersiandate{2023/08/27} +\def\xepersian@version{25.0} +\def\xepersiandate{2023/08/30} \def\xepersian@releasename{Women, Life, and Freedom} \def\xepersian@persian@@releasename{زن، زندگی، و آزادی} \newcommand*{\xepersianreleasename}{\if@RTL\xepersian@persian@@releasename\else\xepersian@releasename\fi} @@ -884,7 +884,7 @@ Persian typesetting in XeLaTeX] \newcommand*{\@xepersian@pdfcustomproperties}{% This is the xepersian package, Version \xepersian@version\space (Release \xepersian@releasename), - Released August 27, 2023. + Released August 30, 2023. } \newcommand\twocolumnstableofcontents{% @@ -1434,126 +1434,6 @@ 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@}% @@ -1618,9 +1498,7 @@ number is 999,999,999.}% latinfontsizescale=\@ne, mathfontsizescale=\@ne, baselineskipscale=\@ne, - latinbaselineskipscale=\@ne, - mainpersianfont=Default, - mathdigitfont=Default + latinbaselineskipscale=\@ne } \ProcessOptionsX |