mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
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:
parent
0bfd91383d
commit
05a11f6322
@ -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"))
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user