summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty25
1 files changed, 21 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index aba904d7451..60d8e621d18 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \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
@@ -35,8 +35,8 @@
%% Right brace \} Tilde \~}
%%
\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}
@@ -63,6 +63,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}
@@ -888,13 +890,28 @@ 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{%
documentdirection=righttoleft,
tabledirection=righttoleft,
script=nonlatin,
footnotedirection=righttoleft,
footnoterule=automatic,
- abjadvariant=two
+ abjadvariant=two,
+ DetectColumn=off
}
\ProcessOptionsX