From: Richard Heck Date: Wed, 27 Mar 2013 15:41:29 +0000 (-0400) Subject: Implement math-as-HTML output for InsetMathExFunc. X-Git-Tag: 2.1.0beta1~479 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=56796c2a9e536d5441d52026eec8d062778ec232;p=features.git Implement math-as-HTML output for InsetMathExFunc. --- diff --git a/src/mathed/InsetMathExFunc.cpp b/src/mathed/InsetMathExFunc.cpp index 35e2f62bcb..e4e1f10c2e 100644 --- a/src/mathed/InsetMathExFunc.cpp +++ b/src/mathed/InsetMathExFunc.cpp @@ -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) << ')'; diff --git a/src/mathed/InsetMathExFunc.h b/src/mathed/InsetMathExFunc.h index fb6dda8b36..7318929889 100644 --- a/src/mathed/InsetMathExFunc.h +++ b/src/mathed/InsetMathExFunc.h @@ -45,6 +45,8 @@ public: /// void mathmlize(MathStream &) const; /// + void htmlize(HtmlStream &) const; + /// void octave(OctaveStream &) const; /// InsetCode lyxCode() const { return MATH_EXFUNC_CODE; }