This file is indexed.

/etc/texmf/tex/latex/config/graphics.cfg is in texlive-latex-base 2009-15.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
% Public domain.
% Written by Thomas Esser, Heiko Oberdiek, Sebastian Rahtz, and others.
\ProvidesFile{graphics.cfg}%
  [2009/08/28 v1.8 graphics configuration of TeX Live]%

% Select an appropriate default driver
\begingroup
  \chardef\x=0\relax
  % check pdfTeX
  \@ifundefined{pdfoutput}{}{%
    \ifnum\pdfoutput<1 %
    \else
      \chardef\x=1\relax
    \fi
  }%
  % check VTeX
  \@ifundefined{OpMode}{}{%
    \chardef\x=2\relax
  }%
  % check XeTeX
  \@ifundefined{XeTeXversion}{}{%
    \chardef\x=3\relax
  }%
\expandafter\endgroup
\ifcase\x
  % default case
  \def\Gin@driver{dvips.def}%
  \ExecuteOptions{dvips}%
\or
  % pdfTeX is running in pdf mode
  \def\Gin@driver{pdftex.def}%
  \ExecuteOptions{pdftex}%
  % The below is inoperative for the TL'09 DVD; we could not secure all
  % the necessary components before the release.
  % 
  % Load package epstopdf if
  % a) LaTeX is running (plain TeX users are on their own),
  % b) and shell escape (\write18) is enabled (possibly restricted),
  % c) and \DoNotLoadEpstopdf either does not exist or is not \relax.
  % 
  % In other words, by default .eps files will be automatically
  % converted to .pdf files when outputting pdf.  This can be wrong!
  % If you created the .pdf as the source of a graphic, and derived a
  % .eps from it, you should put
  %  \newcommand{\DoNotLoadEpstopdf}{}
  % before even the \documentclass line of your document.
  % 
  % More information about the epstopdf run will be in the .log file;
  % see http://ctan.org/pkg/epstopdf-pkg for more info about the
  % epstopdf package itself.  In turn, it calls the epstopdf script
  % (http://ctan.org/pkg/epstopdf).
  % 
  % For the first discussion and background on this, see the thread on latex-l:
  % http://thread.gmane.org/gmane.comp.tex.latex.latex3/1465
  %
%  \begingroup\expandafter\expandafter\expandafter\endgroup
%  \expandafter\ifx\csname DoNotLoadEpstopdf\endcsname\relax
%    \begingroup\expandafter\expandafter\expandafter\endgroup
%    \expandafter\ifx\csname AtEndOfPackage\endcsname\relax
%    \else
%      \AtEndOfPackage{%
%        \RequirePackage{pdftexcmds}[2007/11/11]%
%        \expandafter\ifx\csname pdf@shellescape\endcsname\relax
%        \else
%          \ifnum\pdf@shellescape>0 %
%            \RequirePackage{epstopdf-base}[2009/07/12]%
%          \fi
%        \fi
%      }%
%    \fi
%  \fi
\or
  % VTeX is running
  \def\Gin@driver{vtex.def}%
  \ExecuteOptions{vtex}%
\else
  % XeTeX is running
  \def\Gin@driver{xetex.def}%
  \ExecuteOptions{xetex}%
\fi

% Fix for dvips and xdvi versions that can uncompress
% graphic files without an explicite call of gunzip.
% (The fix is not applied for miniltx.tex, because
% \AtEndOfPackage is not available in plainTeX.)
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname AtEndOfPackage\endcsname\relax
\else
  \AtEndOfPackage{%
    \begingroup
    \@ifundefined{DeclareGraphicsRule}{%
      \endgroup
    }{%
      \def\x{dvips.def}%
      \expandafter\endgroup
      \ifx\x\Gin@driver
        \DeclareGraphicsRule{.pz}{eps}{.bb}{}%
        \DeclareGraphicsRule{.eps.Z}{eps}{.eps.bb}{}%
        \DeclareGraphicsRule{.ps.Z}{eps}{.ps.bb}{}%
        \DeclareGraphicsRule{.ps.gz}{eps}{.ps.bb}{}%
        \DeclareGraphicsRule{.eps.gz}{eps}{.eps.bb}{}%
      \fi
    }%
  }%
\fi
\endinput