#include "support/textutils.h"
#include <boost/current_function.hpp>
+#include <boost/assert.hpp>
using std::endl;
void InsetMath::metricsT(TextMetricsInfo const &, Dimension &) const
{
-#ifdef WITH_WARNINGS
lyxerr << "InsetMath::metricsT(Text) called directly!" << endl;
-#endif
}
void InsetMath::drawT(TextPainter &, int, int) const
{
-#ifdef WITH_WARNINGS
lyxerr << "InsetMath::drawT(Text) called directly!" << endl;
-#endif
}
-
void InsetMath::write(WriteStream & os) const
{
docstring const s = name();
int InsetMath::plaintext(Buffer const &, odocstream &,
- OutputParams const &) const
+ OutputParams const &) const
{
// all math plain text output shall take place in InsetMathHull
BOOST_ASSERT(false);
void InsetMath::mathmlize(MathStream & os) const
{
- NormalStream ns(os.os());
- normalize(ns);
+ NormalStream ns(os.os());
+ normalize(ns);
}
}
-docstring InsetMath::name() const
-{
- return from_ascii("unknown");
-}
-
-
std::ostream & operator<<(std::ostream & os, MathAtom const & at)
{
odocstringstream oss;