summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/bidi.sty')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/bidi.sty21
1 files changed, 16 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidi.sty b/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
index fe888249996..2d79e33acf5 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
+++ b/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{50462}
+%% \CheckSum{50625}
%% \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\bididate{2018/09/29}
-\def\bidi@version{34.0}
+\def\bididate{2018/10/01}
+\def\bidi@version{34.1}
\ProvidesPackage{bidi}[\bididate\space v\bidi@version\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -60,7 +60,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
* ^^J%
* Issue tracker: https://sourceforge.net/p/persian-tex-dist/tickets^^J%
* ^^J%
-* Support: https://lists.sourceforge.net/lists/listinfo/persian-tex-dist-discuss^^J%
+* Support: http://tug.org/mailman/listinfo/persiantex^^J%
* ^^J%
****************************************************}
\typeout{\@bidi@info}
@@ -95,6 +95,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
\eqnewif{\if@RTLmain}{\if@rlmain}
\eqnewif{\if@RTL}{\if@rl}
\newif\if@nonlatin
+\newif\if@bidi@perpage@footnote
\newcommand*{\setlatin}{\@nonlatinfalse}
\newcommand*{\setnonlatin}{\@nonlatintrue}
\eqnewif{\if@RTLtab}{\if@tab@rl}
@@ -120,7 +121,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
}
\newcommand*{\@bidi@pdfcustomproperties}{%
This is the bidi package, Version \bidi@version,
- Released September 29, 2018.
+ Released October 1, 2018.
}
\@RTLmainfalse
\AtBeginDocument{%
@@ -282,6 +283,13 @@ Bidirectional typesetting in plain TeX and LaTeX]
\@bidi@pdfm@markfalse
\fi}
+\define@choicekey{bidi.sty}{perpagefootnote}[\bidi@tempa\bidi@tempb]{on,off}[on]{%
+ \ifcase\bidi@tempb\relax
+ \@bidi@perpage@footnotetrue
+ \or
+ \@bidi@perpage@footnotefalse
+ \fi}
+
\ExecuteOptionsX{%
DetectColumn=off%
}
@@ -309,6 +317,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
\XeTeXinterchartoks \bidi@sepmark@charclass \bidi@digits@charclass = {\DigitsDotDashInterCharToks}
\newcommand*{\DigitsDotDashInterCharToks}{\if@nonlatin\char"200F \fi}
\bidi@AtEndPreamble{%
+ \if@bidi@perpage@footnote
+ \RequirePackage{bidi-perpagefootnote}%
+ \fi
\special{pdf:encrypt
userpw (\bidi@pdfencrypt@userpassword)
ownerpw (\bidi@pdfencrypt@ownerpassword)