Featured Book

LaTeX Beginners Guide

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 1 guest

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

including .eps figure

Add tags Information and discussion about proTeXt distribution for Windows; installation, administration; field reports

including .eps figure

Postby osamalatex on Wed Jun 11th, 2008

Hi every body,

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.
osamalatex
 
Posts: 2
Joined: Wed Jun 11th, 2008

Re: including .eps figure

Postby Stefan_K on Wed Jun 11th, 2008

Hi,

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
LaTeX Community Administrator
User avatar
Stefan_K
Site Admin
 
Posts: 6336
Joined: Mon Mar 10th, 2008
Location: Hamburg, Germany

Re: including .eps figure

Postby osamalatex on Thu Jun 12th, 2008

8-) Yes it works now, the dvi file shows my .eps figure. Now, what is the way to convert .dvi file to .pdf file such that all fonts are embedded?

Thanks stefan_k

Osama.
osamalatex
 
Posts: 2
Joined: Wed Jun 11th, 2008

Re: including .eps figure

Postby Stefan_K on Thu Jun 12th, 2008

Hi,

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
LaTeX Community Administrator
User avatar
Stefan_K
Site Admin
 
Posts: 6336
Joined: Mon Mar 10th, 2008
Location: Hamburg, Germany

Re: including .eps figure

Postby fewzee on Mon Jul 27th, 2009

Hi,

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
fewzee
 
Posts: 2
Joined: Mon Jul 27th, 2009

Re: including .eps figure

Postby justinkearns on Tue Sep 8th, 2009

Try using MiKTex 2.8 and including the extension .eps with your file name. MiKTeX 2.8 partially enables \write18, which may solve your problem.

Jim
justinkearns
 
Posts: 7
Joined: Sat Sep 5th, 2009

Re: including .eps figure

Postby sgp on Thu Jul 22nd, 2010

hi,
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.
sgp
 
Posts: 30
Joined: Thu Jul 22nd, 2010


Return to proTeXt

Who is online

Users browsing this forum: No registered users and 1 guest