diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-07-13 16:52:39 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-07-13 16:52:39 +0000 |
commit | 5f742ade5a758259b4adbfccb842dd091cc4977c (patch) | |
tree | 5900766e95659ce8a7bfcdad5274574b1b568513 /Master/texmf-dist/tex/latex/latexconfig | |
parent | 4ffc1f87ae8dc7ec2e6e154a8d7708f03ee777bd (diff) |
epstopdf-sys.cfg v1.3 per Heiko
http://tug.org/pipermail/tex-live/2010-July/026645.html
git-svn-id: svn://tug.org/texlive/trunk@19426 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/latexconfig')
-rw-r--r-- | Master/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg b/Master/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg index 0096423242c..8ceae56293c 100644 --- a/Master/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg +++ b/Master/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg @@ -1,7 +1,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/06/06 v1.2 Configuration of (r)epstopdf for TeX Live]% + [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=repstopdf% only the restricted epstopdf is allowed -} + program@epstopdf=\epstopdf@sys@cmd +}% \endinput |