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>