blob: 4ac9d079775a1830dc54868956ab1f74dfffb318 (
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
33
34
35
36
37
38
39
40
41
|
% Plain TeX interface to graphicx package.
% David Carlisle
\input miniltx
% ttfamily used in draft mode to show filenames.
\ifx\ttfamily\@undefined
\let\ttfamily\tt
\fi
\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\GRAPHICS@detokenize\detokenize
\ifx\detokenize\@undefined
\def\detokenize#1{#1}
\fi
\let\GRAPHICS@protected\protected
\ifx\protected\@undefined
\let\protected\relax
\fi
\input graphicx.sty
\let\detokenize\GRAPHICS@detokenize
\let\protected\GRAPHICS@protected
\resetatcatcode
|