1 % https://creativecommons.org/publicdomain/zero/1.0/
3 \ProvidesFile{graphics.cfg}%
4 [2016/06/04 v1.11 sample graphics configuration]%
6 % Select an appropriate default driver
10 \ifx\luatexversion\@undefined
12 \@ifundefined{pdfoutput}{}{%
19 \@ifundefined{OpMode}{}{%
23 \@ifundefined{XeTeXversion}{}{%
27 \ifnum\luatexversion>85
40 \def\Gin@driver{dvips.def}%
41 \ExecuteOptions{dvips}%
43 % pdfTeX is running in pdf mode
44 \def\Gin@driver{pdftex.def}%
45 \ExecuteOptions{pdftex}%
48 \def\Gin@driver{vtex.def}%
49 \ExecuteOptions{vtex}%
52 \def\Gin@driver{xetex.def}%
53 \ExecuteOptions{xetex}%
56 \def\Gin@driver{luatex.def}%
57 \ExecuteOptions{luatex}%
59 \PackageError{graphics}{Unexpected configuration}{}