void InsetMathUnknown::metrics(MetricsInfo & mi, Dimension & dim) const
{
- mathed_string_dim(mi.base.font, name_, dim);
+ metricsStrRedBlack(mi, dim, name_);
docstring::const_reverse_iterator rit = name_.rbegin();
kerning_ = mathed_char_kerning(mi.base.font, *rit);
}
}
-void InsetMathUnknown::mathmlize(MathStream & os) const
+void InsetMathUnknown::mathmlize(MathStream &) const
{
- os << MTag("mi") << name_ << ETag("mi");
+ throw MathExportException();
+}
+
+
+void InsetMathUnknown::htmlize(HtmlStream &) const
+{
+ throw MathExportException();
}