diff options
author | Karl Berry <karl@freefriends.org> | 2015-02-01 21:52:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-02-01 21:52:42 +0000 |
commit | 47244108b83398eff3efff73add22ba895645ddc (patch) | |
tree | 5067e672a45f7d5724e30c35121024c7adea95a2 /Master/texmf-dist/source | |
parent | 8f923948816b24e3c3f2449439dcce1c94888607 (diff) |
bidi (1feb15)
git-svn-id: svn://tug.org/texlive/trunk@36184 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/xelatex/bidi/bidi.dtx | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx index 031efea6a02..c1147fa74e5 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 -v16.5 +v16.6 This package provides a convenient interface for typesetting bidirectional texts in Plain TeX and LaTeX, using XeTeX engine. @@ -318,7 +318,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 16.5}} +%\large Documentation for \textcolor{blue!65!black}{version 16.6}} % \author{Vafa Khalighi\\ % \url{persian-tex@tug.org}} %\setcounter{page}{0} @@ -329,7 +329,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}} % %\Large -%Documentation for \textcolor{blue!65!black}{version 16.5}} +%Documentation for \textcolor{blue!65!black}{version 16.6}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -380,7 +380,7 @@ by Vafa Khalighi. %* %* Copyright (c) 2009--2015 Vafa Khalighi %* -%* 2015/02/01, v16.5 +%* 2015/02/01, v16.6 %* %* License: LaTeX Project Public License, version %* 1.3c or higher (your choice) @@ -1137,7 +1137,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{43241} +%% \CheckSum{43266} %% \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 @@ -2718,7 +2718,7 @@ by Vafa Khalighi. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \def\bididate{2015/02/01} -\def\bidiversion{v16.5} +\def\bidiversion{v16.6} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\@bidi@info{****************************************************^^J% @@ -12587,7 +12587,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{listings-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{listings-xetex-bidi.def}[2014/07/19 v0.6 bidi adaptations for listings package for XeTeX engine] +\ProvidesFile{listings-xetex-bidi.def}[2015/02/01 v0.7 bidi adaptations for listings package for XeTeX engine] \lst@Key{captiondirection}{textdirection}{% \lstKV@SwitchCases{#1}% {textdirection&\\% @@ -12621,6 +12621,22 @@ bidi implementation of tufte title] \vskip\belowcaptionskip}% \def\lst@makecaption{\@bidi@lst@makecaption} \def\lst@maketitle{\@bidi@lst@makecaption\lst@title@dropdelim} +\bidi@patchcmd{\lst@MakeCaption}{% + \addcontentsline{lol}{lstlisting}% + {\protect\numberline{\thelstlisting}\lst@@caption}% +}{% +\begingroup% +\ifnum\bidi@lst@caption@direction=\z@% + \@RTLfalse% +\else% + \ifnum\bidi@lst@caption@direction=\@ne% + \@RTLtrue% + \fi% +\fi% + \addcontentsline{lol}{lstlisting}% + {\protect\numberline{\thelstlisting}\lst@@caption}% +\endgroup% +}{}{} \AtBeginDocument{% \@ifundefined{captionlabelfalse}{}{% \def\lst@maketitle{\captionlabelfalse\@bidi@lst@makecaption\@empty}}% |