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