git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26862 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-10-12 12:50:08 +00:00
parent 86eeea7566
commit 51b4ac8e79

View File

@ -589,9 +589,10 @@ string const LaTeXFeatures::getPackages() const
// esint is preferred for esintoramsmath // esint is preferred for esintoramsmath
if ((mustProvide("amsmath") && if ((mustProvide("amsmath") &&
params_.use_amsmath != BufferParams::package_off) || params_.use_amsmath != BufferParams::package_off) ||
(mustProvide("esintoramsmath") && (mustProvide("esintoramsmath") &&
params_.use_esint == BufferParams::package_off)) { params_.use_esint == BufferParams::package_off
&& params_.use_amsmath != BufferParams::package_off)) {
packages << "\\usepackage{amsmath}\n"; packages << "\\usepackage{amsmath}\n";
} else if (mustProvide("amsbsy")) { } else if (mustProvide("amsbsy")) {
// amsbsy is already provided by amsmath // amsbsy is already provided by amsmath