// This is only set once per document (in master)
if (!runparams.is_child) {
runparams.use_polyglossia = features.usePolyglossia();
- runparams.use_hyperref = features.isRequired("hyperref");
+ runparams.use_hyperref = features.isRequired("hyperref")
+ || features.isProvided("hyperref");
runparams.use_CJK = features.mustProvide("CJK");
}
LYXERR(Debug::OUTFILE, " Buffer validation done.");
validate(features);
runparams.use_polyglossia = features.usePolyglossia();
runparams.use_babel = features.useBabel();
- runparams.use_hyperref = features.isRequired("hyperref");
+ runparams.use_hyperref = features.isRequired("hyperref")
+ || features.isProvided("hyperref");
// latex or literate
otexstream ots(os);
// output above
par.itemdepth = getItemDepth(it);
if (layout.margintype == MARGIN_MANUAL) {
- if (par.params().labelWidthString().empty())
- par.params().labelWidthString(par.expandLabel(layout, bp));
+ // nothing to do: empty label width string is fine.
} else if (layout.latextype == LATEX_BIB_ENVIRONMENT) {
// we do not need to do anything here, since the empty case is
// handled during export.