* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include "MathStream.h"
#include "MathSupport.h"
+#include "MetricsInfo.h"
+
using namespace std;
}
-void 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 << "<mi> " << str_ << " </mi>";
+ os << str_;
}