diff options
author | Karl Berry <karl@freefriends.org> | 2015-08-23 21:44:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-08-23 21:44:21 +0000 |
commit | abded096f6469c4cb80a8b43502905a34911caf4 (patch) | |
tree | 6427f4f657cb3bb2b750213077f0523de4034956 /Master/texmf-dist/source/xelatex/bidi | |
parent | dbcc1b42d78a7ae2c5a1f634972e5b2f4e37876f (diff) |
bidi (23aug15)
git-svn-id: svn://tug.org/texlive/trunk@38190 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex/bidi')
-rw-r--r-- | Master/texmf-dist/source/xelatex/bidi/bidi.dtx | 37 |
1 files changed, 25 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/xelatex/bidi/bidi.dtx b/Master/texmf-dist/source/xelatex/bidi/bidi.dtx index d94b0380898..24e941927bf 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.5 +v17.6 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/07/04 +Current version release date: 2015/08/23 ___________________ 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.5}} +%\large Documentation for \textcolor{blue!65!black}{version 17.6}} % \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.5}} +%Documentation for \textcolor{blue!65!black}{version 17.6}} % %\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/07/04, v17.5 +%* 2015/08/23, v17.6 %* %* License: LaTeX Project Public License, version %* 1.3c or higher (your choice) @@ -1138,7 +1138,7 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{44602} +%% \CheckSum{44630} %% \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/07/04} -\def\bidiversion{v17.5} +\def\bididate{2015/08/23} +\def\bidiversion{v17.6} \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/07/04} +\def\bididate{2015/08/23} \def\bidiversion{v0.2} \catcode`@=11 \let \protect \relax @@ -3713,9 +3713,9 @@ Bidirectional typesetting in plain TeX and LaTeX] {\let#2#3% \let#1#3}} \def\@bidi@removefromreset#1#2{{% - \expandafter\let\csname c@#1\endcsname\@removefromreset + \expandafter\let\csname c@#1\endcsname\@bidi@removefromreset \def\@elt##1{% - \expandafter\ifx\csname c@##1\endcsname\@removefromreset + \expandafter\ifx\csname c@##1\endcsname\@bidi@removefromreset \else \noexpand\@elt{##1}% \fi}% @@ -13242,7 +13242,7 @@ bidi implementation of tufte title] %\fi % \subsection{\textsf{listings-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{listings-xetex-bidi.def}[2015/04/25 v0.8 bidi adaptations for listings package for XeTeX engine] +\ProvidesFile{listings-xetex-bidi.def}[2015/08/23 v0.9 bidi adaptations for listings package for XeTeX engine] \lst@Key{captiondirection}{textdirection}{% \lstKV@SwitchCases{#1}% {textdirection&\\% @@ -13277,6 +13277,19 @@ bidi implementation of tufte title] \def\lst@makecaption{\@bidi@lst@makecaption} \def\lst@maketitle{\@bidi@lst@makecaption\lst@title@dropdelim} \bidi@patchcmd{\lst@MakeCaption}{% + \ifx #1t% + \ifx\lst@@caption\@empty\expandafter\lst@HRefStepCounter \else + \expandafter\refstepcounter + \fi {lstlisting}% +}{% + \ifx #1t% + \bidi@lst@ensure@caption@direction{\@RTLfalse}{\@RTLtrue}% + \ifx\lst@@caption\@empty\expandafter\lst@HRefStepCounter \else + \expandafter\refstepcounter + \fi {lstlisting}% + \bidi@lst@ensure@caption@direction{\@RTLtrue}{\@RTLfalse}% +}{}{} +\bidi@patchcmd{\lst@MakeCaption}{% \addcontentsline{lol}{lstlisting}% {\protect\numberline{\thelstlisting}\lst@@caption}% }{% |