#include "graphics/PreviewImage.h"
#include "graphics/PreviewLoader.h"
-#include "support/std_sstream.h"
-
#include <boost/bind.hpp>
+#include <sstream>
+
using lyx::cap::grabAndEraseSelection;
using std::endl;
bool MathHullInset::searchForward(BufferView * bv, string const & str,
bool, bool)
{
+#ifdef WITH_WARNINGS
#warning completely broken
+#endif
static MathHullInset * lastformula = 0;
static CursorBase current = DocIterator(ibegin(nucleus()));
static MathArray ar;
OutputParams const & runparams) const
{
MathMLStream ms(os);
- ms << MTag("equation");
+ string name="equation";
+ if (! label(0).empty()) name += " id=\"" + label(0)+ "\"";
+ ms << MTag(name.c_str());
ms << MTag("alt");
ms << "<[CDATA[";
int res = plaintext(buf, ms.os(), runparams);