The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 56796c2a9e536d5441d52026eec8d062778ec232
Author: Richard Heck <rgh...@lyx.org>
Date:   Wed Mar 27 11:41:29 2013 -0400

    Implement math-as-HTML output for InsetMathExFunc.

diff --git a/src/mathed/InsetMathExFunc.cpp b/src/mathed/InsetMathExFunc.cpp
index 35e2f62..e4e1f10 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 fb6dda8..7318929 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; }

-----------------------------------------------------------------------

Summary of changes:
 src/mathed/InsetMathExFunc.cpp |    6 ++++++
 src/mathed/InsetMathExFunc.h   |    2 ++
 2 files changed, 8 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to