X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathExFunc.cpp;h=e4e1f10c2e2b8daa099bcb490185c58828f1a798;hb=103f7a5ea6d431e28becd02aa7e50ba5941010ff;hp=25c8dcbaf9b964300c2844f5243699806f9e1aac;hpb=c060a85d811674888c31db9ee0407d8b5cc37b6e;p=lyx.git diff --git a/src/mathed/InsetMathExFunc.cpp b/src/mathed/InsetMathExFunc.cpp index 25c8dcbaf9..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_); } @@ -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) << ')';