#include "InsetMathFrac.h"
#include "MathData.h"
-#include "MathMLStream.h"
+#include "MathStream.h"
#include "TextPainter.h"
#include "LaTeXFeatures.h"
#include "LColor.h"
}
-string InsetMathFrac::name() const
+docstring InsetMathFrac::name() const
{
switch (kind_) {
case FRAC:
- return "frac";
+ return from_ascii("frac");
case OVER:
- return "over";
+ return from_ascii("over");
case NICEFRAC:
- return "nicefrac";
+ return from_ascii("nicefrac");
case ATOP:
- return "atop";
+ return from_ascii("atop");
}
// shut up stupid compiler
- return string();
+ return docstring();
}
}
-void InsetMathFrac::mathmlize(MathMLStream & os) const
+void InsetMathFrac::mathmlize(MathStream & os) const
{
os << MTag("mfrac") << cell(0) << cell(1) << ETag("mfrac");
}