summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
blob: 8ceae56293ce7dfce057cd58312056043646b3d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
% Public domain.
% History:
% 2010/06/06 v1.2
% 2010/07/13 v1.3
% * Use `epstopdf' instead of `repstopdf' if \pdfshellescape == 1
%
\ProvidesFile{epstopdf-sys.cfg}%
  [2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live]%
\def\epstopdf@sys@cmd{repstopdf}% default is restricted epstopdf
% epstopdf-sys loads pdftexcmds, \pdf@shellescape is provided
% for LuaTeX as well
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname pdf@shellescape\endcsname\relax
\else
  \ifcase\pdf@shellescape
  \or
    \def\epstopdf@sys@cmd{epstopdf}% unrestricted if \pdfshellescape == 1
  \fi
\fi
\epstopdfsetup{%
  program@epstopdf=\epstopdf@sys@cmd
}%
\endinput