// then the layouts
features.useLayout(layout.name());
+ if (!layout.requires().empty()) {
+ vector<string> req = layout.requires();
+ for (vector<string>::const_iterator it = req.begin();
+ it != req.end(); ++it) {
+ features.require(*it);
+ }
+ }
// then the fonts
fontlist_.validate(features);
*style, i, column);
} catch (EncodingException & e) {
if (runparams.dryrun) {
- os << _("<LyX Warning: uncodable character>");
+ os << "<" << _("LyX Warning: ")
+ << _("uncodable character") << " '";
os.put(c);
- os << _("</LyX Warning>");
+ os << "'>";
} else {
// add location information and throw again.
e.par_id = id();