Generalepstopdf | Figure Problem

General information and discussion about TeXnicCenter
Post Reply
jortiz12
Posts: 2
Joined: Mon Mar 26, 2012 10:58 pm

epstopdf | Figure Problem

Post by jortiz12 »

Dear LaTeX community,

I can not use EPS figures (before I was able to do so). I've tried to run the wizard of TeXnicCenter to restore defaults. Before I had no problems, as I was using the package epstopdf. Any ideas?

The main error when I run LaTeX => PDF is the following:
Package pdftex.def Error: File ´kkk-eps.converted-to.pdf´ not found
I include a MWE (I´ve attached the associated kkk.eps figure).

Code: Select all

\documentclass[11pt]{article}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{epstopdf} 

\begin{document}
  Text
  \begin{figure}[ht]
    \centering
    \includegraphics[scale=0.5]{kkk}
    \caption{caption text}
    \label{fig:image}
  \end{figure}
\end{document}
Thxs vm in advance.
Kind rgds

Jose
Attachments
kkk.eps
figure to be inserted
(12.04 KiB) Downloaded 451 times
Last edited by localghost on Tue Mar 27, 2012 9:26 am, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
MartinC
Posts: 153
Joined: Wed Jan 17, 2007 10:09 pm

Re: epstopdf | Figure Problem

Post by MartinC »

In order to use epstopdf, you need to add the option "-enable-write18" (I assume you use Miktex) to the command line arguments of pdflatex. Go to Build>Define Output Profiles, then to the latex->PDF profile and add "-enable-write18".
jortiz12
Posts: 2
Joined: Mon Mar 26, 2012 10:58 pm

epstopdf | Figure Problem

Post by jortiz12 »

Dear MartinC,

I think I already did that, as that was said in previous questions about the same topic.

This is what I've in my TeXnicCenter "LaTeX => PDF" output profile:

Code: Select all

-enable-write18 -interaction=nonstopmode "%pm" 
The weird thing is that I did not have this problem before. Don't know what has gone wrong. I am thinking of reinstalling TeXnicCenter again.


Thxs vm, but the problem is still there.
Jose
TexMo
Posts: 3
Joined: Thu May 10, 2012 6:50 pm

Re: epstopdf | Figure Problem

Post by TexMo »

Hi.

I also have the same problem. Texniccenter used to create pdf-files out of eps-files on the fly, but this isn't happening anymore. I have tried several possible solutions, but none of them helped.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

epstopdf | Figure Problem

Post by Stefan Kottwitz »

Hi,
TexMo wrote:I have tried several possible solutions, but none of them helped.
which did you try and which was the result? If you would tell what you already did, we don't need to repeat that.

Furthermore, it would be good if you would tell details about your situation. Besides that you problem is similar: which packages do you use, which TeX distribution and which version, which TeX engine, perhaps post a code example and the corresponding .log file as attachment, there's further information.

Stefan
LaTeX.org admin
Post Reply