#include "bufferparams.h"
#include "gettext.h"
#include "paragraph.h"
-#include "paragraph_funcs.h"
+#include "output_latex.h"
#include "texrow.h"
#include "support/std_ostream.h"
+
+using std::string;
using std::auto_ptr;
using std::ostream;
{
setInsetName(name);
setAutoBreakRows(true);
- setDrawFrame(ALWAYS);
+ setDrawFrame(true);
}
{}
-auto_ptr<InsetBase> InsetEnvironment::clone() const
+auto_ptr<InsetBase> InsetEnvironment::doClone() const
{
return auto_ptr<InsetBase>(new InsetEnvironment(*this));
}
int InsetEnvironment::latex(Buffer const & buf, ostream & os,
- LatexRunParams const & runparams) const
+ OutputParams const & runparams) const
{
os << layout_->latexheader;
TexRow texrow;
- latexParagraphs(buf, paragraphs, os, texrow, runparams,
+ latexParagraphs(buf, paragraphs(), os, texrow, runparams,
layout_->latexparagraph);
os << layout_->latexfooter;
return texrow.rows();