Hi,<br><br>You could try to convert it to pdf format if that is acceptable.<br><br><div class="gmail_quote">On Tue, Dec 16, 2008 at 12:45 AM, joe tex <span dir="ltr"><<a href="mailto:joetex1@gmail.com">joetex1@gmail.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;">The following code for including .eps graphics doesn't work for me for some reason.<br>-----------< cut here>------------------------------------<br>
<br>\documentclass{article}<br>\usepackage{fontspec}<br>\usepackage{xunicode,xltxtra}<br>
\usepackage[dvips]{graphics}<br>\begin{document}<br>\begin{figure}[htb!]<br><font size="4"><b>\includegraphics{sample.eps}</b></font><br>\end{figure}<br>\end{document}<br><br>------------------< cut here >-------------------------<br>
<br>I get an output :<br><br>-----------------< cut here > ------------------------------------------<br>("C:\MiKTeX 2.7\tex\latex\misc\etex.sty")<br>("C:\MiKTeX 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] (incl_eps_xetex.aux) )<br>
(see the transcript file for additional information)<br>** WARNING ** No image converter available for converting file "sample.eps" to PDF format.<br>** WARNING ** >> Please check if you have 'D' option in config file.<br>
** WARNING ** pdf: image inclusion failed for "sample.eps".<br>** WARNING ** Failed to read image file: sample.eps<br>** WARNING ** Interpreting special command PSfile (ps:) failed.<br>** WARNING ** >> at page="1" position="(133.768, 473.198)" (in PDF)<br>
** WARNING ** >> xxx "PSfile="sample.eps" llx=201 lly=324 urx=395 ury=518 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>I use the following command line to make the pdf<br>"C:\MiKTeX 2.7\miktex\bin\xelatex" -interaction=nonstopmode incl_eps_xetex.tex<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Mi<br>