Typo
[latex2e.git] / latex2e-20150101 / support / color.cfg
blob0a621ce52202c816738aaabcf5317129115aa32c
1 \ProvidesFile{color.cfg}%
2   [2007/01/18 v1.5 color configuration of teTeX/TeXLive]
4 % Select an appropriate default driver
5 \begingroup
6   \chardef\x=0\relax
7   % check pdfTeX
8   \@ifundefined{pdfoutput}{}{%
9     \ifnum\pdfoutput<1 %
10     \else
11       \chardef\x=1\relax
12     \fi
13   }%
14   % check VTeX
15   \@ifundefined{OpMode}{}{%
16     \chardef\x=2\relax
17   }%
18   % check XeTeX
19   \@ifundefined{XeTeXversion}{}{%
20     \chardef\x=3\relax
21   }%
22 \expandafter\endgroup
23 \ifcase\x
24   % default case
25   \def\Gin@driver{dvips.def}%
26   \ExecuteOptions{dvips}%
27 \or
28   % pdfTeX is running in pdf mode
29   \def\Gin@driver{pdftex.def}%
30   \ExecuteOptions{pdftex}%
31 \or
32   % VTeX is running
33   \def\Gin@driver{vtex.def}%
34   \ExecuteOptions{vtex}%
35 \else
36   % XeTeX is running
37   \def\Gin@driver{xetex.def}%
38   \ExecuteOptions{xetex}%
39 \fi
40 \endinput