Turns out MathML is already here, for the most part, so this will
not be too bad at all.
Anyone else think that is very cool?!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31979
a592a061-630c-0410-9148-
cb99ea01b6c8
}
+docstring InsetMathHull::xhtml(odocstream & os, OutputParams const &) const
+{
+ if (getType() == hullSimple)
+ os << "<math xmlns=\"&mathml;\">";
+ else
+ os << "<math display=\"block\" xmlns=\"&mathml;\">";
+ MathStream ms(os);
+ InsetMathGrid::mathmlize(ms);
+ os << "</math>";
+ return docstring();
+}
+
+
void InsetMathHull::tocString(odocstream & os) const
{
plaintext(os, OutputParams(0));
int plaintext(odocstream &, OutputParams const &) const;
///
int docbook(odocstream &, OutputParams const &) const;
+ ///
+ docstring xhtml(odocstream &, OutputParams const &) const;
/// the string that is passed to the TOC
void tocString(odocstream &) const;