mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
LaTeXFeatures.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5350
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26862 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
86eeea7566
commit
51b4ac8e79
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user