1.2.6 MathML

<..oo2 inline mathml object..>
 <draw:frame
          draw:style-name="mml-inline"
          draw:name="mobj-\math:obj"\Hnewline
          text:anchor-type="as-char"
          draw:z-index="0"
      >%
    <draw:object\Hnewline
       xlink:href="./<.math obj name.>"\Hnewline
       xlink:type="simple"
       xlink:show="embed"
       xlink:actuate="onLoad"
     />%
 </draw:frame>%
-_-_-

<..oo2 display mathml object..>
 <draw:frame
          draw:style-name="mml-display"
          draw:name="mobj-\math:obj"\Hnewline
 \ifTab\else         text:anchor-type="paragraph"       \fi
          draw:z-index="0"
      >%
    <draw:object\Hnewline
       xlink:href="./<.math obj name.>"\Hnewline
       xlink:type="simple"
       xlink:show="embed"
       xlink:actuate="onLoad"
     />%
 </draw:frame>%
-_-_-

<..configure ooffice-mml latex..>
    <.oo2 mml latex.>
-_-_-

<..oo2 mml latex..>
 \OOstyles{\Hnewline
   <style:style style:name="mml-inline"
                style:family="graphic"
                style:parent-style-name="Formula"
   >\Hnewline
      <style:graphic-properties
                style:vertical-pos="middle"
                style:vertical-rel="text"/>\Hnewline
   </style:style>\Hnewline}
-_-_-

<..oo2 mml latex..>+
 \OOstyles{\Hnewline
     <style:style style:name="mml-display"
                 style:family="graphic"
                 style:parent-style-name="Formula">
     <style:graphic-properties
                 style:wrap="none"
 %                style:vertical-pos="center"
 %                style:vertical-rel="paragraph-content"
                 style:horizontal-pos="center"
                 style:horizontal-rel="paragraph-content"
                 fo:background-color="transparent"
                 style:background-transparency="100\%"
                 fo:margin-left="5\%"
       >
       </style:graphic-properties>
     </style:style>\Hnewline
 }
-_-_-

<..configure ooffice-mml latex..>+
 \OOstyles{\Hnewline
    <style:style style:name="Formula"
                 style:family="graphic">
       <style:graphic-properties
                 text:anchor-type="as-char"
                 svg:y="0in"
                 fo:margin-left="0.1mm"
                 fo:margin-right="0.1mm"
                 style:vertical-pos="middle"
                 style:vertical-rel="text"
                  />
     </style:style>\Hnewline
 }
-_-_-

<..utilities..>+
 \newif\ifCenteredFrame
-_-_-

<..oo2 start math obj..>
 \gHAdvance\math:obj by 1
 \NextFile{<.math obj name.>.4om}%
 \bgroup
     \HCode{\ifCenteredFrame
        <.oo2 display mathml object.>\else
        <.oo2 inline mathml object.>\fi
     }%
     \OOmanifest{<.math obj manifest.>}%
     <.config mathml object file.>%
     <.sv dvimath par.>\IgnorePar
     \HPage{}%
-_-_-

<..end math obj..>
 \EndHPage{}<.recall dvimath par.>\egroup
-_-_-

<..configure ooffice-mml tex4ht..>+
 <.oo2 mml tex4ht.>
-_-_-

<..oo2 mml tex4ht..>
 \HAssign\math:obj=0
 \Configure{DviMath}
     {\a:DviMathML \mathmltrue
        \ifOption{mml-fonts}{}{\mml:htfsym\NoFonts}%
        \HCode{<.input line num.>}\IgnoreRule
        <.oo2 start math obj.>\Tg<\a:mathml math\Hnewline
            \csname a:math-xmlns\endcsname \Hnewline
        >\a:math
     }
     {\Tg</\a:mathml math>%
      <.end math obj.>\EndIgnoreRule
      \ifOption{mml-fonts}{}{\ext:htfsym\EndNoFonts}%
      \mathmlfalse \b:DviMathML }
-_-_-

<..config mathml object file..>
 \Configure{DOCTYPE}{<.oo2 mml doctype.>}%
 <.oo math xtpipes.>%
 \Configure{HTML}{}{\noindent}%
 \Configure{BODY}{}{}%
-_-_-

<..oo2 mml doctype..>
 \HCode{<!DOCTYPE \a:mathml math PUBLIC
     "-//W3C//DTD MathML 2.0//<.dtd lang.>"
     "math.dtd">\Hnewline}
-_-_-

<..oo math xtpipes..>
 \:CheckOption{-xtpipes} \if:Option
    \Log:Note{Use the ‘-xtpipes’ command line option to
              avoid xtpipes post processing}
 \else
       \Configure{DOCTYPE}{%%
           <.oo2 mml doctype.>%
           \HCode{<.tex4ht math note.>}%
       }%
 \fi
-_-_-

<..tex4ht math note..>
 <?xtpipes file="oo-math.4xt" ?>\Hnewline
 <!-- <.math obj name.>\space
      by TeX4ht from \jobname.tex line \the\inputlineno\space
      2014-05-24-22:41\Hnewline
      (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/)
       -->\Hnewline
-_-_-

<..recall dvimath par..>
 \sv:ignore
-_-_-

<..sv dvimath par..>
 \edef\sv:ignore{\if:nopar
     \noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
-_-_-

<..math obj name..>
 \jobname-m\math:obj
-_-_-