void InsetMathExInt::mathmlize(MathStream & os) const
{
+ // At the moment, we are not extracting sums and the like for MathML.
+ // If we should decide to do so later, then we'll need to re-merge
+ // r32566 and r32568.
+ // So right now this only handles integrals.
InsetMathSymbol sym(symbol_);
bool const lower = !cell(2).empty();
bool const upper = !cell(3).empty();
// something delimited _is_ an argument
if ((*pos)->asDelimInset()) {
// leave out delimiters if this is a function argument
+ // unless we are doing MathML, in which case we do want
+ // the delimiters
if (function && kind != MATHML) {
MathData const & arg = (*pos)->asDelimInset()->cell(0);
MathData::const_iterator cur = arg.begin();
void extractStructure(MathData & ar, ExternalMath kind)
{
//lyxerr << "\nStructure from: " << ar << endl;
- splitScripts(ar);
+ if (kind != MATHML)
+ splitScripts(ar);
extractDelims(ar);
extractIntegrals(ar, kind);
- extractSums(ar);
+ if (kind != MATHML)
+ extractSums(ar);
extractNumbers(ar);
extractMatrices(ar);
extractFunctions(ar, kind);