MiKTeX and proTeXt ⇒ including .eps figure
-
- Posts: 2
- Joined: Wed Jun 11, 2008 7:13 pm
including .eps figure
I'm in the middle of writing a paper, I'm using latex through protext. I have the following problem:
I included a graphics (.eps file) in the following way:
\usepackage{graphicx}
\begin{figure}
\centering
\includegraphics{eijkel2}
\caption{whatever}
\label{fig:example}
\end{figure}
The figure takes empty space in the generated pdf file. what is happening? Why can't I see the figure?
I tried the [dvips] option with the \usepackage{graphicx}, but still, the problem is there.
Any help?
Thanks a lot.
Osama.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: including .eps figure
don't use pdflatex, use latex instead, that means compile to dvi and convert to ps and pdf then.
If you are already doing this, look at your logfile for warnings or post your logfile here as attachment.
Stefan
-
- Posts: 2
- Joined: Wed Jun 11, 2008 7:13 pm
Re: including .eps figure

Thanks stefan_k
Osama.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: including .eps figure
use dvipdfm, it's delivered with the proTeXt (MiKTeX) distribution. Or convert with dvips and then ps2pdf. What Editor do you use? WinEdt, TeXnicCenter or another? Some editors provide buttons for conversion from dvi to pdf or dvi to ps and then to pdf, they use dvipdfm/dvips/pd2pdf in the background.
Stefan
Re: including .eps figure
I've got the same problem (the .eps(es) don't show up in the output pdf) and also, I could not choose the dvi option as the output; it says something like:
PDF mode expected, but DVI mode detected...
I appreciate if you help me out,
Thanks,
Pouria
-
- Posts: 7
- Joined: Sat Sep 05, 2009 5:16 am
Re: including .eps figure
Jim
Re: including .eps figure
i think including this will help. It works for me at least. I use MIKTeX that comes with the proTeXt bundle.
\usepackage{epstopdf}
regards,
sgp.