# XeTeX crashing when including PDF files with \includegraphics [closed]

I've only used XeTeX a little so far for Greek text and it's the first time I am trying to include figures. \includegraphics works fine with PNG images but when I try PDF files, it just crashes. Here's a minimal sample:

\documentclass{article}
\usepackage{graphicx}

\begin{document}

Text.

\includegraphics[width=\textwidth]{fig.pdf}

\end{document}


The same sample works with fig.png instead of fig.pdf. It also works perfectly for both file types with PDFTeX. I am using the following XeTeX version:

This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)


on Ubuntu 12.04 (with package texlive-full installed). Any idea what may be wrong?

-

## closed as off-topic by Paul Gessler, Werner, Martin Schröder, Christian Hupfer, MalipivoJan 14 at 19:19

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Perhaps you should update. On MiKTeX 2.9, I have version 0.99993. –  Bernard Mar 20 '14 at 2:15
Just want to make sure (this might be a reason): this is not a file called fig.tex, right? ;) –  mbork Mar 20 '14 at 2:23
@mbork No, it is not :-) –  iavr Mar 20 '14 at 2:32
Your XeTeX version is completely outdated! I recommend TeX Live 2013. –  Uwe Ziegenhagen Mar 20 '14 at 2:38
This question appears to be off-topic because it is only reproducible with specific PDF files that haven't been provided. –  Paul Gessler Jan 14 at 18:51