As the title states, I'm having trouble with the conversion of my eps files to pdf.
Minimal example:
\documentclass[letterpaper, 10pt, twoside]{article}
\usepackage{graphicx}
\usepackage{epstopdf}
\begin{document}
\includegraphics{images/USArmy.eps}
\end{document}
results in:
! Package pdftex.def Error: File `images/USArmy-eps-converted-to.pdf' not foun
.
See the pdftex.def package documentation for explanation.
Type H <return> for immediate help.
...
l.7 \includegraphics{images/USArmy.eps}
Here's the odd part: the log says that it generated everything successfully:
Package epstopdf Info: Source file: <images/USArmy.eps>
(epstopdf) date: 2016-06-01 16:08:39
(epstopdf) size: 6728 bytes
(epstopdf) Output file: <images/USArmy-eps-converted-to.pdf>
(epstopdf) Command: <repstopdf --outfile=images/USArmy-eps-converte
d-to.pdf images/USArmy.eps>
(epstopdf) \includegraphics on input line 7.
runsystem(repstopdf --outfile=images/USArmy-eps-converted-to.pdf images/USArmy.
eps)...executed safely (allowed).
Package epstopdf Info: Result file: <images/USArmy-eps-converted-to.pdf>.
! Package pdftex.def Error: File `images/USArmy-eps-converted-to.pdf' not found
.
Sure enough, I do not have the .pdf file in the images directory. Even more confusing, if I run repstopdf manually, the pdf file works fine:
repstopdf --outfile=images/USArmy-eps-converted-to.pdf images/USArmy.eps
Any suggestions? I have tried adding [outdir=./] and [outdir=./images/] to the epstopdf package as package options as well with the same results. I'm using the latest texlive portable, installed yesterday.
Edit: Reproduction steps:
Install minimal texlive portable to
c:\texwithepstopdfand graphics supportCopy example with any
epsfile toc:\workand open a command promptcd /d "c:\work"set PATH="C:\tex\bin\win32"pdflatex sample.tex
Note that the full texlive and miktex installs both work fine without having to set the path. Which makes it even more odd.
tiger.epstoimages/USArmy.eps. No errors and output is as you'd expect - a too-big tiger on page 2. – cfr Jun 01 '16 at 22:49