X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathNumber.cpp;h=5237cebab65a95747b5a67c1489950ee0e133ae7;hb=02e82157ec583c3900e359de86be79fac6512387;hp=86d68f29d6811cb03e5905ad008315cc7ac3211e;hpb=9383f4c3c6f9cfab2d658701ba66e2b54cd68bea;p=lyx.git diff --git a/src/mathed/InsetMathNumber.cpp b/src/mathed/InsetMathNumber.cpp index 86d68f29d6..5237cebab6 100644 --- a/src/mathed/InsetMathNumber.cpp +++ b/src/mathed/InsetMathNumber.cpp @@ -3,7 +3,7 @@ * 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. */ @@ -15,10 +15,12 @@ #include "MathStream.h" #include "MathSupport.h" +#include "MetricsInfo.h" + using namespace std; -namespace lyx { +namespace lyx { InsetMathNumber::InsetMathNumber(docstring const & s) : str_(s) @@ -69,7 +71,13 @@ void InsetMathNumber::octave(OctaveStream & os) const void InsetMathNumber::mathmlize(MathStream & os) const { - os << " " << str_ << " "; + os << "" << str_ << ""; +} + + +void InsetMathNumber::htmlize(HtmlStream & os) const +{ + os << str_; }