summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex/bidi
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/xelatex/bidi')
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx2
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx4
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx2
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi.dtx68
4 files changed, 61 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx
index 4616951e701..e96ee4e60ea 100644
--- a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx
+++ b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx
@@ -19,7 +19,7 @@ If you use \textsf{bidi} package to write any input \TeX\ document, and then run
*
* Copyright (c) 2009--2018 Vafa Khalighi
*
-* v32.3, 2018/01/21
+* v32.4, 2018/01/23
*
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx
index e170976c10f..0e5fcfacf98 100644
--- a/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx
+++ b/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx
@@ -3,7 +3,7 @@
\begin{document}
\title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\
\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt]
-\large User documentation for \textcolor{blue!65!black}{version 32.3}}
+\large User documentation for \textcolor{blue!65!black}{version 32.4}}
\author{Vafa Khalighi\\
\url{persian-tex@tug.org}}
\setcounter{page}{0}
@@ -14,7 +14,7 @@
\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
\Large
-User documentation for \textcolor{blue!65!black}{version 32.3}}
+User documentation for \textcolor{blue!65!black}{version 32.4}}
\vskip 0pt plus 3fill
\textit{\large to my Master, \textbf{Ferdowsi The Great}}
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx b/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx
index 5cad66730f0..0fa8474d812 100644
--- a/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx
+++ b/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx
@@ -1,7 +1,7 @@
\documentclass{ltxdoc}
\input{bidi-doc-preamble.ltx}
\hypersetup{%
- pdftitle={User documentation for version 32.3 of the bidi
+ pdftitle={User documentation for version 32.4 of the bidi
package}%
}
\begin{document}
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
index 285f7678bd7..189dd101021 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
-v32.3
+v32.4
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -25,7 +25,7 @@ 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: 2018/01/21
+Current version release date: 2018/01/23
___________________
Vafa Khalighi
@@ -221,7 +221,7 @@ by Vafa Khalighi.
\documentclass{ltxdoc}
\input{bidi-doc-preamble.ltx}
\hypersetup{%
- pdftitle={Source documentation for version 32.3 of the bidi
+ pdftitle={Source documentation for version 32.4 of the bidi
package}%
}
\EnableCrossrefs
@@ -240,7 +240,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 32.3}}
+%\large Source documentation for \textcolor{blue!65!black}{version 32.4}}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
%\setcounter{page}{0}
@@ -251,7 +251,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
%
%\Large
-%Source documentation for \textcolor{blue!65!black}{version 32.3}}
+%Source documentation for \textcolor{blue!65!black}{version 32.4}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -289,7 +289,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{49514}
+%% \CheckSum{49572}
%% \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
@@ -1912,8 +1912,8 @@ by Vafa Khalighi.
% \section{File \texttt{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2018/01/21}
-\def\bidi@version{32.3}
+\def\bididate{2018/01/23}
+\def\bidi@version{32.4}
\ProvidesPackage{bidi}[\bididate\space v\bidi@version\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -1978,6 +1978,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
\newif\if@hboxRconstruct
\newcommand*{\setRTLtable}{\@RTLtabtrue}
\newcommand*{\setLTRtable}{\@RTLtabfalse}
+\newif\if@bidi@pdfm@mark
\newif\if@RTLmarginpar
\newif\if@LTRmarginpar
\newif\if@LTRbibitems
@@ -1988,6 +1989,12 @@ Bidirectional typesetting in plain TeX and LaTeX]
\eqnewif{\if@RTL@footnote}{\if@rl@footnote}
\newif\if@bidi@list@minipage@parbox
\newif\if@bidi@list@minipage@parbox@not@nob
+\newcommand*{\@bidi@pdfcreator}{%
+ The bidi package, v\bidi@version, \bididate
+}
+\newcommand*{\@bidi@pdfproducer}{%
+ The bidi package, v\bidi@version, \bididate
+}
\@RTLmainfalse
\AtBeginDocument{%
\if@RTLmain\else
@@ -2100,9 +2107,17 @@ Bidirectional typesetting in plain TeX and LaTeX]
\let\@bidi@logo@\@empty \let\@bidi@inslogo@\@empty
\fi}
+\define@choicekey{bidi.sty}{pdfinfo}[\bidi@tempa\bidi@tempb]{on,off}[on]{%
+ \ifcase\bidi@tempb\relax
+ \@bidi@pdfm@marktrue
+ \or
+ \@bidi@pdfm@markfalse
+ \fi}
+
\ExecuteOptionsX{%
DetectColumn=off,%
- logo=on%
+ logo=on,%
+ pdfinfo=on%
}
\ProcessOptionsX
@@ -2120,6 +2135,16 @@ Bidirectional typesetting in plain TeX and LaTeX]
\bidi@digits=`\۰ \loop \XeTeXcharclass \bidi@digits \bidi@digits@charclass \ifnum\bidi@digits<`\۹ \advance\bidi@digits \@ne \repeat
\XeTeXinterchartoks \bidi@sepmark@charclass \bidi@digits@charclass = {\DigitsDotDashInterCharToks}
\newcommand*{\DigitsDotDashInterCharToks}{\if@nonlatin\char"200F \fi}
+\AtEndDocument{%
+ \if@bidi@pdfm@mark
+ \special{pdf:%
+ docinfo<<%
+ /Creator(\@bidi@pdfcreator)%
+ /Producer(\@bidi@pdfproducer)%
+ >>%
+ }%
+ \fi
+}
% \end{macrocode}
% \iffalse
%</bidi.sty>
@@ -2127,9 +2152,9 @@ Bidirectional typesetting in plain TeX and LaTeX]
%\fi
% \section{File \texttt{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2018/01/21}
+\def\bididate{2018/01/23}
\catcode`@=11
-\def\bidi@version{0.4}
+\def\bidi@version{32.4}
\let \protect \relax
\newlinechar`\^^J
\edef\@bidi@info{****************************************************^^J%
@@ -2169,6 +2194,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
}
\input iftex.sty
\RequireXeTeX
+\newif\if@bidi@pdfm@mark
\newif\if@RTLmain
\newif\if@RTL
\newif\if@hboxRconstruct
@@ -2203,9 +2229,29 @@ Bidirectional typesetting in plain TeX and LaTeX]
}
\def\@bidi@logo@{\@bidi@logo@hb@xt@\hsize{\hss\LRE{\bf Typeset by the bidi package}}}
\def\nobidilogo{\let\@bidi@logo@\@empty \let\@bidi@inslogo@\@empty}
+\def\@bidi@pdfcreator{%
+ The bidi package, v\bidi@version, \bididate
+}
+\def\@bidi@pdfproducer{%
+ The bidi package, v\bidi@version, \bididate
+}
+\def\bidi@pdfm@mark{%
+ \if@bidi@pdfm@mark
+ \special{pdf:%
+ docinfo<<%
+ /Creator(\@bidi@pdfcreator)%
+ /Producer(\@bidi@pdfproducer)%
+ >>%
+ }%
+ \fi
+}
+\def\bidipdfinfoon{\@bidi@pdfm@marktrue}
+\def\bidipdfinfooff{\@bidi@pdfm@markfalse}
\input plain-xetex-bidi.def
\@bidi@inslogo@
+\outer\def\bye{\par\vfill\supereject\bidi@pdfm@mark\end}
\catcode`@=12
+\bidipdfinfoon
% \end{macrocode}
% \iffalse
%</bidi.tex>