summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-04-01 23:23:06 +0000
committerKarl Berry <karl@freefriends.org>2015-04-01 23:23:06 +0000
commit8a6a89033f9244813709b559c59962c6208b4286 (patch)
tree39bb907c5b78ed23bac8eab9ed03be54bc138791 /Master/texmf-dist
parent80a7fe00c064153e0b219f08bb590fdca4a6f3d1 (diff)
wrapfig for ooffice, tex4ht r146
git-svn-id: svn://tug.org/texlive/trunk@36701 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht29
1 files changed, 27 insertions, 2 deletions
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{<text:p><text:span text:class-name="wrapfig-\WFplace">}%
+ \def\endWrap{\ifvmode\IgnorePar\fi\EndP\HCode{</text:span></text:p>}\par}%
+ \else
+ \HCode{<text:span text:class-name="wrapfig-\WFplace">}\bgroup
+ \def\endWrap{\egroup\HCode{</text:span>}}%
+ \fi
+ }
+ {\endWrap}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%