From fbe3cb5feb55dc6417d9bb95e3c7954a1b0b9ee8 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 21 May 2022 03:00:51 +0000 Subject: CTAN sync 202205210300 --- macros/xetex/latex/xepersian/README | 9 +- .../xetex/latex/xepersian/xepersian-doc-intro.ltx | 10 +-- .../xetex/latex/xepersian/xepersian-doc-title.ltx | 11 ++- macros/xetex/latex/xepersian/xepersian-doc.ltx | 2 +- macros/xetex/latex/xepersian/xepersian-doc.pdf | Bin 246578 -> 243617 bytes macros/xetex/latex/xepersian/xepersian.dtx | 91 ++++++++++----------- macros/xetex/latex/xepersian/xepersian.pdf | Bin 766381 -> 762845 bytes 7 files changed, 57 insertions(+), 66 deletions(-) (limited to 'macros/xetex/latex/xepersian') diff --git a/macros/xetex/latex/xepersian/README b/macros/xetex/latex/xepersian/README index b7f7451eb8..18207bc0e1 100644 --- a/macros/xetex/latex/xepersian/README +++ b/macros/xetex/latex/xepersian/README @@ -1,6 +1,6 @@ ____________________ The XePersian package -v23.7 +v23.9 The xepersian package provides a convenient interface for typesetting Persian and English texts in LaTeX, using XeTeX @@ -11,7 +11,7 @@ documentation, or ask for any new features, or suggest any improvements, or ask any questions about the package, then please use the issue tracker: - + In doing so, please always explain your issue well enough, and always include a minimal working example showing the issue. @@ -19,16 +19,15 @@ include a minimal working example showing the issue. You may also have conversations, ask questions and post answers without opening issues using the Discussions space: - + 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/02/20 +Current version release date: 2022/05/20 ___________________________________________ Vafa Khalighi -tex-persian@vafa.ac Copyright (c) Vafa Khalighi 2008--2022 Copyright (c) bidi-tex GitHub Organization 2018--2020 diff --git a/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx b/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx index f08ba92b94..aa635c0c71 100644 --- a/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx +++ b/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx @@ -8,7 +8,7 @@ \begin{itemize} \item The \textsf{\XePersian} package only works with \XeTeX\ engine. \item Before reading this documentation, you should have read the documentation of the \textsf{bidi} package. The \textsf{\XePersian} package automatically loads \textsf{bidi} package with \texttt{RTLdocument} option enabled and hence any commands that \textsf{bidi} package offers, is also available in \textsf{\XePersian} package. Here, in this documentation, we will not repeat any of \textsf{bidi} package's commands. -\item In previous versions (\(\leq1.0.3\)) of \XePersian, a thesis class provided for typesetting thesis. As of version 1.0.4, we no longer provide this class because we are not familiar with specification of a thesis in Iran and even if we were, the specifications are different from University to University. \XePersian\ is a general package like \LaTeX\ and should not provide any class for typesetting thesis. So if you really want to have a class file for typesetting thesis, then you should ask your University/department to write one for you. +\item In previous versions (\(\leq1.0.3\)) of \XePersian, a thesis class was provided for typesetting theses. As of version 1.0.4, we no longer provide this class because we are not familiar with specification of a thesis in Iran and even if we were, the specifications are different from University to University. \XePersian\ is a general package like \LaTeX\ and should not provide any class for typesetting thesis. So if you really want to have a class file for typesetting thesis, then you should ask your University/department to write one for you. \end{itemize} \subsection{\textsf{\XePersian} Info On The Terminal and In The Log File} @@ -25,18 +25,16 @@ If you use \textsf{\XePersian} package to write any input \TeX\ document, and th * Copyright (c) 2008--2022 Vafa Khalighi * Copyright (c) 2018--2020 bidi-tex GitHub Organization * -* v23.7, 2022/02/20 +* v23.9, 2022/05/20 * * License: LaTeX Project Public License, version * 1.3c or higher (your choice) * * Location on CTAN: /macros/xetex/latex/xepersian * -* Issue tracker: https://github.com/tex-persian/xepersian/issues +* Issue tracker: https://github.com/kvafa/xepersian/issues * -* Discussions: https://github.com/tex-persian/xepersian/discussions -* -* Support Email: tex-persian@vafa.ac +* Discussions: https://github.com/kvafa/xepersian/discussions * * Primary author of xepersian package: Vafa Khalighi. * diff --git a/macros/xetex/latex/xepersian/xepersian-doc-title.ltx b/macros/xetex/latex/xepersian/xepersian-doc-title.ltx index d80debfca7..c39ef15a30 100644 --- a/macros/xetex/latex/xepersian/xepersian-doc-title.ltx +++ b/macros/xetex/latex/xepersian/xepersian-doc-title.ltx @@ -3,9 +3,8 @@ \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 23.7}} -\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}} +\large User documentation for \textcolor{blue!65!black}{version 23.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} \includegraphics[width=.3\textwidth]{xepersian-logo}\qquad @@ -14,7 +13,7 @@ \textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}} \Large -User documentation for \textcolor{blue!65!black}{version 23.7}} +User documentation for \textcolor{blue!65!black}{version 23.9}} \vskip 0pt plus 3fill \textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -25,7 +24,7 @@ If you want to report any bugs or typos and corrections in the documentation, 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/tex-persian/xepersian/issues}} + \centerline{\url{https://github.com/kvafa/xepersian/issues}} \medskip In doing so, please always explain your issue well enough, and always include @@ -36,7 +35,7 @@ You may also have conversations, ask questions and post answers without opening issues using the Discussions space: \medskip - \centerline{\url{https://github.com/tex-persian/xepersian/discussions}} + \centerline{\url{https://github.com/kvafa/xepersian/discussions}} \medskip The announcements for the new releases of the package will diff --git a/macros/xetex/latex/xepersian/xepersian-doc.ltx b/macros/xetex/latex/xepersian/xepersian-doc.ltx index c9f01b5179..f9ff704d30 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 23.7 of the XePersian + pdftitle={User documentation for version 23.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 index 5c2b31ceb0..08825250c8 100644 Binary files a/macros/xetex/latex/xepersian/xepersian-doc.pdf and b/macros/xetex/latex/xepersian/xepersian-doc.pdf differ diff --git a/macros/xetex/latex/xepersian/xepersian.dtx b/macros/xetex/latex/xepersian/xepersian.dtx index 28e5a2eff7..7bf394e7b3 100644 --- a/macros/xetex/latex/xepersian/xepersian.dtx +++ b/macros/xetex/latex/xepersian/xepersian.dtx @@ -5,7 +5,7 @@ %<*readme> ____________________ The XePersian package -v23.7 +v23.9 The xepersian package provides a convenient interface for typesetting Persian and English texts in LaTeX, using XeTeX @@ -16,7 +16,7 @@ documentation, or ask for any new features, or suggest any improvements, or ask any questions about the package, then please use the issue tracker: - + In doing so, please always explain your issue well enough, and always include a minimal working example showing the issue. @@ -24,17 +24,16 @@ include a minimal working example showing the issue. You may also have conversations, ask questions and post answers without opening issues using the Discussions space: - + 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/02/20 +Current version release date: 2022/05/20 ___________________________________________ Vafa Khalighi -tex-persian@vafa.ac Copyright (c) Vafa Khalighi 2008--2022 Copyright (c) bidi-tex GitHub Organization 2018--2020 @@ -59,7 +58,6 @@ by Vafa Khalighi. __________________________________________________ Vafa Khalighi - tex-persian@vafa.ac Copyright (c) 2008--2022 Vafa Khalighi Copyright (c) 2018--2020 bidi-tex GitHub Organization @@ -168,7 +166,7 @@ by Vafa Khalighi. \documentclass{ltxdoc} \input{xepersian-doc-preamble.ltx} \hypersetup{% - pdftitle={Source documentation for version 23.7 of the XePersian + pdftitle={Source documentation for version 23.9 of the XePersian package}% } \EnableCrossrefs @@ -187,9 +185,8 @@ 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.7}} -% \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}} +%\large Source documentation for \textcolor{blue!65!black}{version 23.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} %\includegraphics[width=.3\textwidth]{xepersian-logo}\qquad @@ -198,7 +195,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}} % %\Large -%Source documentation for \textcolor{blue!65!black}{version 23.7}} +%Source documentation for \textcolor{blue!65!black}{version 23.9}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -209,7 +206,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/tex-persian/xepersian/issues}} +% \centerline{\url{https://github.com/kvafa/xepersian/issues}} % %\medskip %In doing so, please always explain your issue well enough, and always include @@ -220,7 +217,7 @@ by Vafa Khalighi. %without opening issues using the Discussions space: % %\medskip -% \centerline{\url{https://github.com/tex-persian/xepersian/discussions}} +% \centerline{\url{https://github.com/kvafa/xepersian/discussions}} % %\medskip %The announcements for the new releases of the package will @@ -246,7 +243,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{10978} +%% \CheckSum{10976} %% \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 @@ -3477,8 +3474,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \section{File \texttt{xepersian.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\xepersian@version{23.7} -\def\xepersiandate{2022/02/20} +\def\xepersian@version{23.9} +\def\xepersiandate{2022/05/20} \ProvidesPackage{xepersian}[\xepersiandate\space v\xepersian@version\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} @@ -3503,11 +3500,9 @@ Persian typesetting in XeLaTeX] * ^^J% * Location on CTAN: /macros/xetex/latex/xepersian^^J% * ^^J% -* Issue tracker: https://github.com/tex-persian/xepersian/issues^^J% +* Issue tracker: https://github.com/kvafa/xepersian/issues^^J% * ^^J% -* Discussions: https://github.com/tex-persian/xepersian/discussions^^J% -* ^^J% -* Support Email: tex-persian@vafa.ac^^J% +* Discussions: https://github.com/kvafa/xepersian/discussions^^J% * ^^J% * Primary author of xepersian package: Vafa Khalighi.^^J% * ^^J% @@ -4329,7 +4324,7 @@ Persian typesetting in XeLaTeX] \newcommand*{\@xepersian@pdfcustomproperties}{% This is the xepersian package, Version \xepersian@version, - Released February 20, 2022. + Released May 20, 2022. } \newcommand\twocolumnstableofcontents{% @@ -5892,7 +5887,7 @@ indexblock environment may only appear inside frontpage environment. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xepersian-mathdigitspec} - [2022/02/04 v1.1.9 Unicode Persian math digits in XeLaTeX] + [2022/05/20 v1.2.0 Unicode Persian math digits in XeLaTeX] \def\new@mathgroup{\alloc@8\mathgroup\chardef\@cclvi} \let\newfam\new@mathgroup \def\select@group#1#2#3#4{% @@ -6104,7 +6099,7 @@ indexblock environment may only appear inside frontpage environment. \SetMathCode{`8}{\mathalpha}{OPERATORS}{`8} \SetMathCode{`9}{\mathalpha}{OPERATORS}{`9} \SetMathCode{`\%}{\mathbin}{OPERATORS}{`٪} - \SetMathCharDef{\decimalseparator}{\mathord}{OPERATORS}{"066B} + \SetMathCharDef{\persiandecimalseparator}{\mathord}{OPERATORS}{"066B} \tl_set_eq:NN \mathbf \new@mathbf \tl_set_eq:NN \mathit \new@mathit \tl_set_eq:NN \mathrm \new@mathrm} @@ -6143,26 +6138,26 @@ indexblock environment may only appear inside frontpage environment. \cs_set_eq:NN \__xepersian_setmathttdigitfont_hook:nn \use_none:nn \ExplSyntaxOff -\ifx\newcommand\undefined\else - \newcommand{\ZifferAn}{} -\fi -\mathchardef\ziffer@DotOri="013A -{\ZifferAn - \catcode`\.=\active\gdef.{\begingroup\obeyspaces\futurelet\n\ziffer@dcheck}} -\def\ziffer@dcheck{\ziffer@check\ZifferLeer\ziffer@DotOri} -\def\ziffer@check#1#2{% - \ifx\n1\endgroup#1\else - \ifx\n2\endgroup#1\else - \ifx\n3\endgroup#1\else - \ifx\n4\endgroup#1\else - \ifx\n5\endgroup#1\else - \ifx\n6\endgroup#1\else - \ifx\n7\endgroup#1\else - \ifx\n8\endgroup#1\else - \ifx\n9\endgroup#1\else - \ifx\n0\endgroup#1\else - \ifx\n\overline\endgroup#1\else - \endgroup#2% +\mathchardef\decimalseparator@point="013A +{% + \catcode`\.=\active + \gdef.{\begingroup\obeyspaces\futurelet\@let@token\decimalseparator@pointcheck}} +\def\decimalseparator@pointcheck{\decimalseparator@check\MathDecimalSeparator\decimalseparator@point} +\def\decimalseparator@check#1#2{% + \ifx\@let@token1\endgroup#1\else + \ifx\@let@token2\endgroup#1\else + \ifx\@let@token3\endgroup#1\else + \ifx\@let@token4\endgroup#1\else + \ifx\@let@token5\endgroup#1\else + \ifx\@let@token6\endgroup#1\else + \ifx\@let@token7\endgroup#1\else + \ifx\@let@token8\endgroup#1\else + \ifx\@let@token9\endgroup#1\else + \ifx\@let@token0\endgroup#1\else + \ifx\@let@token\dot\endgroup#1\else + \ifx\@let@token\overline\endgroup#1\else + \endgroup#2% + \fi \fi \fi \fi @@ -6175,8 +6170,8 @@ indexblock environment may only appear inside frontpage environment. \fi \fi} \mathcode`.="8000\relax -\def\ZifferLeer{\ifx\decimalseparator\undefined .\else \decimalseparator\fi} -\def\DefaultZifferLeer{.} +\def\MathDecimalSeparator{\ifx\persiandecimalseparator\undefined .\else \persiandecimalseparator\fi} +\def\DefaultMathDecimalSeparator{.} \def\DefaultInlineMathDigits{\def\SetInlineMathDigits{}} \def\DefaultDisplayMathDigits{\def\SetDisplayMathDigits{}} \def\DefaultMathDigits{% @@ -6217,14 +6212,14 @@ indexblock environment may only appear inside frontpage environment. } \ExplSyntaxOn -\cs_new_eq:NN \orig_ZifferLeer \ZifferLeer +\cs_new_eq:NN \orig_MathDecimalSeparator \MathDecimalSeparator \NewDocumentCommand \SwitchToDefaultMathDigits { } { \int_step_inline:nnnn { `0 } { \c_one_int } { `9 } { \SetMathCode{##1}{\mathalpha}{operators}{##1} } \SetMathCode{`\%}{\mathbin}{operators}{`\%} - \tl_set_eq:NN \ZifferLeer \DefaultZifferLeer + \tl_set_eq:NN \MathDecimalSeparator \DefaultMathDecimalSeparator \tl_set_eq:NN \mathbf \orig_mathbf:n \tl_set_eq:NN \mathit \orig_mathit:n \tl_set_eq:NN \mathrm \orig_mathrm:n @@ -6237,7 +6232,7 @@ indexblock environment may only appear inside frontpage environment. \SetMathCode{##1}{\mathalpha}{OPERATORS}{##1} } \SetMathCode{`\%}{\mathbin}{OPERATORS}{`٪} - \tl_set_eq:NN \ZifferLeer \orig_ZifferLeer + \tl_set_eq:NN \MathDecimalSeparator \orig_MathDecimalSeparator \tl_set_eq:NN \mathbf \new@mathbf \tl_set_eq:NN \mathit \new@mathit \tl_set_eq:NN \mathrm \new@mathrm diff --git a/macros/xetex/latex/xepersian/xepersian.pdf b/macros/xetex/latex/xepersian/xepersian.pdf index c8ddac3a0a..5817645f19 100644 Binary files a/macros/xetex/latex/xepersian/xepersian.pdf and b/macros/xetex/latex/xepersian/xepersian.pdf differ -- cgit v1.2.3