File: color.tex

package info (click to toggle)
texlive-extra 2024.20250309-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 5,368,476 kB
  • sloc: perl: 401,582; xml: 41,345; python: 38,753; cs: 25,850; sh: 18,555; makefile: 17,174; ansic: 13,023; java: 12,811; javascript: 9,898; lisp: 1,876; csh: 1,347; ruby: 618; awk: 183; tcl: 142; pascal: 138; cpp: 124; sed: 92; haskell: 5
file content (31 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (3)
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
% 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@ifcsname\ifcsname
\expandafter\@gobble\csname protected\endcsname
\def\ifcsname mathcolor\endcsname{\iftrue\let\ifcsname\@color@ifcsname}

\input color.sty


\resetatcatcode