#include "InsetMathNumber.h"
#include "MathStream.h"
-#include "MathStream.h"
#include "MathSupport.h"
+#include "MetricsInfo.h"
+
using namespace std;
}
-void InsetMathNumber::mathmlize(MathStream & os) const
+void InsetMathNumber::mathmlize(MathMLStream & ms) const
{
- if (os.inText())
- os << str_;
- else
- os << "<mn> " << str_ << " </mn>";
+ ms << MTagInline("mn")
+ << str_
+ << ETagInline("mn");
+}
+
+
+void InsetMathNumber::htmlize(HtmlStream & os) const
+{
+ os << str_;
}
-void InsetMathNumber::write(WriteStream & os) const
+void InsetMathNumber::write(TeXMathStream & os) const
{
os << str_;
}