mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
Restore the MathML output we had before. Still work to be done here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32540 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bfd3401999
commit
5f27992e16
@ -29,6 +29,7 @@
|
||||
#include "LaTeXFeatures.h"
|
||||
#include "LyXRC.h"
|
||||
#include "MacroTable.h"
|
||||
#include "output_xhtml.h"
|
||||
#include "sgml.h"
|
||||
#include "TextPainter.h"
|
||||
#include "TocBackend.h"
|
||||
@ -1764,15 +1765,15 @@ int InsetMathHull::docbook(odocstream & os, OutputParams const & runparams) cons
|
||||
}
|
||||
|
||||
|
||||
docstring InsetMathHull::xhtml(odocstream & os, OutputParams const &) const
|
||||
docstring InsetMathHull::xhtml(XHTMLStream & xs, OutputParams const &) const
|
||||
{
|
||||
if (getType() == hullSimple)
|
||||
os << "<math xmlns=\"http://www.w3.org/1998/Math/MathML\">";
|
||||
xs << StartTag("math", "xmlns=\"http://www.w3.org/1998/Math/MathML\"");
|
||||
else
|
||||
os << "<math display=\"block\" xmlns=\"http://www.w3.org/1998/Math/MathML\">";
|
||||
MathStream ms(os);
|
||||
xs << StartTag("math", "display=\"block\" xmlns=\"http://www.w3.org/1998/Math/MathML\"");
|
||||
MathStream ms(xs.os());
|
||||
InsetMathGrid::mathmlize(ms);
|
||||
os << "</math>";
|
||||
xs << EndTag("math");
|
||||
return docstring();
|
||||
}
|
||||
|
||||
|
@ -123,7 +123,7 @@ public:
|
||||
///
|
||||
int docbook(odocstream &, OutputParams const &) const;
|
||||
///
|
||||
docstring xhtml(odocstream &, OutputParams const &) const;
|
||||
docstring xhtml(XHTMLStream &, OutputParams const &) const;
|
||||
/// the string that is passed to the TOC
|
||||
void tocString(odocstream &) const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user