summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/xelatex/bidi/bidi.dtx')
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi.dtx32
1 files changed, 21 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
index fe6ee29b823..5011830ad3a 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
-v20.2
+v20.3
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: 2016/10/11
+Current version release date: 2016/11/08
___________________
Vafa Khalighi
@@ -322,7 +322,7 @@ by Vafa Khalighi.
%\changes{v13.9}{2013/09/23}{Added implementaion of the package.}
% \title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\
%\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt]
-%\large Documentation for \textcolor{blue!65!black}{version 20.2}}
+%\large Documentation for \textcolor{blue!65!black}{version 20.3}}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
%\setcounter{page}{0}
@@ -333,7 +333,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
%
%\Large
-%Documentation for \textcolor{blue!65!black}{version 20.2}}
+%Documentation for \textcolor{blue!65!black}{version 20.3}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -384,7 +384,7 @@ by Vafa Khalighi.
%*
%* Copyright (c) 2009--2016 Vafa Khalighi
%*
-%* 2016/10/11, v20.2
+%* 2016/11/08, v20.3
%*
%* License: LaTeX Project Public License, version
%* 1.3c or higher (your choice)
@@ -1141,7 +1141,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{47525}
+%% \CheckSum{47539}
%% \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
@@ -2984,8 +2984,8 @@ by Vafa Khalighi.
% \subsection{\textsf{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2016/10/11}
-\def\bidiversion{v20.2}
+\def\bididate{2016/11/08}
+\def\bidiversion{v20.3}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -13823,7 +13823,7 @@ bidi implementation of tufte title]
%\fi
% \subsection{\textsf{listings-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{listings-xetex-bidi.def}[2016/10/11 v1.2 bidi adaptations for listings package for XeTeX engine]
+\ProvidesFile{listings-xetex-bidi.def}[2016/11/08 v1.3 bidi adaptations for listings package for XeTeX engine]
\lst@Key{captiondirection}{textdirection}{%
\lstKV@SwitchCases{#1}%
{textdirection&\\%
@@ -13898,6 +13898,16 @@ bidi implementation of tufte title]
}{}{}%
}
\@ifpackageloaded{caption}{%
+ \AtBeginCaption{%
+ \ifnum\bidi@lst@caption@script=\z@%
+ \@nonlatintrue%
+ \else%
+ \ifnum\bidi@lst@caption@script=\@ne%
+ \@nonlatinfalse%
+ \fi%
+ \fi%
+ \bidi@lst@ensure@caption@direction{\@RTLfalse}{\@RTLtrue}%
+}
\let\@bidi@lst@makecaption\caption@makecaption%
\def\lst@makecaption{\caption@starfalse\@bidi@lst@makecaption}%
\def\lst@maketitle{\caption@startrue\@bidi@lst@makecaption\@empty}%
@@ -20998,7 +21008,7 @@ to\rtside{\box\bslice\hfil}}
%\fi
% \subsection{\textsf{todonotes-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{todonotes-xetex-bidi.def}[2015/06/17 v0.3 bidi adaptations for todonotes package for XeTeX engine]
+\ProvidesFile{todonotes-xetex-bidi.def}[2016/11/08 v0.4 bidi adaptations for todonotes package for XeTeX engine]
\newif\if@bidi@todonotes@textdirection@RTL
\newif\if@bidi@todonotes@figposition@right
\newcommand{\@bidi@todonotes@align}{}%
@@ -21033,7 +21043,7 @@ to\rtside{\box\bslice\hfil}}
\draw node[inlinenotestyle] {};\end{tikzpicture}\par}%
\else%
{\par\noindent\begin{tikzpicture}[remember picture]%
- \if@bidi@todonotes@textdirection@RTL\else\setLTR\fi%
+ \if@bidi@todonotes@textdirection@RTL\setRTL\fi%
\draw node[inlinenotestyle,font=\@todonotes@sizecommand,align=\@bidi@todonotes@align]{%
\if@todonotes@authorgiven%
{\noindent \@todonotes@sizecommand \@todonotes@author:\,\@todonotes@text}%