bool return_value = false;
- bool const asdefault = forcePlainLayout();
+ bool const allowcust = allowParagraphCustomization();
- Layout const & style = asdefault ?
- bparams.documentClass().plainLayout() :
- *d->layout_;
+ // FIXME This check should not be needed. Perhaps issue an
+ // error if it triggers.
+ Layout const & style = forcePlainLayout() ?
+ bparams.documentClass().plainLayout() : *d->layout_;
// Current base font for all inherited font changes, without any
// change caused by an individual character, except for the language:
os << '{';
++column;
}
- if (!asdefault)
+ if (allowcust)
column += d->startTeXParParams(bparams, os, texrow,
runparams);
}
++column;
}
- if (!asdefault)
+ if (allowcust)
column += d->startTeXParParams(bparams, os,
texrow,
runparams);
return_value = false;
}
- if (!asdefault) {
+ if (allowcust) {
column += d->endTeXParParams(bparams, os, texrow,
runparams);
}