]> git.lyx.org Git - lyx.git/commitdiff
We do not need special treatment of differentials for MathML.
authorRichard Heck <rgheck@comcast.net>
Thu, 31 Dec 2009 21:09:28 +0000 (21:09 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 31 Dec 2009 21:09:28 +0000 (21:09 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32716 a592a061-630c-0410-9148-cb99ea01b6c8

development/HTML/HTML.notes
src/mathed/InsetMathDiff.cpp
src/mathed/InsetMathDiff.h
src/mathed/MathExtern.cpp

index c126862184e73c90e03f001e2ca14b5d17cf4e81..8d6420d12aa95947df5fa0a6c2a3814d358baf40 100644 (file)
@@ -56,8 +56,6 @@ Math
        - Array
        - Box: There is a general issue here with text mode nesting. See the FIXME attached
                to the SetMode class.
-       - Cases
-       - Diff: Code exists, but I do not know if it is right.
        - Binom (in Frac): None of these tags exist in MathML 2.0. We'll
                just output a fraction with delimiters.
        - Lefteqn
index 1e990d7ffb15a4a05a83054335ddcb79bed97304..9052d8999ba1541b1632ccb7be67ecadb71ee948 100644 (file)
@@ -95,18 +95,6 @@ void InsetMathDiff::mathematica(MathematicaStream & os) const
 }
 
 
-void InsetMathDiff::mathmlize(MathStream & os) const
-{
-       os << "diff(";
-       for (idx_type idx = 0; idx < nargs(); ++idx) {
-               if (idx != 0)
-                       os << ',';
-               os << cell(idx);
-       }
-       os << ')';
-}
-
-
 void InsetMathDiff::write(WriteStream &) const
 {
        LYXERR0("should not happen");
index 6253168397abb059845f58e296fdbaf5e7a1096f..063e5214cf73f703a3b20387a2a1f357bdab149b 100644 (file)
@@ -39,8 +39,6 @@ public:
        ///
        void mathematica(MathematicaStream &) const;
        ///
-       void mathmlize(MathStream &) const;
-       ///
        void maxima(MaximaStream &) const;
        ///
        void write(WriteStream & os) const;
index afeba3ebe2519ba1fb89ca57a4464ed2f0e698ce..1279551fedc0c405662144fb4208498deaf3e9fa 100644 (file)
@@ -957,8 +957,10 @@ void extractStructure(MathData & ar, ExternalMath kind)
        extractNumbers(ar);
        extractMatrices(ar);
        extractFunctions(ar, kind);
-       extractDets(ar);
-       extractDiff(ar);
+       if (kind != MATHML) {
+               extractDets(ar);
+               extractDiff(ar);
+       }
        extractExps(ar);
        extractLims(ar);
        if (kind != MATHML)