diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 19a99cfe09..c7e33b1db2 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -991,6 +991,13 @@ void Paragraph::Private::validate(LaTeXFeatures & features, // then the layouts features.useLayout(layout.name()); + if (!layout.requires().empty()) { + vector req = layout.requires(); + for (vector::const_iterator it = req.begin(); + it != req.end(); ++it) { + features.require(*it); + } + } // then the fonts fontlist_.validate(features);