summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-20 22:16:52 +0000
committerKarl Berry <karl@freefriends.org>2014-07-20 22:16:52 +0000
commit56cb8633dfea8b82bb642fefc2c98b065a6e967c (patch)
treef75af6ad0bf5d211e66cea29efce8734e659d603 /Master/texmf-dist/source/xelatex
parent7e1071b65645aae754644d12deb5d06777ada452 (diff)
bidi (20jul14)
git-svn-id: svn://tug.org/texlive/trunk@34675 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r--Master/texmf-dist/source/xelatex/bidi/bidi.dtx24
1 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
index 21c7355d015..cce906ae962 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
-v15.1
+v15.2
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -24,7 +24,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: 2014/07/18
+Current version release date: 2014/07/19
___________________
Vafa Khalighi
@@ -256,7 +256,7 @@ by Vafa Khalighi.
% Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
-% \date{\today\qquad Version 15.1}
+% \date{\today\qquad Version 15.2}
%\maketitle
%\vskip 0pt plus 3fill
%\fbox{%
@@ -296,7 +296,7 @@ by Vafa Khalighi.
%*
%* Copyright © 2009–2014 Vafa Khalighi
%*
-%* 2014/07/18, v15.1
+%* 2014/07/19, v15.2
%*
%* License: LaTeX Project Public License, version
%* 1.3c or higher (your choice)
@@ -1053,7 +1053,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{42046}
+%% \CheckSum{42052}
%% \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
@@ -2584,8 +2584,8 @@ by Vafa Khalighi.
% \subsection{\textsf{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2014/07/18}
-\def\bidiversion{v15.1}
+\def\bididate{2014/07/19}
+\def\bidiversion{v15.2}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\@bidi@info{****************************************************^^J%
@@ -2666,7 +2666,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
%\fi
% \subsection{\textsf{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2014/07/18}
+\def\bididate{2014/07/19}
\def\bidiversion{v0.2}
\catcode`@=11
\let \protect \relax
@@ -12129,7 +12129,7 @@ bidi implementation of tufte title]
%\fi
% \subsection{\textsf{listings-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{listings-xetex-bidi.def}[2014/07/18 v0.6 bidi adaptations for listings package for XeTeX engine]
+\ProvidesFile{listings-xetex-bidi.def}[2014/07/19 v0.6 bidi adaptations for listings package for XeTeX engine]
\lst@Key{captiondirection}{textdirection}{%
\lstKV@SwitchCases{#1}%
{textdirection&\\%
@@ -12149,7 +12149,11 @@ bidi implementation of tufte title]
\long\def\@bidi@lst@makecaption#1#2{%
\vskip\abovecaptionskip
\bidi@lst@ensure@caption@direction{\@RTLfalse}{\@RTLtrue}%
- \sbox\@tempboxa{#1: #2}%
+ \sbox\@tempboxa{%
+ \bidi@lst@ensure@caption@direction{\beginL}{\beginR}%
+ #1: #2%
+ \bidi@lst@ensure@caption@direction{\endL}{\endR}%
+ }%
\ifdim \wd\@tempboxa >\hsize
#1: #2\par
\else