diff options
Diffstat (limited to 'Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx')
-rw-r--r-- | Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx | 59 |
1 files changed, 35 insertions, 24 deletions
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx index 9591f5c37ed..fb740c00a5b 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 -v23.1 +v23.2 The xepersian package provides a convenient interface for typesetting Persian and English texts in LaTeX, using XeTeX @@ -16,15 +16,18 @@ documentation, or ask for any new features, or suggest any improvements, or ask any questions about the package, then please use the issue tracker: - <https://github.com/persiantex/xepersian/issues> + <https://github.com/tex-persian/xepersian/issues> In doing so, please always explain your issue well enough, and always include a minimal working example showing the issue. -Current version release date: 2020/05/17 +Current version release date: 2022/02/01 ___________________________________________ -Copyright (c) Vafa Khalighi 2008--2020 +Vafa Khalighi +tex-persian@vafa.ac + +Copyright (c) Vafa Khalighi 2008--2022 Copyright (c) bidi-tex GitHub Organization 2018--2020 Distributed under the LaTeX Project Public License @@ -46,7 +49,10 @@ by Vafa Khalighi. \preamble __________________________________________________ - Copyright (c) 2008--2020 Vafa Khalighi + Vafa Khalighi + tex-persian@vafa.ac + + Copyright (c) 2008--2022 Vafa Khalighi Copyright (c) 2018--2020 bidi-tex GitHub Organization It may be distributed and/or modified under the LaTeX Project Public License, @@ -152,7 +158,7 @@ by Vafa Khalighi. \documentclass{ltxdoc} \input{xepersian-doc-preamble.ltx} \hypersetup{% - pdftitle={Source documentation for version 23.1 of the XePersian + pdftitle={Source documentation for version 23.2 of the XePersian package}% } \EnableCrossrefs @@ -171,8 +177,9 @@ 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 23.1}} -% \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.}} +%\large Source documentation for \textcolor{blue!65!black}{version 23.2}} +% \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.}\\ +% \url{tex-persian@vafa.ac}} %\setcounter{page}{0} %\thispagestyle{empty} %\includegraphics[width=.3\textwidth]{xepersian-logo}\qquad @@ -181,7 +188,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}} % %\Large -%Source documentation for \textcolor{blue!65!black}{version 23.1}} +%Source documentation for \textcolor{blue!65!black}{version 23.2}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -192,7 +199,7 @@ by Vafa Khalighi. %or ask for any new features, or suggest any improvements, or ask any questions about the package, then please use the issue tracker: % %\medskip -% \centerline{\url{https://github.com/persiantex/xepersian/issues}} +% \centerline{\url{https://github.com/tex-persian/xepersian/issues}} % %\medskip %In doing so, please always explain your issue well enough, and always include @@ -202,7 +209,7 @@ by Vafa Khalighi. % %\vskip 0pt plus 3fill % -%Copyright (c) 2008--2020 Vafa Khalighi +%Copyright (c) 2008--2022 Vafa Khalighi % %Copyright (c) 2018--2020 bidi-tex GitHub Organization % @@ -217,7 +224,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{10882} +%% \CheckSum{10887} %% \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 @@ -3416,8 +3423,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \section{File \texttt{xepersian.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\xepersian@version{23.1} -\def\xepersiandate{2020/05/17} +\def\xepersian@version{23.2} +\def\xepersiandate{2022/02/01} \ProvidesPackage{xepersian}[\xepersiandate\space v\xepersian@version\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} @@ -3432,7 +3439,7 @@ Persian typesetting in XeLaTeX] * typesetting, using fonts provided in the^^J% * distribution.^^J% * ^^J% -* Copyright (c) 2008--2020 Vafa Khalighi^^J% +* Copyright (c) 2008--2022 Vafa Khalighi^^J% * Copyright (c) 2018--2020 bidi-tex GitHub Organization^^J% * ^^J% * v\xepersian@version, \xepersiandate^^J% @@ -3442,7 +3449,9 @@ Persian typesetting in XeLaTeX] * ^^J% * Location on CTAN: /macros/xetex/latex/xepersian^^J% * ^^J% -* Issue tracker: https://github.com/persiantex/xepersian/issues^^J% +* Issue tracker: https://github.com/tex-persian/xepersian/issues^^J% +* ^^J% +* Support Email: tex-persian@vafa.ac^^J% * ^^J% * Primary author of xepersian package: Vafa Khalighi.^^J% * ^^J% @@ -4249,7 +4258,7 @@ Persian typesetting in XeLaTeX] \newcommand*{\@xepersian@pdfcustomproperties}{% This is the xepersian package, Version \xepersian@version, - Released May 17, 2020. + Released February 1, 2022. } \newcommand\twocolumnstableofcontents{% @@ -5812,7 +5821,7 @@ indexblock environment may only appear inside frontpage environment. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xepersian-mathsdigitspec} - [2018/12/16 v1.1.7 Unicode Persian maths digits in XeLaTeX] + [2022/02/01 v1.1.8 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{% @@ -5898,9 +5907,10 @@ indexblock environment may only appear inside frontpage environment. \cs_new_eq:NN \orig_mathrm:n \mathrm \cs_new_eq:NN \orig_mathsf:n \mathsf \cs_new_eq:NN \orig_mathtt:n \mathtt +%\int_const:Nn \c_one_int { 1 } \NewDocumentCommand \new@mathbf { m } { \orig_mathbf:n { - \int_step_inline:nnnn { `0 } { \c_one } { `9 } { + \int_step_inline:nnnn { `0 } { \c_one_int } { `9 } { \mathcode ##1 = \numexpr "100 * \symnew@mathbf@font@digits + ##1 \relax } #1 @@ -5908,7 +5918,7 @@ indexblock environment may only appear inside frontpage environment. } \NewDocumentCommand \new@mathit { m } { \orig_mathit:n { - \int_step_inline:nnnn { `0 } { \c_one } { `9 } { + \int_step_inline:nnnn { `0 } { \c_one_int } { `9 } { \mathcode ##1 = \numexpr "100 * \symnew@mathit@font@digits + ##1 \relax } #1 @@ -5916,7 +5926,7 @@ indexblock environment may only appear inside frontpage environment. } \NewDocumentCommand \new@mathrm { m } { \orig_mathrm:n { - \int_step_inline:nnnn { `0 } { \c_one } { `9 } { + \int_step_inline:nnnn { `0 } { \c_one_int } { `9 } { \mathcode ##1 = \numexpr "100 * \symnew@mathrm@font@digits + ##1 \relax } #1 @@ -5924,7 +5934,7 @@ indexblock environment may only appear inside frontpage environment. } \NewDocumentCommand \new@mathsf{ m } { \orig_mathsf:n { - \int_step_inline:nnnn { `0 } { \c_one } { `9 } { + \int_step_inline:nnnn { `0 } { \c_one_int } { `9 } { \mathcode ##1 = \numexpr "100 * \symnew@mathsf@font@digits + ##1 \relax } #1 @@ -5932,7 +5942,7 @@ indexblock environment may only appear inside frontpage environment. } \NewDocumentCommand \new@mathtt{ m } { \orig_mathtt:n { - \int_step_inline:nnnn { `0 } { \c_one } { `9 } { + \int_step_inline:nnnn { `0 } { \c_one_int } { `9 } { \mathcode ##1 = \numexpr "100 * \symnew@mathtt@font@digits + ##1 \relax } #1 @@ -5952,9 +5962,10 @@ indexblock environment may only appear inside frontpage environment. } \char_set_catcode_ignore:n {32} +%\__kernel_primitive:NN \iffontchar \tex_iffontchar:D \prg_new_conditional:Nnn \__xepersian_mathsdigitspec_primitive_font_char_if_exist:n {p,TF,T,F} { - \etex_iffontchar:D \l_fontspec_font "#1 \scan_stop: + \tex_iffontchar:D \l_fontspec_font "#1 \scan_stop: \prg_return_true: \else: \prg_return_false: |