Thanks everyone for the answers. <br>I can convert eps to pdf manually and then include it.<br><br>- Joe<br><br><br><br><br><div class="gmail_quote">On Mon, Dec 15, 2008 at 12:19 PM, Wilfred van Rooijen <span dir="ltr"><<a href="mailto:wvanrooijen@yahoo.com">wvanrooijen@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Joe,<br>
<br>
First of all, I'd change<br>
<br>
> \usepackage[dvips]{graphics}<br>
<br>
to<br>
<br>
\usepackage{graphicx}<br>
<br>
You're using xelatex so no need for the dvips driver, and graphics is obsolete.<br>
<br>
Further, as far as I know, all 'pdf-capable' latexes only take PDF, PNG, and JPG as graphics. Either convert your sample.eps to PDF with ps2pdf, or insert a \DeclareGraphicsRule somewhere to do the conversion on-the-fly.<br>
<br>
Cheers,<br>
<font color="#888888">Wilfred<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
> \begin{document}<br>
> \begin{figure}[htb!]<br>
> *\includegraphics{sample.eps}*<br>
> \end{figure}<br>
> \end{document}<br>
><br>
> ------------------< cut here<br>
> >-------------------------<br>
><br>
> I get an output :<br>
><br>
> -----------------< cut here ><br>
> ------------------------------------------<br>
> ("C:\MiKTeX<br>
> 2.7\tex\latex\misc\etex.sty")<br>
> ("C:\MiKTeX<br>
> 2.7\tex\latex\base\fixltx2e.sty"))<br>
><br>
> ! LaTeX Error: Option clash for package graphics.<br>
><br>
> See the LaTeX manual or LaTeX Companion for explanation.<br>
> Type H <return> for immediate help.<br>
> ...<br>
><br>
> l.7 \begin<br>
> {document}<br>
> (incl_eps_xetex.aux) <sample.eps> [1]<br>
> (incl_eps_xetex.aux) )<br>
> (see the transcript file for additional information)<br>
> ** WARNING ** No image converter available for converting<br>
> file "sample.eps"<br>
> to PDF format.<br>
> ** WARNING ** >> Please check if you have 'D'<br>
> option in config file.<br>
> ** WARNING ** pdf: image inclusion failed for<br>
> "sample.eps".<br>
> ** WARNING ** Failed to read image file: sample.eps<br>
> ** WARNING ** Interpreting special command PSfile (ps:)<br>
> failed.<br>
> ** WARNING ** >> at page="1"<br>
> position="(133.768, 473.198)" (in PDF)<br>
> ** WARNING ** >> xxx<br>
> "PSfile="sample.eps" llx=201 lly=324 urx=395<br>
> ury=518<br>
> rwi=1940 "<br>
><br>
> Output written on incl_eps_xetex.pdf (1 page).<br>
> Transcript written on incl_eps_xetex.log.<br>
><br>
> ------------------------< cut here<br>
> >--------------------------------------------------<br>
><br>
> I use the following command line to make the pdf<br>
> "C:\MiKTeX<br>
> 2.7\miktex\bin\xelatex"<br>
> -interaction=nonstopmode<br>
> incl_eps_xetex.tex<br>
</div></div><div><div></div><div class="Wj3C7c">> _______________________________________________<br>
> XeTeX mailing list<br>
> <a href="mailto:postmaster@tug.org">postmaster@tug.org</a><br>
> <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br>
<br>
<br>
_______________________________________________<br>
XeTeX mailing list<br>
<a href="mailto:postmaster@tug.org">postmaster@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>- Joe<br>