[texhax] pdflatex could not recognize .eps

Einar Arnason einar at kjoi.lif.hi.is
Tue Nov 4 14:26:02 CET 2003


Tran,

use ps2pdf to convert your graphics file to pdf:
ps2pdf my_file.eps

use includegraphics without the extension under both latex and pdflatex

\includegraphics{my_file}
 
cheers

Einar

------------------------------------------------------------------
Einar Arnason                       einar at lif.hi.is
Institute of Biology                
University of Iceland               office: (354)-525-4613
Grensasvegur 12                     lab:    (354)-525-4606
108 Reykjavik, Iceland              fax     (354)-525-4069
------------------------------------------------------------------
On Tue, 4 Nov 2003, Tran Hong Quang wrote:

> Hi,
> 
> I use package graphicx in order to add .eps file into my latex file. I then
> use \includegraphics{my_file.eps}.
> Then I run latex, no problem. Since I need .pdf or .ps file, so I use
> pdflatex ti compile but I got error.
> LaTeX error: Unknown graphics extension.
> 
> I then tried dvi2ps: no error, but the document .ps is nearly blank.
> 
> Anyone can help me out? Thanks
> 
> 
> _______________________________________________
> TeX FAQ: http://faq.tug.org/
> TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> 
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
> 



More information about the texhax mailing list