[XeTeX] Newbie problem with \includegraphics and xelatex
Ulrike Fischer
news3 at nililand.de
Tue Mar 31 15:40:12 CEST 2009
Am Tue, 31 Mar 2009 14:04:14 +0100 schrieb Brian Passingham:
> Hi there.
>
> I'm sure I'm making an elementary error here somewhere, but I'm having
> trouble getting PDF graphics included in a document.
> This is a much stripped down version of the original document, but
> should allow diagnosis of the problem:
>
> \documentclass[10pt,a4paper]{article}
> \usepackage[xetex,final]{graphicx}
> \usepackage{fontspec,xunicode,fixltx2e}
> \defaultfontfeatures{Mapping=tex-text}
> \setmainfont{TeX Gyre Pagella}
> \graphicspath{.}
> \begin{document}
> Testing XeLaTeX --- Predictions for α-nonexistentamine :
>
> \includegraphics[width=5cm]{plotivVEN.pdf}
>
> That's all folks.
>
> \end{document}
>
>
> This "works" - the text is okay, and there are no error messages -
> but produces an output PDF file with no graphic - just a gap.
Where is the graphic relativ to your document? What is the
graphicspath-command supposed to do? And what do you get if you run
xelatex --output-driver="xdvipdfmx -vv" <file>
--
Ulrike Fischer
More information about the XeTeX
mailing list