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

contains 'H'.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22059 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2007-12-10 11:40:18 +00:00
parent 0bfd91383d
commit 05a11f6322
2 changed files with 6 additions and 0 deletions

View File

@ -1306,6 +1306,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
if (params().use_amsmath == BufferParams::package_on
|| tclass.provides("amsmath"))

View File

@ -115,6 +115,8 @@ What's new
- If there exists a local layout file, use the local copy instead of the
system one.
- Use package "float" when the default placement for floats is set to
'Here, definitely'.
* USER INTERFACE: