From: Richard Heck Date: Thu, 21 Jan 2010 21:01:51 +0000 (+0000) Subject: We do not need to extract limits for MathML. X-Git-Tag: 2.0.0~4278 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=51a388e745a874533b526e08cd71d524e2c1224c;p=lyx.git We do not need to extract limits for MathML. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33146 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathLim.cpp b/src/mathed/InsetMathLim.cpp index a5eae28bb7..9c042beba8 100644 --- a/src/mathed/InsetMathLim.cpp +++ b/src/mathed/InsetMathLim.cpp @@ -71,16 +71,6 @@ void InsetMathLim::mathematica(MathematicaStream & os) const } -void InsetMathLim::mathmlize(MathStream & os) const -{ - // FIXME XHTML We need a form of MTag that takes attributes. - os << "" - << "" << "lim" << "" - << "" << cell(1) << "" << cell(2) << "" - << "(" << cell(0) << ")" ; -} - - void InsetMathLim::write(WriteStream &) const { LYXERR0("should not happen"); diff --git a/src/mathed/InsetMathLim.h b/src/mathed/InsetMathLim.h index 11d18dc06e..634c595e7f 100644 --- a/src/mathed/InsetMathLim.h +++ b/src/mathed/InsetMathLim.h @@ -40,8 +40,6 @@ public: /// void mathematica(MathematicaStream &) const; /// - void mathmlize(MathStream &) const; - /// void write(WriteStream & os) const; /// InsetCode lyxCode() const { return MATH_LIM_CODE; } diff --git a/src/mathed/MathExtern.cpp b/src/mathed/MathExtern.cpp index 1279551fed..1b71247456 100644 --- a/src/mathed/MathExtern.cpp +++ b/src/mathed/MathExtern.cpp @@ -962,9 +962,10 @@ void extractStructure(MathData & ar, ExternalMath kind) extractDiff(ar); } extractExps(ar); - extractLims(ar); - if (kind != MATHML) + if (kind != MATHML) { + extractLims(ar); extractStrings(ar); + } //lyxerr << "\nStructure to: " << ar << endl; }