void InsetMathExFunc::metrics(MetricsInfo & mi, Dimension & dim) const
{
- mathed_string_dim(mi.base.font, name_, dim);
+ metricsStrRedBlack(mi, dim, name_);
}
}
-void InsetMathExFunc::mathmlize(MathStream & os) const
+void InsetMathExFunc::mathmlize(MathMLStream & ms) const
{
- os << "<mi>" << name_ << "</mi><mo>⁡</mo>";
- os << cell(0);
+ ms << "<" << from_ascii(ms.namespacedTag("mi")) << ">"
+ << name_
+ << "</" << from_ascii(ms.namespacedTag("mi")) << ">"
+ << "<" << from_ascii(ms.namespacedTag("mo")) << ">"
+ << "⁡"
+ << "</" << from_ascii(ms.namespacedTag("mo")) << ">"
+ << cell(0);
+}
+
+
+void InsetMathExFunc::htmlize(HtmlStream & os) const
+{
+ os << name_ << cell(0);
}