mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +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/trunk@22060 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
96cd23e9aa
commit
15601573d2
@ -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
|
||||
if (params().use_amsmath == BufferParams::package_on
|
||||
|| tclass.provides("amsmath"))
|
||||
|
Loading…
Reference in New Issue
Block a user