]> git.lyx.org Git - features.git/commitdiff
LaTeXFeatures.cpp: fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5294 also...
authorUwe Stöhr <uwestoehr@web.de>
Sun, 28 Sep 2008 12:14:15 +0000 (12:14 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sun, 28 Sep 2008 12:14:15 +0000 (12:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26600 a592a061-630c-0410-9148-cb99ea01b6c8

src/LaTeXFeatures.cpp

index 62f1f25dd4b2608ee10ef26d44990a0983fadcbf..d0dbb6ffe6479892fdf290746107e29f47bd4e7d 100644 (file)
@@ -577,7 +577,8 @@ string const LaTeXFeatures::getPackages() const
        if (mustProvide("color") || mustProvide("xcolor")) {
                string const package =
                        (mustProvide("xcolor") ? "xcolor" : "color");
-               if (params_.graphicsDriver == "default")
+               if (params_.graphicsDriver == "default"
+                       || params_.graphicsDriver == "none")
                        packages << "\\usepackage{" << package << "}\n";
                else
                        packages << "\\usepackage["