void InsetTOC::validate(LaTeXFeatures & features) const { InsetCommand::validate(features); features.useInsetLayout(getLayout()); if (getCmdName() == "lstlistoflistings") features.require("listings"); }
void InsetTOC::validate(LaTeXFeatures & features) const { InsetCommand::validate(features); features.useInsetLayout(getLayout()); if (getCmdName() == "lstlistoflistings") { if (buffer().params().use_minted) features.require("minted"); else features.require("listings"); } }
void InsetText::validate(LaTeXFeatures & features) const { features.useInsetLayout(getLayout()); for_each(paragraphs().begin(), paragraphs().end(), bind(&Paragraph::validate, _1, ref(features))); }
void InsetText::validate(LaTeXFeatures & features) const { features.useInsetLayout(getLayout()); for (Paragraph const & p : paragraphs()) p.validate(features); }