From 9275f580ef7ba37e6e797d0671f6d6735ad29ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sun, 13 Jan 2008 11:49:36 +0000 Subject: [PATCH] * src/LaTeXFeatures.cpp: - the package "pdfcolmk" must be loaded after [x]color.sty (see package documentation). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22537 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LaTeXFeatures.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"))