* LaTeXFeatures.cpp:

- don't pass the "none" string as graphics driver to color (part of bug 5294).

This also needs to be done in trunk, but I'll leave this to Uwe.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26598 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-09-28 09:20:42 +00:00
parent 248e7940b9
commit f1e5ae45db
2 changed files with 4 additions and 1 deletions

View File

@ -500,7 +500,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["

View File

@ -92,6 +92,8 @@ What's new
- Fix some problems with csv importation.
- Fix LaTeX output if no graphic driver was selected (part of bug 5294).
* USER INTERFACE