&& toclevel <= bufparams.tocdepth) {
// insert this into the table of contents
if (tocstring.empty())
tocstring = pit->asString(buf, true);
TocItem const item(pit->id(), toclevel - min_toclevel,
tocstring);
&& toclevel <= bufparams.tocdepth) {
// insert this into the table of contents
if (tocstring.empty())
tocstring = pit->asString(buf, true);
TocItem const item(pit->id(), toclevel - min_toclevel,
tocstring);