Need ifthen for this, too.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35647 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-10-14 14:02:49 +00:00
parent 0978e91ecf
commit 4ff48f1d54

View File

@ -228,7 +228,7 @@ void InsetRef::validate(LaTeXFeatures & features) const
else if (getCmdName() == "formatted") {
if (buffer().params().use_refstyle) {
features.require("refstyle");
//features.addPreambleSnippet("");
features.require("ifthen");
} else
features.require("prettyref");
} else if (getCmdName() == "eqref" && !buffer().params().use_refstyle)