From 8a6a89033f9244813709b559c59962c6208b4286 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 1 Apr 2015 23:23:06 +0000 Subject: wrapfig for ooffice, tex4ht r146 git-svn-id: svn://tug.org/texlive/trunk@36701 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht | 29 ++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/generic/tex4ht') diff --git a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht index 11c31abd0c7..f98e1738c81 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht @@ -1,4 +1,4 @@ -% ooffice.4ht (2015-02-15-10:26), generated from tex4ht-ooffice.tex +% ooffice.4ht (2015-04-01-16:18), generated from tex4ht-ooffice.tex % Copyright 2009-2015 TeX Users Group % Copyright 2001-2009 Maarten Wisse, James Naughton, Eitan M. Gurari % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2015-02-15-10:26} +\immediate\write-1{version 2015-04-01-16:18} \exit:ifnot{Preamble,% algorithmicx,% @@ -69,6 +69,7 @@ tabularx,% tex4ht,% ulem,% url,% +wrapfig,% xcolor} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8674,6 +8675,30 @@ Y{0178}\i{00EF}% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{wrapfig} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \pend:def\WFclear{% +\let\orig:par\par% +\def\par{\let\par\orig:par}% +}% +\append:def\WFclear{\let\par\orig:par} + +\Configure{wrapfloat} + {\ifvmode\IgnorePar\EndP + \HCode{}% + \def\endWrap{\ifvmode\IgnorePar\fi\EndP\HCode{}\par}% + \else + \HCode{}\bgroup + \def\endWrap{\egroup\HCode{}}% + \fi + } + {\endWrap} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- cgit v1.2.3