"framed",
"soul",
"textcomp",
- "xcolor",
"pmboxdraw",
"bbding",
"ifsym",
(params_.use_esint != BufferParams::package_off || !isRequired("esint")))
packages << "\\usepackage{wasysym}\n";
- // color.sty
- if (mustProvide("color")) {
+ // [x]color.sty
+ 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