diff options
author | Karl Berry <karl@freefriends.org> | 2018-10-07 21:08:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-10-07 21:08:27 +0000 |
commit | 7b61510c53b104577fa7804435895594da6bd884 (patch) | |
tree | 5d6b8bbaf546b0de95adfe3880dfd075a8581058 /Master/texmf-dist/tex/xelatex/bidi/bidi.sty | |
parent | 88e78a3dbb44de879dd8b875991f337d6994fc1c (diff) |
bidi (7oct18)
git-svn-id: svn://tug.org/texlive/trunk@48852 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/bidi.sty')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/bidi/bidi.sty | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidi.sty b/Master/texmf-dist/tex/xelatex/bidi/bidi.sty index 56de61fe27b..b9f3d695d1f 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{50675} +%% \CheckSum{49977} %% \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/10/04} -\def\bidi@version{34.4} +\def\bididate{2018/10/08} +\def\bidi@version{34.6} \ProvidesPackage{bidi}[\bididate\space v\bidi@version\space Bidirectional typesetting in plain TeX and LaTeX] \edef\@bidi@info{****************************************************^^J% @@ -100,6 +100,7 @@ Bidirectional typesetting in plain TeX and LaTeX] \newcommand*{\setnonlatin}{\@nonlatintrue} \eqnewif{\if@RTLtab}{\if@tab@rl} \newif\if@hboxRconstruct +\newif\if@bidi@pdfencrypt \newcommand*{\setRTLtable}{\@RTLtabtrue} \newcommand*{\setLTRtable}{\@RTLtabfalse} \newif\if@bidi@pdfm@mark @@ -108,7 +109,6 @@ Bidirectional typesetting in plain TeX and LaTeX] \newif\if@LTRbibitems \newif\if@RTLbibitems \newif\if@extrafootnotefeatures -\newif\if@parafootRTL \newif\if@RTLcolumnfootnotes \eqnewif{\if@RTL@footnote}{\if@rl@footnote} \newif\if@bidi@list@minipage@parbox @@ -121,7 +121,7 @@ Bidirectional typesetting in plain TeX and LaTeX] } \newcommand*{\@bidi@pdfcustomproperties}{% This is the bidi package, Version \bidi@version, - Released October 1, 2018. + Released October 8, 2018. } \@RTLmainfalse \AtBeginDocument{% @@ -321,12 +321,23 @@ Bidirectional typesetting in plain TeX and LaTeX] \RequirePackage{bidi-perpage}% \ResetCounterPerPage{footnote}% \fi - \special{pdf:encrypt - userpw (\bidi@pdfencrypt@userpassword) - ownerpw (\bidi@pdfencrypt@ownerpassword) - length \bidi@pdfencrypt@keylength - perm \bidi@pdfencrypt@permissionflags - }% + \ifx\bidi@pdfencrypt@ownerpassword\bidi@empty + \ifx\bidi@pdfencrypt@userpassword\bidi@empty + \@bidi@pdfencryptfalse + \else + \@bidi@pdfencrypttrue + \fi + \else + \@bidi@pdfencrypttrue + \fi + \if@bidi@pdfencrypt + \special{pdf:encrypt + userpw (\bidi@pdfencrypt@userpassword) + ownerpw (\bidi@pdfencrypt@ownerpassword) + length \bidi@pdfencrypt@keylength + perm \bidi@pdfencrypt@permissionflags + }% + \fi } \AtEndDocument{% \special{pdf:% |