summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/doc/color.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/base/doc/color.cfg')
-rw-r--r--graphics/pgf/base/doc/color.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/pgf/base/doc/color.cfg b/graphics/pgf/base/doc/color.cfg
new file mode 100644
index 0000000000..05928b4f23
--- /dev/null
+++ b/graphics/pgf/base/doc/color.cfg
@@ -0,0 +1,5 @@
+% xcolor inputs this file and ignores the global document options to choose the engine
+% Here we just make sure that a driver is selected
+\expandafter\ifx\csname Gin@driver\endcsname\relax
+ \errmessage{No graphics driver has been selected. Load graphicx before xcolor.}%
+\fi \ No newline at end of file