mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
* 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:
parent
248e7940b9
commit
f1e5ae45db
@ -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["
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user