]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExFunc.cpp
Provide proper fallback if a bibliography processor is not found
[lyx.git] / src / mathed / InsetMathExFunc.cpp
index 25c8dcbaf9b964300c2844f5243699806f9e1aac..e4e1f10c2e2b8daa099bcb490185c58828f1a798 100644 (file)
@@ -44,7 +44,7 @@ Inset * InsetMathExFunc::clone() const
 
 void InsetMathExFunc::metrics(MetricsInfo & mi, Dimension & dim) const
 {
-       mathed_string_dim(mi.base.font, name_, dim);
+       metricsStrRedBlack(mi, dim, name_);
 }
 
 
@@ -129,6 +129,12 @@ void InsetMathExFunc::mathmlize(MathStream & os) const
 }
 
 
+void InsetMathExFunc::htmlize(HtmlStream & os) const
+{
+       os << name_ << cell(0);
+}
+
+
 void InsetMathExFunc::octave(OctaveStream & os) const
 {
        os << name_ << '(' << cell(0) << ')';