* src/Buffer.cpp (validate): require "float" when global float placement option

contains 'H'.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22060 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2007-12-10 11:43:22 +00:00
parent 96cd23e9aa
commit 15601573d2

View File

@ -1352,6 +1352,10 @@ void Buffer::validate(LaTeXFeatures & features) const
} }
} }
// Floats with 'Here definitely' as default setting.
if (params().float_placement.find('H') != string::npos)
features.require("float");
// AMS Style is at document level // AMS Style is at document level
if (params().use_amsmath == BufferParams::package_on if (params().use_amsmath == BufferParams::package_on
|| tclass.provides("amsmath")) || tclass.provides("amsmath"))