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.sty27
1 files changed, 19 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidi.sty b/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
index 529a5a812e5..fe888249996 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{50190}
+%% \CheckSum{50462}
%% \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/27}
-\def\bidi@version{33.9}
+\def\bididate{2018/09/29}
+\def\bidi@version{34.0}
\ProvidesPackage{bidi}[\bididate\space v\bidi@version\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -120,7 +120,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
}
\newcommand*{\@bidi@pdfcustomproperties}{%
This is the bidi package, Version \bidi@version,
- Released September 27, 2018.
+ Released September 29, 2018.
}
\@RTLmainfalse
\AtBeginDocument{%
@@ -142,11 +142,19 @@ Bidirectional typesetting in plain TeX and LaTeX]
\dimen\@bidi@copyins@=40pc
\count\@bidi@copyins@=1000
\newcommand*{\@bidi@inslogo@}{\insert\@bidi@copyins@{\@bidi@logo@}}
-\newcommand*{\@bidi@logo@hb@xt@}{%
+\newcommand*{\@bidi@logo@hb@xt@columnwidth}{%
\if@RTLmain
- \hboxR to
+ \if@twocolumn
+ \hboxR to \columnwidth
+ \else
+ \hboxR to \textwidth
+ \fi
\else
- \hboxL to
+ \if@twocolumn
+ \hboxL to \columnwidth
+ \else
+ \hboxL to \textwidth
+ \fi
\fi
}
\newcommand*{\@bidi@logo}[1]{%
@@ -165,7 +173,10 @@ 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}}}}
+\newcommand*{\@bidi@logo@}{%
+ \@bidi@logo@hb@xt@columnwidth
+ {\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}%
}