I'm trying to use the epspdfconversion package under TeXLive, on a Linux system. I've successfully installed and included said package, but when executing the command:
pdflatex MyFile.tex
it returns the error:
sh: epspdf: command not found
pdfTeX error: pdflatex (file MyImageFile-epspdf-to.pdf): can
not find image file
==> Fatal error occurred, no output PDF file produced!
I've tried various pdflatex options (eg/ --shell-escape) with no luck. My guess is that the "command not found" debug points to the problem - any ideas?
I've a bit more information: if I try to compile with latex (instead of the Makefile I have been using), it produces the output below. I've looked into the file where "\epstopdfDeclareGraphicsRule" should be defined (tex/latex/oberdiek/epstopdf-base.sty) and it is there. It's called by the file tex/latex/epspdfconversion/epspdfconversion.sty, which I include in my top-level .cls file to perform the desired conversions.
Interestingly, if I carriage return through this error a .dvi file is still produced, which can be converted to pdf.
Package epstopdf Warning: Drivers other than `pdftex.def' are not supported.
)
epspdfconversion.sty is using epstopdf.sty with the following setup:
update=true,
verbose=true,
prefersuffix=true,
suffix=-epspdf-to,
option outdir not set. Default: same directory as the .eps-source-file
append,
enable
epspdf is used with the following command:
epspdf <file>
! Undefined control sequence.
l.345 \epstopdfDeclareGraphicsRule
{.eps}{pdf}{.pdf}{%
which epspdf. What does it return? – Paulo Cereda Nov 08 '12 at 17:24sudo apt-get install texlive-pictures(see here for a description of the package). Use your favorite package manager if you don't want to directly useapt-get– egreg Nov 09 '12 at 11:47epspdfto produce a.dvifile doesn't make sense. You have to runpdflatex, notlatex. – egreg Nov 12 '12 at 22:26epspdfwithpdflatex; if I runpdflatex --shell-escape MyFile.tex, where MyFile.tex references an image "MyDir/MyImage.eps", it produces the error[14]sh: epspdf: command not found !pdfTeX error: pdflatex (file MyDir/MyImage-epspdf-to.pdf): can not find image file ==> Fatal error occurred, no output PDF file produced!– mamboholly Nov 13 '12 at 10:45ls Xit finds it fine... – mamboholly Nov 13 '12 at 13:25