enumdepth = 0;
itemdepth = 0;
bibkey = 0; // ale970302
+ params().clear();
}
previous_->next_ = this;
// end
- bibkey = 0; // ale970302
+ bibkey = 0; // ale970302
+ params().clear();
}
}
// First write the layout
+ string lay = layout();
+ if (lay.empty()) {
+ lay = textclasslist[bparams.textclass].defaultLayoutName();
+ }
+
os << "\n\\layout " << layout() << "\n";
// Maybe some vertical spaces.
{
// create a new paragraph
Paragraph * tmp = new Paragraph(this);
- tmp->layout(layout());
+ tmp->layout(textclasslist[bparams.textclass].defaultLayoutName());
// remember to set the inset_owner
tmp->setInsetOwner(inInset());