]> git.lyx.org Git - features.git/commitdiff
Implement math-as-HTML output for InsetMathExFunc.
authorRichard Heck <rgheck@lyx.org>
Wed, 27 Mar 2013 15:41:29 +0000 (11:41 -0400)
committerRichard Heck <rgheck@lyx.org>
Wed, 27 Mar 2013 15:41:29 +0000 (11:41 -0400)
src/mathed/InsetMathExFunc.cpp
src/mathed/InsetMathExFunc.h

index 35e2f62bcbab25a67421f1a99b6ba0c0423492c2..e4e1f10c2e2b8daa099bcb490185c58828f1a798 100644 (file)
@@ -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) << ')';
index fb6dda8b360e2e84f7b68cab4bebcc1d98ee47fc..7318929889056162ce280551187c0aeeb66a093d 100644 (file)
@@ -45,6 +45,8 @@ public:
        ///
        void mathmlize(MathStream &) const;
        ///
+       void htmlize(HtmlStream &) const;
+       ///
        void octave(OctaveStream &) const;
        ///
        InsetCode lyxCode() const { return MATH_EXFUNC_CODE; }