InsetFormulaBase::InsetFormulaBase()
{
-#ifdef WITH_WARNINGS
-#warning This is needed as long the math parser is not re-entrant
-#endif
+ // This is needed as long the math parser is not re-entrant
MathMacroTable::builtinMacros();
//lyxerr << "sizeof MathInset: " << sizeof(MathInset) << "\n";
}
}
-int InsetFormulaBase::docBook(Buffer const *, ostream & os) const
+int InsetFormulaBase::docbook(Buffer const *, ostream & os) const
{
- return docBook(os);
+ return docbook(os);
}
result = FINISHED_RIGHT;
}
- mathcursor->normalize();
+ //mathcursor->normalize();
if (was_macro != mathcursor->inMacroMode()
&& action >= 0 && action != LFUN_BACKSPACE)
// sel = "";
//else
- string sel = bv->getLyXText()->selectionAsString(bv->buffer());
+ string sel = bv->getLyXText()->selectionAsString(bv->buffer(),
+ false);
InsetFormulaBase * f;
if (sel.empty()) {