diff options
Diffstat (limited to 'macros/xetex/latex/xepersian/xepersian.dtx')
-rw-r--r-- | macros/xetex/latex/xepersian/xepersian.dtx | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/macros/xetex/latex/xepersian/xepersian.dtx b/macros/xetex/latex/xepersian/xepersian.dtx index cef2486b84..1142e5a0d7 100644 --- a/macros/xetex/latex/xepersian/xepersian.dtx +++ b/macros/xetex/latex/xepersian/xepersian.dtx @@ -5,7 +5,7 @@ %<*readme> ____________________ The XePersian package -v23.3 +v23.4 The xepersian package provides a convenient interface for typesetting Persian and English texts in LaTeX, using XeTeX @@ -31,7 +31,7 @@ also appear in the Discussions space under the Announcements category. -Current version release date: 2022/02/04 +Current version release date: 2022/02/18 ___________________________________________ Vafa Khalighi tex-persian@vafa.ac @@ -119,6 +119,7 @@ by Vafa Khalighi. \generate{\file{latex-localise-misc-xepersian.def}{\from{\jobname.dtx}{table,latex-localise-misc-xepersian.def}}} \generate{\file{natbib-xepersian.def}{\from{\jobname.dtx}{table,natbib-xepersian.def}}} \generate{\file{packages-localise-xepersian.def}{\from{\jobname.dtx}{table,packages-localise-xepersian.def}}} +\generate{\file{url-xepersian.def}{\from{\jobname.dtx}{table,url-xepersian.def}}} \def\MetaPrefix{;;} \def\mapping@postamble{% \MetaPrefix ^^J% @@ -137,7 +138,6 @@ by Vafa Khalighi. \generate{\file{scrbook-xepersian.def}{\from{\jobname.dtx}{table,scrbook-xepersian.def}}} \generate{\file{scrreprt-xepersian.def}{\from{\jobname.dtx}{table,scrreprt-xepersian.def}}} \generate{\file{soul-xepersian.def}{\from{\jobname.dtx}{table,soul-xepersian.def}}} -\generate{\file{tikz.code-xepersian.def}{\from{\jobname.dtx}{table,tikz.code-xepersian.def}}} \generate{\file{tkz-linknodes-xepersian.def}{\from{\jobname.dtx}{table,tkz-linknodes-xepersian.def}}} \generate{\file{tocloft-xepersian.def}{\from{\jobname.dtx}{table,tocloft-xepersian.def}}} \generate{\file{varioref-xepersian.def}{\from{\jobname.dtx}{table,varioref-xepersian.def}}} @@ -168,7 +168,7 @@ by Vafa Khalighi. \documentclass{ltxdoc} \input{xepersian-doc-preamble.ltx} \hypersetup{% - pdftitle={Source documentation for version 23.3 of the XePersian + pdftitle={Source documentation for version 23.4 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 23.3}} +%\large Source documentation for \textcolor{blue!65!black}{version 23.4}} % \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} @@ -198,7 +198,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}} % %\Large -%Source documentation for \textcolor{blue!65!black}{version 23.3}} +%Source documentation for \textcolor{blue!65!black}{version 23.4}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -246,7 +246,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{10959} +%% \CheckSum{10978} %% \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 @@ -3068,6 +3068,19 @@ by Vafa Khalighi. % \end{macrocode} % \iffalse %</packages-localise-xepersian.def> +%<*url-xepersian.def> +%\fi +% \section{File \texttt{url-xepersian.def}} +% \begin{macrocode} +\ProvidesFile{url-xepersian.def}[2022/02/18 v0.1 adaptations for url package] +\begingroup + \lccode`+=`\% \lccode`\~=`\% + \lowercase {\long\gdef\Url@actpercent{\Url@Edit\Url@String{+}{~}% + \ifnum\Umathcodenum`\%<32768 \def~{\%}\fi}}% +\endgroup% +% \end{macrocode} +% \iffalse +%</url-xepersian.def> %<*persian-tex-text.map> %\fi % \section{File \texttt{persian-tex-text.map}} @@ -3343,20 +3356,6 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \end{macrocode} % \iffalse %</soul-xepersian.def> -%<*tikz.code-xepersian.def> -%\fi -% \section{File \texttt{tikz.code-xepersian.def}} -% \begin{macrocode} -\ProvidesFile{tikz.code-xepersian.def}[2020/05/17 v0.2 adaptations for tikz.code.tex file] -\bidi@patchcmd\tikz@finish{% - \tikz@preactions% -}{% - \@@textdigitfont@onfalse% - \tikz@preactions% -}{}{} -% \end{macrocode} -% \iffalse -%</tikz.code-xepersian.def> %<*tkz-linknodes-xepersian.def> %\fi % \section{File \texttt{tkz-linknodes-xepersian.def}} @@ -3478,8 +3477,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \section{File \texttt{xepersian.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\xepersian@version{23.3} -\def\xepersiandate{2022/02/04} +\def\xepersian@version{23.4} +\def\xepersiandate{2022/02/18} \ProvidesPackage{xepersian}[\xepersiandate\space v\xepersian@version\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} @@ -3657,8 +3656,8 @@ Persian typesetting in XeLaTeX] } } -\newcommand*{\xepersian@@start@switch@textdigitfont}{\ifx\f@family\ttdefault\else\if@nonlatin\if@@textdigitfont@on\bgroup\xepersian@textdigitfont\else\fi\fi\fi} -\newcommand*{\xepersian@@stop@switch@textdigitfont}{\ifx\f@family\ttdefault\else\if@nonlatin\if@@textdigitfont@on\egroup\else\fi\fi\fi} +\newcommand*{\xepersian@@start@switch@textdigitfont}{\ifx\f@family\ttdefault\else\if@nonlatin\if@@textdigitfont@on\let\xepersian@save@@f@family\f@family\xepersian@textdigitfont\else\fi\fi\fi} +\newcommand*{\xepersian@@stop@switch@textdigitfont}{\ifx\f@family\ttdefault\else\if@nonlatin\if@@textdigitfont@on\let\f@family\xepersian@save@@f@family\selectfont\else\fi\fi\fi} \cs_set_eq:NN \__xepersian_settextdigitfont_hook:nn \use_none:nn @@ -4330,7 +4329,7 @@ Persian typesetting in XeLaTeX] \newcommand*{\@xepersian@pdfcustomproperties}{% This is the xepersian package, Version \xepersian@version, - Released February 27, 2022. + Released February 18, 2022. } \newcommand\twocolumnstableofcontents{% @@ -4660,9 +4659,9 @@ number is 999,999,999.}% \@ifpackageloaded{minitoc}{\input{minitoc-xepersian.def}}{} \@ifpackageloaded{natbib}{\input{natbib-xepersian.def}}{} \@ifpackageloaded{soul}{\input{soul-xepersian.def}}{} -\@ifpackageloaded{tikz}{\input{tikz.code-xepersian.def}}{} \@ifpackageloaded{tkz-linknodes}{\input{tkz-linknodes-xepersian.def}}{} \@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xepersian.def}}}{} +\@ifpackageloaded{url}{\input{url-xepersian.def}}{} \@ifpackageloaded{varioref}{\input{varioref-xepersian.def}}{} \@ifclassloaded{article}{\input{article-xepersian.def}}{} \@ifclassloaded{extarticle}{\input{extarticle-xepersian.def}}{} |