mercredi 3 décembre 2014

How can I include a PNG image using XeTeX?


I can include a pdf image using pdflatex as a compiler, and the code:



\usepackage{graphicx}

....

\begin{figure}
\centering
\includegraphics[scale=0.6]{chiaroscuro-victorian.png}
\end{figure}


But when I compile using XeTeX, I get the error:



! LaTeX Error: Cannot determine size of graphic in chiaroscuro-victorian.png (no BoundingBox).


I'm also using the mla package, if that's relevant at all:



\usepackage{mla}


How can I import this image and use XeTeX?





Aucun commentaire:

Enregistrer un commentaire