summaryrefslogtreecommitdiff
path: root/macros/plain/graphics/color.tex
blob: 9c27d4300e57ea273bdebf8f5236cc4db65aeb24 (plain)
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
% Plain TeX interface to color package.
% David Carlisle

\input miniltx



\ifx\Gin@driver\@undefined
  \ifx\directlua\@undefined
    \ifx\pdfoutput\@undefined
      \def\Gin@driver{dvips.def}
    \else
      \ifnum\pdfoutput=1
        \def\Gin@driver{pdftex.def}
      \else
        \def\Gin@driver{dvips.def}
      \fi
    \fi
  \else
    \def\Gin@driver{luatex.def}
  \fi
\fi



\let\@color@protected\protected
\expandafter\@gobble\csname protected\endcsname

\input color.sty

\let\protected\@color@protected
\resetatcatcode