TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:
option outdir not set. Default: same directory as the .eps-source-file
epspdf is used with the following command:
epspdf <file> 
! Undefined control sequence.
l.345 \epstopdfDeclareGraphicsRule
share|improve this question
Welcome to TeX.sx! Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. – Kurt Nov 8 '12 at 17:22
Open your terminal and type the following command: which epspdf . What does it return? – Paulo Cereda Nov 8 '12 at 17:24
"which epspdf" tells me it can't find anything in the usual ../bin/ paths; I expect this since "epspdf" is not an installed program, but rather something that is called on-the-fly by my LaTeX compiler. "epstopdf" works in the terminal, but will this help me with on-the-fly conversions? – user21948 Nov 9 '12 at 11:36
@mamboholly Run sudo 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 use apt-get – egreg Nov 9 '12 at 11:47
This Fedora Project page has suggestions about installing missing packages. I usually recommend doing the full install. – egreg Nov 13 '12 at 11:34

epspdf is a ruby script, its sources can be found here. For Fedora, there is a texlive-epspdf package that should give you that, and usually this should already be installed as a dependency of texlive. If not, install that package via your preferred method.

share|improve this answer

Try using this other command: epstopdf on a bash terminal.

As an alternative you can use graphic programs such as Inkscapeto perform the conversion from eps to pdf files.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.