From: Richard Heck Date: Thu, 31 Dec 2009 21:44:12 +0000 (+0000) Subject: MathML for Overset. X-Git-Tag: 2.0.0~4635 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bee7a4c8d268aa832df1f89109374d639b426b42;p=features.git MathML for Overset. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32718 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathOverset.cpp b/src/mathed/InsetMathOverset.cpp index 6b4ed6789d..abd6890788 100644 --- a/src/mathed/InsetMathOverset.cpp +++ b/src/mathed/InsetMathOverset.cpp @@ -84,6 +84,12 @@ void InsetMathOverset::normalize(NormalStream & os) const } +void InsetMathOverset::mathmlize(MathStream & ms) const +{ + ms << "" << cell(0) << cell(1) << ""; +} + + void InsetMathOverset::validate(LaTeXFeatures & features) const { features.require("amsmath"); diff --git a/src/mathed/InsetMathOverset.h b/src/mathed/InsetMathOverset.h index edcdd020e2..5fdeb32e04 100644 --- a/src/mathed/InsetMathOverset.h +++ b/src/mathed/InsetMathOverset.h @@ -36,6 +36,8 @@ public: /// void normalize(NormalStream &) const; /// + void mathmlize(MathStream &) const; + /// void validate(LaTeXFeatures & features) const; /// InsetCode lyxCode() const { return MATH_OVERSET_CODE; }