diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht | 80 |
1 files changed, 57 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht b/Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht index 40a86539baa..544f5b3afdb 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% ooffice-mml.4ht 2006-12-04-15:27 % -% Copyright (C) 2001--2006 Maarten Wisse % +% ooffice-mml.4ht 2007-01-08-11:02 % +% Copyright (C) 2001--2007 Maarten Wisse % % James Naughton % % Eitan M. Gurari % % % @@ -31,7 +31,7 @@ % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2006-12-04-15:27} +\immediate\write-1{version 2007-01-08-11:02} \exit:ifnot{Preamble,% amsmath,% array,% @@ -70,7 +70,7 @@ tex4ht} .4om}% \bgroup \HCode{<draw:object\Hnewline - draw:style-name="f1" + draw:style-name="mml-inline" draw:name="mobj-\math:obj" draw:z-index="0" text:anchor-type="as-char" @@ -130,7 +130,7 @@ tex4ht} <!-- \jobname-m\math:obj \space by TeX4ht from \jobname.tex line \the\inputlineno\space - 2006-12-04-15:27\Hnewline + 2007-01-08-11:02\Hnewline (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) -->\Hnewline }% @@ -149,7 +149,7 @@ tex4ht} <!-- \jobname-m\math:obj \space by TeX4ht from \jobname.tex line \the\inputlineno\space - 2006-12-04-15:27\Hnewline + 2007-01-08-11:02\Hnewline (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) -->\Hnewline }% @@ -198,7 +198,7 @@ tex4ht} \bgroup \HCode{\ifCenteredFrame <draw:frame - draw:style-name="df1" + draw:style-name="mml-display" draw:name="mobj-\math:obj"\Hnewline text:anchor-type="paragraph" draw:z-index="0">% @@ -211,7 +211,7 @@ tex4ht} </draw:frame>% \else <draw:frame - draw:style-name="f1" + draw:style-name="mml-inline" draw:name="mobj-\math:obj"\Hnewline text:anchor-type="as-char" draw:z-index="0">% @@ -274,7 +274,7 @@ tex4ht} <!-- \jobname-m\math:obj \space by TeX4ht from \jobname.tex line \the\inputlineno\space - 2006-12-04-15:27\Hnewline + 2007-01-08-11:02\Hnewline (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) -->\Hnewline }% @@ -293,7 +293,7 @@ tex4ht} <!-- \jobname-m\math:obj \space by TeX4ht from \jobname.tex line \the\inputlineno\space - 2006-12-04-15:27\Hnewline + 2007-01-08-11:02\Hnewline (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) -->\Hnewline }% @@ -377,7 +377,7 @@ tex4ht} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \:CheckOption{oo1}\if:Option \OOstyles{\Hnewline - <style:style style:name="f1" + <style:style style:name="mml-inline" style:family="graphic" style:parent-style-name="Formula" >\Hnewline @@ -387,7 +387,7 @@ tex4ht} \else \OOstyles{\Hnewline - <style:style style:name="f1" + <style:style style:name="mml-inline" style:family="graphic" style:parent-style-name="Formula" >\Hnewline @@ -396,13 +396,13 @@ tex4ht} style:vertical-rel="text"/>\Hnewline </style:style>\Hnewline} \OOstyles{\Hnewline - <style:style style:name="df1" + <style:style style:name="mml-display" style:family="graphic" style:parent-style-name="Formula"> <style:graphic-properties style:wrap="none" - style:vertical-pos="middle" - style:vertical-rel="paragraph-content" +% style:vertical-pos="middle" +% style:vertical-rel="paragraph-content" style:horizontal-pos="center" style:horizontal-rel="paragraph-content" fo:background-color="transparent" @@ -579,17 +579,17 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% {} {\HCode{<\a:mathml mrow>\expandafter \ifx \csname \string#1:lr del\endcsname\relax - <\a:mathml mo form="prefix">#1</\a:mathml mo\space>\else + <\a:mathml mo form="prefix" >#1</\a:mathml mo\space>\else \expandafter\ifx \csname \string#1:lr del\endcsname\empty \else - <\a:mathml mo form="prefix">\csname + <\a:mathml mo form="prefix" >\csname \string#1:lr del\endcsname</\a:mathml mo>\fi \fi<\a:mathml mrow>}} \Configure{right} {\HCode{</\a:mathml mrow>\expandafter \ifx \csname \string#1:lr del\endcsname\relax - <\a:mathml mo form="postfix">#1</\a:mathml mo>\else + <\a:mathml mo form="postfix" >#1</\a:mathml mo>\else \expandafter\ifx \csname \string#1:lr del\endcsname\empty \else - <\a:mathml mo form="postfix">\csname + <\a:mathml mo form="postfix" >\csname \string#1:lr del\endcsname</\a:mathml mo>\fi \fi }} @@ -679,6 +679,34 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \HCode{</text:p>}% % \IgnoreIndent\par} +\ConfigureEnv{align} + {\ifmathml\else + \ifvmode \IgnorePar\fi \EndP + \IgnorePar + \HCode{<text:p text:style-name="display-math">}% + \fi + } + {\ifmathml\else + \ifvmode \IgnorePar\fi\EndP + \HCode{</text:p>}% + \IgnoreIndent\par + \fi + } + {} {} +\ConfigureEnv{align*} + {\ifmathml\else + \ifvmode \IgnorePar\fi \EndP + \IgnorePar + \HCode{<text:p text:style-name="display-math">}% + \fi + } + {\ifmathml\else + \ifvmode \IgnorePar\fi\EndP + \HCode{</text:p>}% + \IgnoreIndent\par + \fi + } + {} {} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -701,17 +729,17 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% {} {\HCode{<\a:mathml mrow>\expandafter \ifx \csname \string#1:lr del\endcsname\relax - <\a:mathml mo form="prefix">#1</\a:mathml mo\space>\else + <\a:mathml mo form="prefix" >#1</\a:mathml mo\space>\else \expandafter\ifx \csname \string#1:lr del\endcsname\empty \else - <\a:mathml mo form="prefix">\csname + <\a:mathml mo form="prefix" >\csname \string#1:lr del\endcsname</\a:mathml mo>\fi \fi<\a:mathml mrow>}} \Configure{right} {\HCode{</\a:mathml mrow>\expandafter \ifx \csname \string#1:lr del\endcsname\relax - <\a:mathml mo form="postfix">#1</\a:mathml mo>\else + <\a:mathml mo form="postfix" >#1</\a:mathml mo>\else \expandafter\ifx \csname \string#1:lr del\endcsname\empty \else - <\a:mathml mo form="postfix">\csname + <\a:mathml mo form="postfix" >\csname \string#1:lr del\endcsname</\a:mathml mo>\fi \fi }} @@ -811,6 +839,8 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{rlbabel} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1059,5 +1089,9 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + + + \endinput |