summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-06-17 22:42:31 +0000
committerKarl Berry <karl@freefriends.org>2015-06-17 22:42:31 +0000
commitaf6defe8bd9abe395e03c8469ae4245e027e36d0 (patch)
treec7d5b2ebc9691175e94499f6a073c8f606fc9908 /Master/texmf-dist/source/xelatex
parent3bbdd3af65aaba1e1e9b25e12eed598c032ac9b8 (diff)
bidi (17jun15)
git-svn-id: svn://tug.org/texlive/trunk@37590 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi.dtx42
1 files changed, 32 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
index 9a6c923b5a6..f252cf91a1f 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
-v17.2
+v17.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: 2015/04/30
+Current version release date: 2015/06/17
___________________
Vafa Khalighi
@@ -319,7 +319,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 17.2}}
+%\large Documentation for \textcolor{blue!65!black}{version 17.3}}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
%\setcounter{page}{0}
@@ -330,7 +330,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
%
%\Large
-%Documentation for \textcolor{blue!65!black}{version 17.2}}
+%Documentation for \textcolor{blue!65!black}{version 17.3}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -381,7 +381,7 @@ by Vafa Khalighi.
%*
%* Copyright (c) 2009--2015 Vafa Khalighi
%*
-%* 2015/04/30, v17.2
+%* 2015/06/17, v17.3
%*
%* License: LaTeX Project Public License, version
%* 1.3c or higher (your choice)
@@ -1138,7 +1138,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{44326}
+%% \CheckSum{44377}
%% \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
@@ -2760,8 +2760,8 @@ by Vafa Khalighi.
% \subsection{\textsf{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2015/04/30}
-\def\bidiversion{v17.2}
+\def\bididate{2015/06/17}
+\def\bidiversion{v17.3}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -2883,7 +2883,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
%\fi
% \subsection{\textsf{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2015/04/30}
+\def\bididate{2015/06/17}
\def\bidiversion{v0.2}
\catcode`@=11
\let \protect \relax
@@ -18655,7 +18655,7 @@ to\rtside{\box\bslice\hfil}}
%\fi
% \subsection{\textsf{todonotes-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{todonotes-xetex-bidi.def}[2014/11/23 v0.2 bidi adaptations for todonotes package for XeTeX engine]
+\ProvidesFile{todonotes-xetex-bidi.def}[2015/06/17 v0.3 bidi adaptations for todonotes package for XeTeX engine]
\newif\if@bidi@todonotes@textdirection@RTL
\newif\if@bidi@todonotes@figposition@right
\newcommand{\@bidi@todonotes@align}{}%
@@ -18677,6 +18677,28 @@ to\rtside{\box\bslice\hfil}}
\fi}
\if@todonotes@disabled%
\else % \if@todonotes@disabled
+\renewcommand{\@todonotes@drawInlineNote}{%
+ \if@todonotes@dviStyle%
+ {\par\noindent\begin{tikzpicture}[remember picture]%
+ \draw node[inlinenotestyle] {};\end{tikzpicture}\par}%
+ \if@todonotes@authorgiven%
+ {\noindent \@todonotes@sizecommand \@todonotes@author:\,\@todonotes@text}%
+ \else%
+ {\noindent \@todonotes@sizecommand \@todonotes@text}%
+ \fi
+ {\par\noindent\begin{tikzpicture}[remember picture]%
+ \draw node[inlinenotestyle] {};\end{tikzpicture}\par}%
+ \else%
+ {\par\noindent\begin{bidi@tikzpicture}[remember picture]%
+ \if@bidi@todonotes@textdirection@RTL\else\setLTR\fi%
+ \draw node[inlinenotestyle,font=\@todonotes@sizecommand,align=\@bidi@todonotes@align]{%
+ \if@todonotes@authorgiven%
+ {\noindent \@todonotes@sizecommand \@todonotes@author:\,\@todonotes@text}%
+ \else%
+ {\noindent \@todonotes@sizecommand \@todonotes@text}%
+ \fi};%
+ \end{bidi@tikzpicture}\par}%
+ \fi}%
\renewcommand{\@todonotes@drawMarginNoteWithLine}{%
\begin{bidi@tikzpicture}[remember picture, overlay, baseline=-0.75ex]%
\node [coordinate] (inText) {};%