| 1 |
% Plain TeX interface to color package. |
| 2 |
% David Carlisle |
| 3 |
|
| 4 |
\input miniltx |
| 5 |
|
| 6 |
|
| 7 |
\ifx\Gin@driver\@undefined |
| 8 |
\ifx\directlua\@undefined |
| 9 |
\ifx\pdfoutput\@undefined |
| 10 |
\def\Gin@driver{dvips.def} |
| 11 |
\else |
| 12 |
\ifnum\pdfoutput=1 |
| 13 |
\def\Gin@driver{pdftex.def} |
| 14 |
\else |
| 15 |
\def\Gin@driver{dvips.def} |
| 16 |
\fi |
| 17 |
\fi |
| 18 |
\else |
| 19 |
\def\Gin@driver{luatex.def} |
| 20 |
\fi |
| 21 |
\fi |
| 22 |
|
| 23 |
|
| 24 |
\let\@color@ifcsname\ifcsname |
| 25 |
\expandafter\@gobble\csname protected\endcsname |
| 26 |
\def\ifcsname mathcolor\endcsname{\iftrue\let\ifcsname\@color@ifcsname} |
| 27 |
|
| 28 |
\input color.sty |
| 29 |
|
| 30 |
|
| 31 |
\resetatcatcode |