{
ParagraphList::iterator it = paragraphs.begin();
ParagraphList::iterator end = paragraphs.end();
+ Paragraph::depth_type dth = 0;
for (; it != end; ++it) {
- it->write(buf, os, buf->params, 0);
+ it->write(buf, os, buf->params, dth);
}
}
void Paragraph::write(Buffer const * buf, ostream & os,
BufferParams const & bparams,
- depth_type dth) const
+ depth_type & dth) const
{
// The beginning or end of a deeper (i.e. nested) area?
if (dth != params().depth()) {
///
void write(Buffer const *, std::ostream &, BufferParams const &,
- depth_type) const;
+ depth_type & depth) const;
///
void validate(LaTeXFeatures &) const;