Jürgen Spitzmüller wrote: > BTW, we don't load xcolor with the drivers. This should be fixed as well > (i.e. xcolor should be loaded as if it was color).
patch attached. Jürgen
Index: src/LaTeXFeatures.cpp =================================================================== --- src/LaTeXFeatures.cpp (Revision 22537) +++ src/LaTeXFeatures.cpp (Arbeitskopie) @@ -521,7 +521,6 @@ "framed", "soul", "textcomp", - "xcolor", "pmboxdraw", "bbding", "ifsym", @@ -590,13 +589,15 @@ packages << "\\usepackage{wasysym}\n"; // color.sty - if (mustProvide("color")) { + if (mustProvide("color") || mustProvide("xcolor")) { + string const package = + (mustProvide("xcolor") ? "xcolor" : "color"); if (params_.graphicsDriver == "default") - packages << "\\usepackage{color}\n"; + packages << "\\usepackage{" << package << "}\n"; else packages << "\\usepackage[" << params_.graphicsDriver - << "]{color}\n"; + << "]{" << package << "}\n"; } // pdfcolmk must be loaded after color