\Configure{htf}{0}{+}{<text:span\Hnewline
text:style-name="}{\%s}{-\%s}{x-x-\%d}{}{">}{</text:span>}
\Configure{htf}{4}{+}{<text:span\Hnewline
text:style-name="}{}{}{}{}{small-caps">}{</text:span>}
-_-_-
\NewConfigureOO{small-caps}
\ConfigureOO{small-caps}{%
<style:style style:name="small-caps" style:family="text">\Hnewline
<style:text-properties
fo:font-variant="small-caps"
/>\Hnewline
</style:style>\Hnewline
}
-_-_-
\ifx \find:set:mgroup\:UnDef
\def\find:set:mgroup#1#2#3{\bgroup
\let\HPage\:gobble
\let\EndHPage\:gobble
\def\use@mathgroup##1##2##3{\relax
\tmp:cnt=##2%
\xdef\:temp####1{\noexpand\Configure{MathClass}{#2}%
{}{}{}{\mathchar"0\the\tmp:cnt ####1}}%
}%
\setbox\tmp:bx=\hbox{$#1$}\setbox\tmp:bx=\hbox{}%
\set:mgroup#3{}{}%
\egroup
}
\fi
-_-_-
\Configure{texttt}
{\ifmathml \Configure{@mtext}{\mml:class="texttt" mathvariant="monospace" }%
\else \HCode{<text:span text:style-name="texttt" >}\fi}
{\ifmathml\else \HCode{</text:span>}\fi}
\Configure{textit}
{\ifmathml \Configure{@mtext}{\mml:class="textit" mathvariant="italic" }%
\else \HCode{<text:span text:style-name="textit" >}\fi}
{\ifmathml\else \HCode{</text:span>}\fi}
\Configure{textrm}
{\ifmathml \Configure{@mtext}{ \mml:class="textrm" mathvariant="normal" }%
\else \HCode{<text:span text:style-name="textrm" >}\fi}
{\ifmathml\else \HCode{</text:span>}\fi}
\Configure{textsl}
{\ifmathml \Configure{@mtext}{ \mml:class="textst" mathvariant="italic" }%
\else \HCode{<text:span text:style-name="textsl" >}\fi}
{\ifmathml\else \HCode{</text:span>}\fi}
\Configure{textsf}
{\ifmathml \Configure{@mtext}{ \mml:class="textsf" mathvariant="sans-serif" }%
\else \HCode{<text:span text:style-name="textsf" >}\fi}
{\ifmathml\else \HCode{</text:span>}\fi}
\Configure{textbf}
{\ifmathml \Configure{@mtext}{ \mml:class="textbf" mathvariant="bold" }%
\else \HCode{<text:span text:style-name="textbf" >}\fi}
{\ifmathml\else \HCode{</text:span>}\fi}
\Configure{textsc}
{\ifmathml \Configure{@mtext}{ \mml:class="textsc" mathvariant="normal" }%
\else \HCode{<text:span text:style-name="textsc" >}\fi}
{\ifmathml\else \HCode{</text:span>}\fi}
\Configure{emph}
{\ifmathml \Configure{@mtext}{ \mml:class="emph" mathvariant="italic" }%
\else \HCode{<text:span text:style-name="Emphasis" >}\fi}
{\ifmathml\else \HCode{</text:span>}\fi}
\Configure{textup}
{\ifmathml \Configure{@mtext}{ \mml:class="textup" mathvariant="normal" }%
\else \HCode{<text:span text:style-name="textup" >}\fi}
{\ifmathml\else \HCode{</text:span>}\fi}
-_-_-
<style:style style:name="textsf" style:family="text">\Hnewline
<style:text-properties fo:font-style="normal"
fo:font-weight="bold"
style:font-family-generic="swiss"
style:font-pitch="variable" />\Hnewline
</style:style>\Hnewline
-_-_-
<style:style style:name="Emphasis" style:family="text">\Hnewline
<style:text-properties fo:font-style="italic"/>\Hnewline
</style:style>\Hnewline
-_-_-
<style:style style:name="textit" style:family="text">\Hnewline
<style:text-properties fo:font-style="italic"/>\Hnewline
</style:style>\Hnewline
-_-_-
<style:style style:name="textrm" style:family="text">\Hnewline
<style:text-properties fo:font-weight="normal"
style:font-weight-asian="normal"
style:font-weight-complex="normal"/>\Hnewline
</style:style>\Hnewline
-_-_-
<style:style style:name="textsl" style:family="text">\Hnewline
<style:text-properties fo:font-style="italic"/>\Hnewline
</style:style>\Hnewline
-_-_-
<style:style style:name="textbf" style:family="text">\Hnewline
<style:text-properties fo:font-style="normal"
fo:font-weight="bold"/>\Hnewline
</style:style>\Hnewline
-_-_-
<style:style style:name="textsc" style:family="text">\Hnewline
<style:text-properties
fo:font-variant="small-caps"
fo:font-style="normal"
fo:font-weight="normal"
% fo:font-size="75\%"
style:text-position="0\% 100\%"
/>\Hnewline
</style:style>\Hnewline
-_-_-
<style:style style:name="texttt" style:family="text">\Hnewline
<style:text-properties
fo:font-family="monospace"
/>\Hnewline
</style:style>\Hnewline
-_-_-
<style:style style:name="textup" style:family="text">\Hnewline
<style:text-properties fo:font-weight="normal"
style:font-weight-asian="normal"
style:font-weight-complex="normal"/>\Hnewline
</style:style>\Hnewline
-_-_-