]> git.lyx.org Git - lyx.git/commitdiff
We do not need to extract limits for MathML.
authorRichard Heck <rgheck@comcast.net>
Thu, 21 Jan 2010 21:01:51 +0000 (21:01 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 21 Jan 2010 21:01:51 +0000 (21:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33146 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathLim.cpp
src/mathed/InsetMathLim.h
src/mathed/MathExtern.cpp

index a5eae28bb71f4eae1e909c3c7fecd2c452624b46..9c042beba8cc41c48b5e87fccb59e3c18cadd85f 100644 (file)
@@ -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 << "<munder>"
-          << "<mo form='prefix'>" << "lim" << "</mo>"
-          << "<mrow>" << cell(1) << "<mo>&rarr;</mo>" << cell(2) << "</mrow></munder>"
-          << "<mo>(</mo>" << cell(0) << "<mo>)</mo>" ; 
-}
-
-
 void InsetMathLim::write(WriteStream &) const
 {
        LYXERR0("should not happen");
index 11d18dc06e2765e596535e28d718176b3e4c69e3..634c595e7f2d796af3b89a0bd774bdf1c72fb094 100644 (file)
@@ -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; }
index 1279551fedc0c405662144fb4208498deaf3e9fa..1b712474560dd3e661c0261cabad1efd369f7b85 100644 (file)
@@ -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;
 }