summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-19 21:27:53 +0000
committerKarl Berry <karl@freefriends.org>2018-09-19 21:27:53 +0000
commit02f2500c3cc2cf8c4e00b1f5b1de6d9e3b3342b0 (patch)
tree7992c876b1cd5f791b1b4afbabb1743d358a12f7 /Master/texmf-dist/source/xelatex/bidi/bidi.dtx
parentc4cd2799fbf89ae70bc03fd56c85029fccff4226 (diff)
bidi (19sep18)
git-svn-id: svn://tug.org/texlive/trunk@48703 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex/bidi/bidi.dtx')
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi.dtx48
1 files changed, 37 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
index f06db14f4e6..cfddcae969f 100644
--- a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
+++ b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
@@ -5,7 +5,7 @@
%<*readme>
___________________
The bidi package
-v33.2
+v33.3
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -36,7 +36,7 @@ In doing so, please always explain your issue well enough, and always
include a minimal working example showing the issue.
-Current version release date: 2018/09/15
+Current version release date: 2018/09/19
___________________
Vafa Khalighi
@@ -233,7 +233,7 @@ by Vafa Khalighi.
\documentclass{ltxdoc}
\input{bidi-doc-preamble.ltx}
\hypersetup{%
- pdftitle={Source documentation for version 33.2 of the bidi
+ pdftitle={Source documentation for version 33.3 of the bidi
package}%
}
\EnableCrossrefs
@@ -252,7 +252,7 @@ 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 33.2}}
+%\large Source documentation for \textcolor{blue!65!black}{version 33.3}}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
%\setcounter{page}{0}
@@ -263,7 +263,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
%
%\Large
-%Source documentation for \textcolor{blue!65!black}{version 33.2}}
+%Source documentation for \textcolor{blue!65!black}{version 33.3}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -317,7 +317,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{49822}
+%% \CheckSum{49843}
%% \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
@@ -1940,8 +1940,8 @@ by Vafa Khalighi.
% \section{File \texttt{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2018/09/15}
-\def\bidi@version{33.2}
+\def\bididate{2018/09/19}
+\def\bidi@version{33.3}
\ProvidesPackage{bidi}[\bididate\space v\bidi@version\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -2025,7 +2025,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
}
\newcommand*{\@bidi@pdfcustomproperties}{%
This is the bidi package, Version \bidi@version,
- Released September 15, 2018.
+ Released October 1, 2018.
}
\@RTLmainfalse
\AtBeginDocument{%
@@ -2071,6 +2071,19 @@ Bidirectional typesetting in plain TeX and LaTeX]
\the\toks@
}
\newcommand*{\@bidi@logo@}{\@bidi@logo@hb@xt@\textwidth{\hss\LRE{\bfseries Typeset by the \textsf{bidi} package\quad\@bidi@logo{bidi-logo.pdf}}}}
+\define@key{bidi@pdfencrypt}{userpassword}[]{%
+ \def\bidi@pdfencrypt@userpassword{#1}%
+}
+\define@key{bidi@pdfencrypt}{ownerpassword}[]{%
+ \def\bidi@pdfencrypt@ownerpassword{#1}%
+}
+\define@key{bidi@pdfencrypt}{keylength}[128]{%
+ \def\bidi@pdfencrypt@keylength{#1}%
+}
+\define@key{bidi@pdfencrypt}{permissionflags}[2052]{%
+ \def\bidi@pdfencrypt@permissionflags{#1}%
+}
+\newcommand*{\pdfencryptsetup}{\setkeys{bidi@pdfencrypt}}
\input{latex-xetex-bidi.def}
\input{loadingorder-xetex-bidi.def}
\define@choicekey{bidi.sty}{RTLdocument}[\bidi@tempa\bidi@tempb]{on,off}[on]{%
@@ -2168,6 +2181,13 @@ Bidirectional typesetting in plain TeX and LaTeX]
\ProcessOptionsX
+\pdfencryptsetup{%
+ userpassword,%
+ ownerpassword,%
+ keylength,%
+ permissionflags%
+}
+
\if@extrafootnotefeatures
\input{extrafootnotefeatures-xetex-bidi.def}
\fi
@@ -2182,6 +2202,12 @@ Bidirectional typesetting in plain TeX and LaTeX]
\XeTeXinterchartoks \bidi@sepmark@charclass \bidi@digits@charclass = {\DigitsDotDashInterCharToks}
\newcommand*{\DigitsDotDashInterCharToks}{\if@nonlatin\char"200F \fi}
\AtEndDocument{%
+ \special{pdf:encrypt
+ userpw (\bidi@pdfencrypt@userpassword)
+ ownerpw (\bidi@pdfencrypt@ownerpassword)
+ length \bidi@pdfencrypt@keylength
+ perm \bidi@pdfencrypt@permissionflags
+ }%
\special{pdf:%
docinfo<<%
\if@bidi@pdfm@mark
@@ -2202,9 +2228,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
%\fi
% \section{File \texttt{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2018/09/15}
+\def\bididate{2018/09/19}
\catcode`@=11
-\def\bidi@version{33.2}
+\def\bidi@version{33.3}
\let \protect \relax
\newlinechar`\^^J
\edef\@bidi@info{****************************************************^^J%