/etc/texmf/tex/latex/config/color.cfg is in texlive-latex-base 2009-15.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | \ProvidesFile{color.cfg}%
[2007/01/18 v1.5 color configuration of teTeX/TeXLive]
% Select an appropriate default driver
\begingroup
\chardef\x=0\relax
% check pdfTeX
\@ifundefined{pdfoutput}{}{%
\ifnum\pdfoutput<1 %
\else
\chardef\x=1\relax
\fi
}%
% check VTeX
\@ifundefined{OpMode}{}{%
\chardef\x=2\relax
}%
% check XeTeX
\@ifundefined{XeTeXversion}{}{%
\chardef\x=3\relax
}%
\expandafter\endgroup
\ifcase\x
% default case
\def\Gin@driver{dvips.def}%
\ExecuteOptions{dvips}%
\or
% pdfTeX is running in pdf mode
\def\Gin@driver{pdftex.def}%
\ExecuteOptions{pdftex}%
\or
% VTeX is running
\def\Gin@driver{vtex.def}%
\ExecuteOptions{vtex}%
\else
% XeTeX is running
\def\Gin@driver{xetex.def}%
\ExecuteOptions{xetex}%
\fi
\endinput
|