diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 3abf35872c..80bb7cf29d 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -519,7 +519,6 @@ char const * simplefeatures[] = { "units", "tipa", "framed", - "pdfcolmk", "soul", "textcomp", "xcolor", @@ -600,6 +599,11 @@ string const LaTeXFeatures::getPackages() const << "]{color}\n"; } + // pdfcolmk must be loaded after color + if (mustProvide("pdfcolmk")) { + packages << "\\usepackage{pdfcolmk}\n"; + } + // makeidx.sty if (isRequired("makeidx")) { if (!tclass.provides("makeidx"))