InsetLayout ERT
LabelString ERT
InsetLayout ERT
LabelString ERT
Decoration minimalistic
Font
Color latex
Decoration minimalistic
Font
Color latex
Size Small
EndFont
MultiPar true
Size Small
EndFont
MultiPar true
-int InsetERT::latex(Buffer const &, odocstream & os,
- OutputParams const &) const
+int InsetERT::latex(Buffer const & buf, odocstream & os,
+ OutputParams const & op) const
- ParagraphList::const_iterator par = paragraphs().begin();
- ParagraphList::const_iterator end = paragraphs().end();
-
- int lines = 0;
- while (par != end) {
- pos_type siz = par->size();
- for (pos_type i = 0; i < siz; ++i) {
- // ignore all struck out text
- if (par->isDeleted(i))
- continue;
-
- os.put(par->getChar(i));
- }
- ++par;
- if (par != end) {
- os << "\n";
- ++lines;
- }
- }
-
- return lines;
+ return InsetCollapsable::latex(buf, os, op);
int InsetERT::docbook(Buffer const &, odocstream & os,
OutputParams const &) const
{
int InsetERT::docbook(Buffer const &, odocstream & os,
OutputParams const &) const
{
+ // FIXME can we do the same thing here as for LaTeX?
ParagraphList::const_iterator par = paragraphs().begin();
ParagraphList::const_iterator end = paragraphs().end();
ParagraphList::const_iterator par = paragraphs().begin();
ParagraphList::const_iterator end = paragraphs().end();
if (closing_rtl_ltr_environment)
os << "}";
if (closing_rtl_ltr_environment)
os << "}";
+ if (pending_newline && !runparams.verbatim) {
os << '\n';
texrow.newline();
}
os << '\n';
texrow.newline();
}