diff --git a/development/HTML/HTML.notes b/development/HTML/HTML.notes index c126862184..8d6420d12a 100644 --- a/development/HTML/HTML.notes +++ b/development/HTML/HTML.notes @@ -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 diff --git a/src/mathed/InsetMathDiff.cpp b/src/mathed/InsetMathDiff.cpp index 1e990d7ffb..9052d8999b 100644 --- a/src/mathed/InsetMathDiff.cpp +++ b/src/mathed/InsetMathDiff.cpp @@ -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"); diff --git a/src/mathed/InsetMathDiff.h b/src/mathed/InsetMathDiff.h index 6253168397..063e5214cf 100644 --- a/src/mathed/InsetMathDiff.h +++ b/src/mathed/InsetMathDiff.h @@ -39,8 +39,6 @@ public: /// void mathematica(MathematicaStream &) const; /// - void mathmlize(MathStream &) const; - /// void maxima(MaximaStream &) const; /// void write(WriteStream & os) const; diff --git a/src/mathed/MathExtern.cpp b/src/mathed/MathExtern.cpp index afeba3ebe2..1279551fed 100644 --- a/src/mathed/MathExtern.cpp +++ b/src/mathed/MathExtern.cpp @@ -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)