summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/xepersian/xepersian.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-06-07 03:01:10 +0000
committerNorbert Preining <norbert@preining.info>2022-06-07 03:01:10 +0000
commit76cfdb3c84a9a4d5d06a9f785b2bed2b44098806 (patch)
treeb552a509a35d1f669c9d390a0d70809bb1030571 /macros/xetex/latex/xepersian/xepersian.dtx
parent89e8f58007e3fa8841a95b1e3d7efeacced6aed5 (diff)
CTAN sync 202206070301
Diffstat (limited to 'macros/xetex/latex/xepersian/xepersian.dtx')
-rw-r--r--macros/xetex/latex/xepersian/xepersian.dtx31
1 files changed, 18 insertions, 13 deletions
diff --git a/macros/xetex/latex/xepersian/xepersian.dtx b/macros/xetex/latex/xepersian/xepersian.dtx
index ee9d4aa351..992f4e27d4 100644
--- a/macros/xetex/latex/xepersian/xepersian.dtx
+++ b/macros/xetex/latex/xepersian/xepersian.dtx
@@ -5,7 +5,7 @@
%<*readme>
____________________
The XePersian package
-v24.2
+v24.3
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/06/01
+Current version release date: 2022/06/06
___________________________________________
Vafa Khalighi
@@ -168,7 +168,7 @@ by Vafa Khalighi.
\documentclass{ltxdoc}
\input{xepersian-doc-preamble.ltx}
\hypersetup{%
- pdftitle={Source documentation for version 24.2 of the XePersian
+ pdftitle={Source documentation for version 24.3 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.2}}
+%\large Source documentation for \textcolor{blue!65!black}{version 24.3}}
% \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.2}}
+%Source documentation for \textcolor{blue!65!black}{version 24.3}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -245,7 +245,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{11130}
+%% \CheckSum{11150}
%% \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
@@ -1673,14 +1673,14 @@ by Vafa Khalighi.
%\fi
% \section{File \texttt{latex-localise-environments-xepersian.def}}
% \begin{macrocode}
-\ProvidesFile{latex-localise-environments-xepersian.def}[2010/07/25 v0.2 Persian localisation of LaTeX2e environments]
+\ProvidesFile{latex-localise-environments-xepersian.def}[2022/06/06 v0.3 Persian localisation of LaTeX2e environments]
\eqenvironment{چکیده}{abstract}
\eqenvironment{پیوست}{appendix}
\eqenvironment{آرایه}{array}
\eqenvironment{وسط‌چین}{center}
\eqenvironment{توضیح}{description}
\eqenvironment{ریاضی‌نمایشی}{displaymath}
-\eqenvironment{نوشتار}{document}
+\EqEnvironment{نوشتار}{document}
\eqenvironment{شمارش}{enumerate}
\eqenvironment{شکل}{figure}
\eqenvironment{شکل*}{figure*}
@@ -2219,11 +2219,16 @@ by Vafa Khalighi.
%\fi
% \section{File \texttt{localise-xepersian.def}}
% \begin{macrocode}
-\ProvidesFile{localise-xepersian.def}[2014/07/10 v0.2b Persian localisation of LaTeX2e]
+\ProvidesFile{localise-xepersian.def}[2022/06/06 v0.2c Persian localisation of LaTeX2e]
\newcommand{\makezwnjletter}{\catcode`‌=11\relax}
\makezwnjletter
\newcommand*{\eqcommand}[2]{\if@bidi@csprimitive{#2}{\bidi@csletcs{#1}{#2}}{\bidi@csdefcs{#1}{#2}}}
-\newcommand*{\eqenvironment}[2]{\newenvironment{#1}{\csname#2\endcsname}{\csname end#2\endcsname}}
+\newcommand*{\eqenvironment}[2]{\newenvironment{#1}{%
+\if@bidi@csdef{verbatim@}{\let\verbatim@\xepersian@localize@verbatim@}{}\csname#2\endcsname}{\csname end#2\endcsname}}
+\newcommand*{\EqEnvironment}[2]{%
+ \expandafter\let\csname #1\expandafter\endcsname\csname #2\endcsname
+ \expandafter\let\csname end#1\expandafter\endcsname\csname end#2\endcsname
+}
\@ifpackageloaded{keyval}{%
\newcommand*\keyval@eq@alias@key[4][KV]{%
\bidi@csletcs{#1@#2@#3}{#1@#2@#4}%
@@ -3575,8 +3580,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \section{File \texttt{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersian@version{24.2}
-\def\xepersiandate{2022/06/01}
+\def\xepersian@version{24.3}
+\def\xepersiandate{2022/06/06}
\ProvidesPackage{xepersian}[\xepersiandate\space v\xepersian@version\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -4425,7 +4430,7 @@ Persian typesetting in XeLaTeX]
\newcommand*{\@xepersian@pdfcustomproperties}{%
This is the xepersian package, Version \xepersian@version,
- Released June 1, 2022.
+ Released June 6, 2022.
}
\newcommand\twocolumnstableofcontents{%