If I have an eps file in a subfolder and point to it with graphicspath, it can't seem to do the conversion, the log says:
(epstopdf) Output file: </path/to/image/img-eps-converted-to.pdf>
(epstopdf) Command: <repstopdf --outfile=/path/to/image/img-eps-converted-to.pdf /path/to/image/img.eps>
(epstopdf) \includegraphics on input line 72.
runsystem(repstopdf --outfile=/path/to/image/img-eps-converted-to.pdf /path/to/image/img.eps)...executed safely (allowed).
Package epstopdf Info: Result file: </path/to/image/img-eps-converted-to.pdf>.
./chapters/results2.tex:72: Package pdftex.def Error: File `/path/to/image/img-eps-converted-to.pdf' not found.
If I run epstopdf --outfile=/path/to/image/img-eps-converted-to.pdf /path/to/image/img.eps it works fine. If I run the same command with repstopdf, it returns:
!!! Error: Output filename '/path/to/image/img-eps-converted-to.pdf' not allowed in restricted mode.
Running ls -ld /path/to/image returns:
drwxrwxr-x
Files for example:
test.tex:
\documentclass[maintest.tex]{subfiles}
\graphicspath{{/path/to/image/}}
\epstopdfsetup{outdir=/path/to/image/}
\begin{document}
\begin{figure}
\includegraphics{img.eps}
\end{figure}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
maintest.tex:
\documentclass{book}
\usepackage{mystyle}
\begin{document}
\subfile{chapters/test}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
mystyle.tex:
\usepackage[utf8x]{inputenc}
\usepackage{graphicx}
\usepackage{subfiles}
\usepackage{epstopdf}
TEXMFOUTPUT) in the default restricted shell escape mode. – Heiko Oberdiek Jun 26 '15 at 02:26