#include "MathStream.h"
#include "MathSupport.h"
+#include "MetricsInfo.h"
+
using namespace std;
}
-docstring InsetMathNumber::mathmlize(MathStream & os) const
+void InsetMathNumber::mathmlize(MathStream & ms) const
+{
+ ms << "<" << from_ascii(ms.namespacedTag("mn")) << ">"
+ << str_
+ << "</" << from_ascii(ms.namespacedTag("mn")) << ">";
+}
+
+
+void InsetMathNumber::htmlize(HtmlStream & os) const
{
- os << "<mn> " << str_ << " </mn>";
- return docstring();
+ os << str_;
}