diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/wrapfig-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/bidi/wrapfig-bidi.def | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/wrapfig-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/wrapfig-bidi.def index 8ee58c0a467..37513381c86 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/wrapfig-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/wrapfig-bidi.def @@ -1,17 +1,14 @@ %% %% This is file `wrapfig-bidi.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% bidi.dtx (with options: `wrapfig-bidi.def') + %% %% __________________________________ -%% Copyright © 2009 Vafa Khalighi +%% Copyright © 2009-2010 Vafa Khalighi %% %% License information appended. %% %% +\ProvidesFile{wrapfig-bidi.def}[2010/03/01 v0.2 adaptations for wrapfig package] \let\WF@@everypar\n@everypar \def\WF@putfigmaybe{% \ifinner @@ -19,7 +16,7 @@ \let\pagetotal\maxdimen % kludge flag for "not top of page" \else % outer page \@tempdima\pagedepth % save page depth - {\advance\parskip\if@RTL\@tempdimb\else\@tempdima\fi\vskip-\parskip}% back up to baseline + {\advance\parskip\if@RTL\baselineskip\else\@tempdima\fi\vskip-\parskip}% back up to baseline \penalty\interlinepenalty % update pg. parameters \@tempdimb\pagegoal \advance\@tempdimb-\pagetotal % room left on page \ifdim\@tempdimb<\z@ % \WF@info{Page overfull already;}% @@ -88,7 +85,7 @@ \aftergroup\WF@startwrapping % after the \endgroup which immediately follows \fi} %% -%% Copyright © 2009 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2009-2010 by Vafa Khalighi <vafa@users.berlios.de> %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of |