[XeTeX] Including encapsulated Postscript files using xelatex

Mi CHEN chenmi1999 at gmail.com
Mon Dec 15 18:19:37 CET 2008


Hi,

You could try to convert it to pdf format if that is acceptable.

On Tue, Dec 16, 2008 at 12:45 AM, joe tex <joetex1 at gmail.com> wrote:

> The following code for including .eps graphics doesn't work for me for some
> reason.
> -----------< cut here>------------------------------------
>
> \documentclass{article}
> \usepackage{fontspec}
> \usepackage{xunicode,xltxtra}
> \usepackage[dvips]{graphics}
> \begin{document}
> \begin{figure}[htb!]
> *\includegraphics{sample.eps}*
> \end{figure}
> \end{document}
>
> ------------------< cut here >-------------------------
>
> I get an output :
>
> -----------------< cut here > ------------------------------------------
> ("C:\MiKTeX 2.7\tex\latex\misc\etex.sty")
> ("C:\MiKTeX 2.7\tex\latex\base\fixltx2e.sty"))
>
> ! LaTeX Error: Option clash for package graphics.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
>
> l.7 \begin
>           {document}
> (incl_eps_xetex.aux) <sample.eps> [1] (incl_eps_xetex.aux) )
> (see the transcript file for additional information)
> ** WARNING ** No image converter available for converting file "sample.eps"
> to PDF format.
> ** WARNING ** >> Please check if you have 'D' option in config file.
> ** WARNING ** pdf: image inclusion failed for "sample.eps".
> ** WARNING ** Failed to read image file: sample.eps
> ** WARNING ** Interpreting special command PSfile (ps:) failed.
> ** WARNING ** >> at page="1" position="(133.768, 473.198)" (in PDF)
> ** WARNING ** >> xxx "PSfile="sample.eps" llx=201 lly=324 urx=395 ury=518
> rwi=1940 "
>
> Output written on incl_eps_xetex.pdf (1 page).
> Transcript written on incl_eps_xetex.log.
>
> ------------------------< cut here
> >--------------------------------------------------
>
> I use the following command line to make the pdf
> "C:\MiKTeX 2.7\miktex\bin\xelatex" -interaction=nonstopmode
> incl_eps_xetex.tex
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
>


-- 
Regards,
Mi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20081216/413b78da/attachment.html 


More information about the XeTeX mailing list