summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx')
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx40
1 files changed, 30 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
index b3a6f92834c..91a7b985dd3 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
-v18.5
+v18.6
XePersian is a package written for XeLaTeX that allows users to typeset
Persian easily.
@@ -28,10 +28,11 @@ a minimal working example showing the issue, and always choose the appropriate
label for your query (i.e. if you are reporting any bugs, choose `Bug' label).
-Current version release date: 2017/04/26
+Current version release date: 2017/05/06
______________
Vafa Khalighi
persian-tex@tug.org
+https://www.instagram.com/persiantex
Copyright (c) 2008--2017
Distributed under the LaTeX Project Public License
@@ -272,9 +273,10 @@ by Vafa Khalighi.
%\changes{v13.1}{2013/09/23}{Added implementation of the package.}
% \title{\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}\\
%\LARGE Persian for \LaTeXe, using {\XeTeX} engine\\[5pt]
-%\large Documentation for \textcolor{blue!65!black}{version 18.5}}
+%\large Documentation for \textcolor{blue!65!black}{version 18.6}}
% \author{Vafa Khalighi\\
-% \url{persian-tex@tug.org}}
+% \url{persian-tex@tug.org}\\
+% \url{https://www.instagram.com/persiantex}}
%\setcounter{page}{0}
%\thispagestyle{empty}
%\includegraphics[width=.3\textwidth]{xepersian-logo}\qquad
@@ -283,7 +285,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}
%
%\Large
-%Documentation for \textcolor{blue!65!black}{version 18.5}}
+%Documentation for \textcolor{blue!65!black}{version 18.6}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -338,7 +340,7 @@ by Vafa Khalighi.
%*
%* Copyright (c) 2008--2017 Vafa Khalighi
%*
-%* v18.5, 2017/04/26
+%* v18.6, 2017/05/06
%*
%* License: LaTeX Project Public License, version
%* 1.3c or higher (your choice)
@@ -348,6 +350,8 @@ by Vafa Khalighi.
%* Issue tracker: https://github.com/tex-xet/xepersian/issues
%*
%* Support: persian-tex@tug.org
+%*
+%* Instagram: https://www.instagram.com/persiantex
%****************************************************
%\end{verbatim}
%\section{Basics\label{basics}}
@@ -2359,7 +2363,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{9487}
+%% \CheckSum{9513}
%% \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
@@ -5347,8 +5351,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \subsection{\textsf{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v18.5}
-\def\xepersiandate{2017/04/26}
+\def\xepersianversion{v18.6}
+\def\xepersiandate{2017/05/06}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -5375,6 +5379,8 @@ Persian typesetting in XeLaTeX]
* Issue tracker: https://github.com/tex-xet/xepersian/issues^^J%
* ^^J%
* Support: persian-tex@tug.org^^J%
+* ^^J%
+* Instagram: https://www.instagram.com/persiantex^^J%
****************************************************}
\typeout{\@xepersian@info}
\edef\xepersian@everyjob{\the\everyjob}
@@ -6212,6 +6218,19 @@ number is 999,999,999.}%
\@xepersian@@computeautoilgfalse
\fi}
+\define@choicekey{xepersian.sty}{DetectColumn}[\xepersian@tempa\xepersian@tempb]{on,off}[on]{%
+ \ifcase\xepersian@tempb\relax
+ \def\bidi@firstcolumn@status@write{%
+ \protected@write\@auxout{}%
+ {\string\bidi@column@status
+ {1}}}%
+ \def\bidi@lastcolumn@status@write{%
+ \protected@write\@auxout{}%
+ {\string\bidi@column@status{2}}}%
+ \or
+ \let\bidi@firstcolumn@status@write\relax
+ \let\bidi@lastcolumn@status@write\relax
+ \fi}
\ExecuteOptionsX{%
@@ -6220,7 +6239,8 @@ number is 999,999,999.}%
script=nonlatin,
footnotedirection=righttoleft,
footnoterule=automatic,
- abjadvariant=two
+ abjadvariant=two,
+ DetectColumn=off
}
\ProcessOptionsX