0

I have a problem compiling eps-files with the epstopdf package. I use TeXStudio portable and try to compile the following code:

\documentclass{article}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[latin1]{inputenc}

\begin{document}

  \begin{figure}[h]
\includegraphics[width=\columnwidth]{test.eps}
  \end{figure}

\end{document}

This code gives me the error "epstopdf" either misspelled or does not exist. So I tried to convert the eps-file prompt and get the same error message.

Can anybody tell me what's wrong with my Latex setup?

Thank you!

Froop
  • 191
  • Sound as if you don't have the epstopdf executable. Which texsystem do you have? – Ulrike Fischer May 21 '14 at 12:06
  • Thank you for your answer. What do you mean with "texsystem"? – Froop May 21 '14 at 12:23
  • @Froop: What kind of LaTeX installation do you have? Are you working on Windows, on a Mac or on Linux? – Habi May 21 '14 at 12:32
  • I'm working with Miktex portable on Windows. – Froop May 21 '14 at 12:41
  • @Froop: You have installed MiKTeX packages miktex-ghostscript-base, miktex-ghostscript-bin, miktex-graphics-bin? – Heiko Oberdiek May 22 '14 at 05:28
  • I can find miktex-ghostscript-base, but the other packages are missing. I will try to install them! – Froop May 23 '14 at 05:25
  • I can not find any of these packages. But I tried to run epstopdf.exe on cmd and it worked, when I wrote the exact path. Without the path I got the same error as latex gives me. Can anybody help me? – Froop May 27 '14 at 15:22

1 Answers1

1

So finaly I found a solution for the problem.

Solution 2. Launch TexMaker from within Miktex from the link Configuration of Texmaker to work with MiKTeX Portable worked. I followed the description and opened texstudio via miktex. After I did this I could compile eps-files without any errors. Now I can open texstudio without starting miktex previously and it still works with eps-files.

Froop
  • 191