From 51b4ac8e799331c54d5e6f11f8f299dc1232b094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Sun, 12 Oct 2008 12:50:08 +0000 Subject: [PATCH] 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 --- src/LaTeXFeatures.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 4fb328b638..00dc480bdb 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -589,9 +589,10 @@ string const LaTeXFeatures::getPackages() const // esint is preferred for esintoramsmath if ((mustProvide("amsmath") && - params_.use_amsmath != BufferParams::package_off) || - (mustProvide("esintoramsmath") && - params_.use_esint == BufferParams::package_off)) { + params_.use_amsmath != BufferParams::package_off) || + (mustProvide("esintoramsmath") && + params_.use_esint == BufferParams::package_off + && params_.use_amsmath != BufferParams::package_off)) { packages << "\\usepackage{amsmath}\n"; } else if (mustProvide("amsbsy")) { // amsbsy is already provided by amsmath