summaryrefslogtreecommitdiff
path: root/macros/xetex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-01-31 03:01:42 +0000
committerNorbert Preining <norbert@preining.info>2022-01-31 03:01:42 +0000
commitbf3e5a0ef8f4536286b8606775c8d34fd9840b18 (patch)
tree6cd7f3919b0ae4fa43995c3fd721346e2eb03c7e /macros/xetex
parent7ee4987532f1c1d25e5a2683ae21b7c298d103b5 (diff)
CTAN sync 202201310301
Diffstat (limited to 'macros/xetex')
-rw-r--r--macros/xetex/latex/bidi/README9
-rw-r--r--macros/xetex/latex/bidi/bidi-doc-intro.ltx8
-rw-r--r--macros/xetex/latex/bidi/bidi-doc-title.ltx11
-rw-r--r--macros/xetex/latex/bidi/bidi-doc.ltx2
-rw-r--r--macros/xetex/latex/bidi/bidi-doc.pdfbin173289 -> 180395 bytes
-rw-r--r--macros/xetex/latex/bidi/bidi.dtx227
-rw-r--r--macros/xetex/latex/bidi/bidi.pdfbin3111844 -> 3119340 bytes
-rw-r--r--macros/xetex/latex/xepersian/README11
-rw-r--r--macros/xetex/latex/xepersian/xepersian-doc-intro.ltx8
-rw-r--r--macros/xetex/latex/xepersian/xepersian-doc-title.ltx11
-rw-r--r--macros/xetex/latex/xepersian/xepersian-doc.ltx2
-rw-r--r--macros/xetex/latex/xepersian/xepersian-doc.pdfbin234762 -> 242527 bytes
-rw-r--r--macros/xetex/latex/xepersian/xepersian.dtx59
-rw-r--r--macros/xetex/latex/xepersian/xepersian.pdfbin755776 -> 757400 bytes
14 files changed, 211 insertions, 137 deletions
diff --git a/macros/xetex/latex/bidi/README b/macros/xetex/latex/bidi/README
index 6275535b66..31aee83dcb 100644
--- a/macros/xetex/latex/bidi/README
+++ b/macros/xetex/latex/bidi/README
@@ -1,6 +1,6 @@
___________________
The bidi package
-v36.3
+v36.4
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -16,10 +16,13 @@ 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 2007--2020
+Vafa Khalighi
+tex-persian@vafa.ac
+
+Copyright (c) Vafa Khalighi 2007--2022
Copyright (c) bidi-tex GitHub Organization 2018--2020
It may be distributed and/or modified under the LaTeX Project Public License,
diff --git a/macros/xetex/latex/bidi/bidi-doc-intro.ltx b/macros/xetex/latex/bidi/bidi-doc-intro.ltx
index f1d43e05bf..56325099e7 100644
--- a/macros/xetex/latex/bidi/bidi-doc-intro.ltx
+++ b/macros/xetex/latex/bidi/bidi-doc-intro.ltx
@@ -17,17 +17,19 @@ If you use \textsf{bidi} package to write any input \TeX\ document, and then run
* and LaTeX. The package includes adaptations
* for use with many other commonly-used packages.
*
-* Copyright (c) 2007--2020 Vafa Khalighi
+* Copyright (c) 2007--2022 Vafa Khalighi
* Copyright (c) 2018--2020 bidi-tex GitHub Organization
*
-* v36.3, 2020/05/17
+* v36.4, 2022/02/01
*
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
*
* Location on CTAN: /macros/xetex/latex/bidi
*
-* Issue tracker: https://github.com/persiantex/bidi/issues
+* Issue tracker: https://github.com/tex-persian/bidi/issues
+*
+* Support Email: tex-persian@vafa.ac
*
* Primary author of bidi package: Vafa Khalighi.
*
diff --git a/macros/xetex/latex/bidi/bidi-doc-title.ltx b/macros/xetex/latex/bidi/bidi-doc-title.ltx
index 235828e7d0..006da7b9e5 100644
--- a/macros/xetex/latex/bidi/bidi-doc-title.ltx
+++ b/macros/xetex/latex/bidi/bidi-doc-title.ltx
@@ -3,8 +3,9 @@
\begin{document}
\title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\
\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt]
-\large User documentation for \textcolor{blue!65!black}{version 36.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.}}
+\large User documentation for \textcolor{blue!65!black}{version 36.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}
\thispagestyle{empty}
\includegraphics[width=.3\textwidth]{bidi-logo}\qquad
@@ -13,7 +14,7 @@
\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
\Large
-User documentation for \textcolor{blue!65!black}{version 36.3}}
+User documentation for \textcolor{blue!65!black}{version 36.4}}
\vskip 0pt plus 3fill
\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -24,7 +25,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/persiantex/bidi/issues}}
+ \centerline{\url{https://github.com/tex-persian/bidi/issues}}
\medskip
In doing so, please always explain your issue well enough, and always include
@@ -35,7 +36,7 @@ a minimal working example showing the issue.
\vskip 0pt plus 3fill
-Copyright (c) 2007--2020 Vafa Khalighi
+Copyright (c) 2007--2022 Vafa Khalighi
Copyright (c) 2018--2020 bidi-tex GitHub Organization
diff --git a/macros/xetex/latex/bidi/bidi-doc.ltx b/macros/xetex/latex/bidi/bidi-doc.ltx
index faef7c906f..a2e1bc59f9 100644
--- a/macros/xetex/latex/bidi/bidi-doc.ltx
+++ b/macros/xetex/latex/bidi/bidi-doc.ltx
@@ -1,7 +1,7 @@
\documentclass{ltxdoc}
\input{bidi-doc-preamble.ltx}
\hypersetup{%
- pdftitle={User documentation for version 36.3 of the bidi
+ pdftitle={User documentation for version 36.4 of the bidi
package}%
}
\begin{document}
diff --git a/macros/xetex/latex/bidi/bidi-doc.pdf b/macros/xetex/latex/bidi/bidi-doc.pdf
index 29795992a4..4ff70450d0 100644
--- a/macros/xetex/latex/bidi/bidi-doc.pdf
+++ b/macros/xetex/latex/bidi/bidi-doc.pdf
Binary files differ
diff --git a/macros/xetex/latex/bidi/bidi.dtx b/macros/xetex/latex/bidi/bidi.dtx
index f0192ef0d7..e5a41ef92c 100644
--- a/macros/xetex/latex/bidi/bidi.dtx
+++ b/macros/xetex/latex/bidi/bidi.dtx
@@ -5,7 +5,7 @@
%<*readme>
___________________
The bidi package
-v36.3
+v36.4
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -21,10 +21,13 @@ 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 2007--2020
+Vafa Khalighi
+tex-persian@vafa.ac
+
+Copyright (c) Vafa Khalighi 2007--2022
Copyright (c) bidi-tex GitHub Organization 2018--2020
It may be distributed and/or modified under the LaTeX Project Public License,
@@ -44,7 +47,10 @@ by Vafa Khalighi.
\preamble
__________________________________________________
- Copyright (c) 2007--2020 Vafa Khalighi
+ Vafa Khalighi
+ tex-persian@vafa.ac
+
+ Copyright (c) 2007--2022 Vafa Khalighi
Copyright (c) 2018--2020 bidi-tex GitHub Organization
It may be distributed and/or modified under the LaTeX Project Public License,
@@ -219,7 +225,7 @@ by Vafa Khalighi.
\documentclass{ltxdoc}
\input{bidi-doc-preamble.ltx}
\hypersetup{%
- pdftitle={Source documentation for version 36.3 of the bidi
+ pdftitle={Source documentation for version 36.4 of the bidi
package}%
}
\EnableCrossrefs
@@ -238,8 +244,9 @@ by Vafa Khalighi.
% \GetFileInfo{\jobname.dtx}
% \title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\
%\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt]
-%\large Source documentation for \textcolor{blue!65!black}{version 36.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.}}
+%\large Source documentation for \textcolor{blue!65!black}{version 36.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}
%\thispagestyle{empty}
%\includegraphics[width=.3\textwidth]{bidi-logo}\qquad
@@ -248,7 +255,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
%
%\Large
-%Source documentation for \textcolor{blue!65!black}{version 36.3}}
+%Source documentation for \textcolor{blue!65!black}{version 36.4}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -259,7 +266,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/bidi/issues}}
+% \centerline{\url{https://github.com/tex-persian/bidi/issues}}
%
%\medskip
%In doing so, please always explain your issue well enough, and always include
@@ -269,7 +276,7 @@ by Vafa Khalighi.
%
%\vskip 0pt plus 3fill
%
-%Copyright (c) 2007--2020 Vafa Khalighi
+%Copyright (c) 2007--2022 Vafa Khalighi
%
%Copyright (c) 2018--2020 bidi-tex GitHub Organization
%
@@ -285,7 +292,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{50426}
+%% \CheckSum{50477}
%% \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
@@ -1905,8 +1912,8 @@ by Vafa Khalighi.
% \section{File \texttt{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2020/05/17}
-\def\bidi@version{36.3}
+\def\bididate{2022/02/01}
+\def\bidi@version{36.4}
\ProvidesPackage{bidi}[\bididate\space v\bidi@version\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -1919,7 +1926,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
* and LaTeX. The package includes adaptations^^J%
* for use with many other commonly-used packages.^^J%
* ^^J%
-* Copyright (c) 2007--2020 Vafa Khalighi^^J%
+* Copyright (c) 2007--2022 Vafa Khalighi^^J%
* Copyright (c) 2018--2020 bidi-tex GitHub organization^^J%
* ^^J%
* v\bidi@version, \bididate^^J%
@@ -1929,7 +1936,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
* ^^J%
* Location on CTAN: /macros/xetex/latex/bidi^^J%
* ^^J%
-* Issue tracker: https://github.com/persiantex/bidi/issues^^J%
+* Issue tracker: https://github.com/tex-persian/bidi/issues^^J%
+* ^^J%
+* Support Email: tex-persian@vafa.ac^^J%
* ^^J%
* Primary author of bidi package: Vafa Khalighi.^^J%
* ^^J%
@@ -1992,7 +2001,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
}
\newcommand*{\@bidi@pdfcustomproperties}{%
This is the bidi package, Version \bidi@version,
- Released May 17, 2020.
+ Released February 1, 2022.
}
\@RTLmainfalse
\AtBeginDocument{%
@@ -2235,9 +2244,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
%\fi
% \section{File \texttt{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2020/05/17}
+\def\bididate{2022/02/01}
\catcode`@=11
-\def\bidi@version{36.3}
+\def\bidi@version{36.4}
\let \protect \relax
\newlinechar`\^^J
\edef\@bidi@info{****************************************************^^J%
@@ -2250,7 +2259,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
* and LaTeX. The package includes adaptations^^J%
* for use with many other commonly-used packages.^^J%
* ^^J%
-* Copyright (c) 2007--2020 Vafa Khalighi^^J%
+* Copyright (c) 2007--2022 Vafa Khalighi^^J%
* Copyright (c) 2018--2020 bidi-tex GitHub organization^^J%
* ^^J%
* v\bidi@version, \bididate^^J%
@@ -2260,7 +2269,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
* ^^J%
* Location on CTAN: /macros/xetex/latex/bidi^^J%
* ^^J%
-* Issue tracker: https://github.com/persiantex/bidi/issues^^J%
+* Issue tracker: https://github.com/tex-persian/bidi/issues^^J%
+* ^^J%
+* Support Email: tex-persian@vafa.ac^^J%
* ^^J%
* Primary author of bidi package: Vafa Khalighi.^^J%
* ^^J%
@@ -2337,7 +2348,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
}
\def\@bidi@pdfcustomproperties{%
This is the bidi package, Version \bidi@version,
- Released May 17, 2020.
+ Released February 1, 2022.
}
\def\bidi@pdfm@mark{%
\special{pdf:%
@@ -3098,7 +3109,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
% \section{File \texttt{biditools.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biditools}[2020/05/13 v2 Programming tools for bidi package]
+\ProvidesPackage{biditools}[2022/02/01 v2.1 Programming tools for bidi package]
\providecommand{\@bidi@saveprimitive}[2]{\begingroup\escapechar`\\\relax
\edef\@tempa{\string#1}\edef\@tempb{\meaning#1}%
\ifx\@tempa\@tempb \global\let#2#1%
@@ -3940,8 +3951,10 @@ ill-advised in the old versions of bidi package.%
\long\def\bidi@append#1#2{#1#2}
\long\def\bidi@prepend#1#2{#2#1}
-\bidi@newrobustcmd*{\bidi@AtEndPreamble}{\bidi@gappto\bidi@endpreamblehook}
-\newcommand*{\bidi@endpreamblehook}{}
+%\bidi@newrobustcmd*{\bidi@AtEndPreamble}{\bidi@gappto\bidi@endpreamblehook}
+%\newcommand*{\bidi@endpreamblehook}{}
+
+\bidi@newrobustcmd*{\bidi@AtEndPreamble}{\AddToHook{begindocument/before}}%
\bidi@newrobustcmd*{\bidi@BeforeOutputPageShipOut}{\bidi@gappto\bidi@beforeoutputpageshipouthook}
\newcommand*{\bidi@beforeoutputpageshipouthook}{}
@@ -3968,35 +3981,37 @@ ill-advised in the old versions of bidi package.%
\bidi@newrobustcmd*{\bidi@AtEndOutputPage}{\bidi@gappto\bidi@atendoutputpagehook}
\newcommand*{\bidi@atendoutputpagehook}{}
-\bidi@preto\document{%
- \endgroup
- \let\bidi@AtEndPreamble\@firstofone
- \bidi@endpreamblehook
- \protected\def\bidi@AtEndPreamble{\@notprerr\@gobble}%
- \bidi@undef\bidi@endpreamblehook
- \begingroup}
+%\bidi@preto\document{%
+% \endgroup
+% \let\bidi@AtEndPreamble\@firstofone
+% \bidi@endpreamblehook
+% \protected\def\bidi@AtEndPreamble{\@notprerr\@gobble}%
+% \bidi@undef\bidi@endpreamblehook
+% \begingroup}
\bidi@newrobustcmd*{\bidi@AfterPreamble}{\AtBeginDocument}
\bidi@AtEndPreamble{\let\bidi@AfterPreamble\@firstofone}
-\bidi@newrobustcmd*{\bidi@AfterEndPreamble}{\bidi@gappto\bidi@afterendpreamblehook}
-\newcommand*{\bidi@afterendpreamblehook}{}
+%\bidi@newrobustcmd*{\bidi@AfterEndPreamble}{\bidi@gappto\bidi@afterendpreamblehook}
+%\newcommand*{\bidi@afterendpreamblehook}{}
-\bidi@appto\document{%
- \let\bidi@AfterEndPreamble\@firstofone
- \bidi@afterendpreamblehook
- \protected\def\bidi@AfterEndPreamble{\@notprerr\@gobble}%
- \bidi@undef\bidi@afterendpreamblehook
- \ignorespaces}
+\bidi@newrobustcmd*{\bidi@AfterEndPreamble}{\AddToHook{begindocument/end}}%
+
+%\bidi@appto\document{%
+% \let\bidi@AfterEndPreamble\@firstofone
+% \bidi@afterendpreamblehook
+% \protected\def\bidi@AfterEndPreamble{\@notprerr\@gobble}%
+% \bidi@undef\bidi@afterendpreamblehook
+% \ignorespaces}
\bidi@newrobustcmd*{\bidi@AfterEndDocumentCheckLabelsRerun}{\bidi@gappto\bidi@afterenddocumentchecklabelsrerunhook}
\newcommand*{\bidi@afterenddocumentchecklabelsrerunhook}{}
\bidi@patchcmd\enddocument
- {\fi\endgroup}
+ {\fi}
{\let\bidi@AfterEndDocumentCheckLabelsRerun\@firstofone
\bidi@afterenddocumentchecklabelsrerunhook
- \fi\endgroup}
+ \fi}
{}
{\PackageWarning{biditools}{Patching `\string\enddocument' failed}}
@@ -4017,20 +4032,22 @@ ill-advised in the old versions of bidi package.%
\let\bidi@AfterLastShipout\@firstofone
\bidi@afterlastshipouthook}}
-\bidi@newrobustcmd*{\bidi@AfterEndDocument}{\bidi@gappto\bidi@afterenddocumenthook}
-\newcommand*{\bidi@afterenddocumenthook}{}
+%\bidi@newrobustcmd*{\bidi@AfterEndDocument}{\bidi@gappto\bidi@afterenddocumenthook}
+%\newcommand*{\bidi@afterenddocumenthook}{}
-\bidi@patchcmd\enddocument
- {\deadcycles}
- {\let\bidi@AfterEndDocument\@firstofone
- \bidi@afterenddocumenthook
- \deadcycles}
- {}
- {\let\bidi@@end\@@end
- \def\@@end{%
- \let\bidi@AfterEndDocument\@firstofone
- \bidi@afterenddocumenthook
- \bidi@@end}}
+\bidi@newrobustcmd*{\bidi@AfterEndDocument}{\AddToHook{enddocument/end}}%
+
+%\bidi@patchcmd\enddocument
+% {\deadcycles}
+% {\let\bidi@AfterEndDocument\@firstofone
+% \bidi@afterenddocumenthook
+% \deadcycles}
+% {}
+% {\let\bidi@@end\@@end
+% \def\@@end{%
+% \let\bidi@AfterEndDocument\@firstofone
+% \bidi@afterenddocumenthook
+% \bidi@@end}}
\bidi@newrobustcmd{\bidi@AtBeginEnvironment}[1]{%
\bidi@csgappto{@bidi@begin@#1@hook}}
@@ -9115,41 +9132,53 @@ bidi implementation of tufte title]
%\fi
% \section{File \texttt{eso-pic-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{eso-pic-xetex-bidi.def}[2013/04/10 v0.2 bidi adaptations for eso-pic package for XeTeX engine]
+\ProvidesFile{eso-pic-xetex-bidi.def}[2022/02/01 v0.3 bidi adaptations for eso-pic package for XeTeX engine]
\renewcommand\AtPageLowerLeft[1]{\AtPageUpperLeft{%
- \put(\LenToUnit{\if@RTLmain\paperwidth\else0pt\fi},\LenToUnit{-\paperheight}){#1}}}
+ \put(\if@RTLmain\paperwidth\else 0\fi,-\paperheight){#1}}}
\ESO@isMEMOIR{%
\renewcommand\AtTextUpperLeft[1]{%
\begingroup
\ifodd\c@page
- \@tempdima=\spinemargin
+ \ESO@tempdima=\spinemargin
\else
- \@tempdima=\paperwidth
- \advance\@tempdima-\textwidth
- \advance\@tempdima-\spinemargin
+ \ESO@tempdima=\paperwidth
+ \advance\ESO@tempdima-\textwidth
+ \advance\ESO@tempdima-\spinemargin
\fi
- \@tempdimb=-\uppermargin
+ \ESO@tempdimb=-\uppermargin
\AtPageUpperLeft{%
- \put(\LenToUnit{\if@RTLmain-\fi\@tempdima},\LenToUnit{\@tempdimb}){#1}%
+ \put(\if@RTLmain-\fi\ESO@tempdima,\ESO@tempdimb){#1}%
}%
\endgroup
}
}{%
\renewcommand\AtTextUpperLeft[1]{%
\begingroup
- \@tempdima=1in\relax
- \ifodd\c@page
- \advance\@tempdima\oddsidemargin
+ \ESO@tempdima=1in\relax
+ \if@twoside
+ \ifodd\c@page
+ \if@RTLmain
+ \advance\ESO@tempdima\evensidemargin
+ \else
+ \advance\ESO@tempdima\oddsidemargin
+ \fi
+ \else
+ \if@RTLmain
+ \advance\ESO@tempdima\oddsidemargin
+ \else
+ \advance\ESO@tempdima\evensidemargin
+ \fi
+ \fi
\else
- \advance\@tempdima\evensidemargin
+ \advance\ESO@tempdima\oddsidemargin
\fi
- \@tempdimb=-1in\relax
- \advance\@tempdimb-\topmargin
- \advance\@tempdimb-\headheight
- \advance\@tempdimb-\headsep
+ \ESO@tempdimb=-1in\relax
+ \advance\ESO@tempdimb-\topmargin
+ \advance\ESO@tempdimb-\headheight
+ \advance\ESO@tempdimb-\headsep
\AtPageUpperLeft{%
- \put(\LenToUnit{\if@RTLmain-\fi\@tempdima},\LenToUnit{\@tempdimb}){#1}%
+ \put(\if@RTLmain-\fi\ESO@tempdima,\ESO@tempdimb){#1}%
}%
\endgroup
}
@@ -15945,7 +15974,7 @@ bidi implementation of tufte title]
%\fi
% \section{File \texttt{multicol-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{multicol-xetex-bidi.def}[2019/06/14 v1.2 bidi adaptations for multicol package for XeTeX engine]
+\ProvidesFile{multicol-xetex-bidi.def}[2022/02/01 v1.3 bidi adaptations for multicol package for XeTeX engine]
\def\page@sofar{%
\process@cols\mult@rightbox
{\ifvoid\count@
@@ -15980,7 +16009,7 @@ bidi implementation of tufte title]
\fi
}
\def\LTR@column@boxes{%
- \process@cols\mult@gfirstbox{%
+ \process@cols\mult@firstbox{%
\ifdim\dp\count@>\dimen\tw@
\global\dimen\tw@\dp\count@ \fi
\mc@col@status@write
@@ -15994,16 +16023,13 @@ bidi implementation of tufte title]
}
\def\RTL@column@boxes{%
- \ifnum\col@number<\tw@
- \LTR@column@boxes
- \else
- \process@cols\mult@gfirstbox{%
+ \process@cols\mult@firstbox{%
\hskip\hsize
\hss{\columnseprulecolor\vrule
\@width\columnseprule}\hss
}%
\hskip\hsize
- \process@cols\mult@gfirstbox{%
+ \process@cols\mult@firstbox{%
\ifdim\dp\count@>\dimen\tw@
\global\dimen\tw@\dp\count@ \fi
\hskip-\hsize
@@ -16019,8 +16045,8 @@ bidi implementation of tufte title]
\box\mult@rightbox
\hskip-\hsize
\hskip\full@width
- \fi
}
+
\newcommand\RTLmulticolcolumns
{\let\bidi@multicol@align@columns
\RTL@column@boxes}
@@ -16042,23 +16068,26 @@ bidi implementation of tufte title]
columns doesn't seem a good idea.^^J
I therefore use two columns instead}%
\col@number\tw@ \fi
- \ifnum\col@number>10
+ \ifnum\col@number>20
\PackageError{multicol}%
{Too many columns}%
{Current implementation doesn't
- support more than 10 columns.%
+ support more than 20 columns.%
\MessageBreak
- I therefore use 10 columns instead}%
- \col@number10 \fi
- \ifx\@footnotetext\mult@footnotetext\else
+ I therefore use 20 columns instead}%
+ \col@number20 \fi
+ \ifx\@footnotetext\mult@footnotetext
+ \else
\let\orig@footnotetext\@footnotetext
\let\@footnotetext\mult@footnotetext
\fi
- \ifx\@LTRfootnotetext\mult@LTRfootnotetext\else
+ \ifx\@LTRfootnotetext\mult@LTRfootnotetext
+ \else
\let\orig@LTRfootnotetext\@LTRfootnotetext
\let\@LTRfootnotetext\mult@LTRfootnotetext
\fi
- \ifx\@RTLfootnotetext\mult@RTLfootnotetext\else
+ \ifx\@RTLfootnotetext\mult@RTLfootnotetext
+ \else
\let\orig@RTLfootnotetext\@RTLfootnotetext
\let\@RTLfootnotetext\mult@RTLfootnotetext
\fi
@@ -22025,7 +22054,7 @@ to\rtside{\box\bslice\hfil}}
%\fi
% \section{File \texttt{latex-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{latex-xetex-bidi.def}[2019/03/03 v1.3.7 bidi adaptations for `latex.ltx' for XeTeX engine]
+\ProvidesFile{latex-xetex-bidi.def}[2022/02/01 v1.3.8 bidi adaptations for `latex.ltx' for XeTeX engine]
\newcommand{\TeXXeTOn}{\TeXXeTstate\@ne}
\newcommand{\TeXXeTOff}{\TeXXeTstate\z@}
\TeXXeTOn
@@ -22718,6 +22747,28 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\hskip\dimen\@curtabmar\box\@curline\hfil\if@RTL\endR\fi}%
\fi}
+\ExplSyntaxOn
+\cs_undefine:N \__shipout_picture_overlay:n
+\cs_new:Npn \__shipout_picture_overlay:n #1 {
+ \__shipout_init_page_origins:
+ \if@RTL
+ \kern \__dim_eval:w \textwidth-\c__shipout_horigin_tl \scan_stop:
+ \else
+ \kern -\c__shipout_horigin_tl \scan_stop:
+ \fi
+ \vbox_to_zero:n {
+ \kern -\c__shipout_vorigin_tl \scan_stop:
+ \unitlength 1pt \scan_stop:
+ \hbox_set_to_wd:Nnn \l__shipout_tmp_box \c_zero_dim
+ { \ignorespaces #1 \hss }
+ \box_set_ht:Nn \l__shipout_tmp_box \c_zero_dim
+ \box_set_dp:Nn \l__shipout_tmp_box \c_zero_dim
+ \box_use:N \l__shipout_tmp_box
+ \tex_vss:D
+ }
+}
+\ExplSyntaxOff
+
\newcommand*{\bidi@font@@outputpage}{}
\def\@outputpage{%
@@ -25395,7 +25446,7 @@ dynamic frame when using one of the \cmdname{Ncolumntop} type of commands.
\mobile{۰۹۱۸۹۶۹۴۹۶}
\phone{۹۸۹۰۸۳۴۱}
\fax{۹۸۹۰۸۳۴۲}
-\email{me@somedomain.com}
+\email{tex-persian@vafa.ac}
\extrainfo{اطلاعات اضافی}
\photo[64pt]{picture}
\quote{نقل قول}
diff --git a/macros/xetex/latex/bidi/bidi.pdf b/macros/xetex/latex/bidi/bidi.pdf
index 5e887f5129..e7468b4cb3 100644
--- a/macros/xetex/latex/bidi/bidi.pdf
+++ b/macros/xetex/latex/bidi/bidi.pdf
Binary files differ
diff --git a/macros/xetex/latex/xepersian/README b/macros/xetex/latex/xepersian/README
index 8ccf399e8d..07503c065c 100644
--- a/macros/xetex/latex/xepersian/README
+++ b/macros/xetex/latex/xepersian/README
@@ -1,6 +1,6 @@
____________________
The XePersian package
-v23.1
+v23.2
The xepersian package provides a convenient interface for
typesetting Persian and English texts in LaTeX, using XeTeX
@@ -11,14 +11,17 @@ 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
diff --git a/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx b/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx
index 9c623195e9..0f4f219472 100644
--- a/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx
+++ b/macros/xetex/latex/xepersian/xepersian-doc-intro.ltx
@@ -22,17 +22,19 @@ If you use \textsf{\XePersian} package to write any input \TeX\ document, and th
* typesetting, using fonts provided in the
* distribution.
*
-* Copyright (c) 2008--2020 Vafa Khalighi
+* Copyright (c) 2008--2022 Vafa Khalighi
* Copyright (c) 2018--2020 bidi-tex GitHub Organization
*
-* v23.1, 2020/05/17
+* v23.2, 2022/02/01
*
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
*
* Location on CTAN: /macros/xetex/latex/xepersian
*
-* Issue tracker: https://github.com/persiantex/xepersian/issues
+* Issue tracker: https://github.com/tex-persian/xepersian/issues
+*
+* Support Email: tex-persian@vafa.ac
*
* 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 4d0898f33d..51011e39b9 100644
--- a/macros/xetex/latex/xepersian/xepersian-doc-title.ltx
+++ b/macros/xetex/latex/xepersian/xepersian-doc-title.ltx
@@ -3,8 +3,9 @@
\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.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 User 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
@@ -13,7 +14,7 @@
\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}
\Large
-User documentation for \textcolor{blue!65!black}{version 23.1}}
+User documentation for \textcolor{blue!65!black}{version 23.2}}
\vskip 0pt plus 3fill
\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -24,7 +25,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/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
@@ -35,7 +36,7 @@ a minimal working example showing the issue.
\vskip 0pt plus 3fill
-Copyright (c) 2008--2020 Vafa Khalighi
+Copyright (c) 2008--2022 Vafa Khalighi
Copyright (c) 2018--2020 bidi-tex GitHub Organization
diff --git a/macros/xetex/latex/xepersian/xepersian-doc.ltx b/macros/xetex/latex/xepersian/xepersian-doc.ltx
index 2ea07b68ea..5cd43a84e7 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.1 of the XePersian
+ pdftitle={User documentation for version 23.2 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 693315fd4d..1f79bb2306 100644
--- a/macros/xetex/latex/xepersian/xepersian-doc.pdf
+++ b/macros/xetex/latex/xepersian/xepersian-doc.pdf
Binary files differ
diff --git a/macros/xetex/latex/xepersian/xepersian.dtx b/macros/xetex/latex/xepersian/xepersian.dtx
index 9591f5c37e..fb740c00a5 100644
--- a/macros/xetex/latex/xepersian/xepersian.dtx
+++ b/macros/xetex/latex/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:
diff --git a/macros/xetex/latex/xepersian/xepersian.pdf b/macros/xetex/latex/xepersian/xepersian.pdf
index 135dc52377..3f50a1e4f2 100644
--- a/macros/xetex/latex/xepersian/xepersian.pdf
+++ b/macros/xetex/latex/xepersian/xepersian.pdf
Binary files differ