X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmathed%2FInsetMathExFunc.cpp;h=e4e1f10c2e2b8daa099bcb490185c58828f1a798;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=e4479275d01093e7aec6a6699e263b5f72da9c00;hpb=177ff11cfb0cb536891973510b48538b795149d7;p=lyx.git
diff --git a/src/mathed/InsetMathExFunc.cpp b/src/mathed/InsetMathExFunc.cpp
index e4479275d0..e4e1f10c2e 100644
--- a/src/mathed/InsetMathExFunc.cpp
+++ b/src/mathed/InsetMathExFunc.cpp
@@ -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_);
}
@@ -124,11 +124,17 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const
void InsetMathExFunc::mathmlize(MathStream & os) const
{
- os.os() << "" << name_ << "" << "⁡";
+ os << "" << name_ << "⁡";
os << cell(0);
}
+void InsetMathExFunc::htmlize(HtmlStream & os) const
+{
+ os << name_ << cell(0);
+}
+
+
void InsetMathExFunc::octave(OctaveStream & os) const
{
os << name_ << '(' << cell(0) << ')';