[XeTeX] I can't include a gif image
Fr. Michael Gilmary
FrMichaelGilmary at MaroniteMonks.org
Sun Dec 21 18:40:25 CET 2008
Francisco Chaves wrote:
> Hi all
>
> I don't know how I can include a gif image. I am using
>
> {\XeTeXpicfile "escudo.gif" height 2cm}
>
> but XeLaTeX gives me the following error
>
> ***************************
> ! Unable to load picture or PDF file 'escudo.gif'.
> <to be read again>
> }
> l.5 {\XeTeXpicfile "escudo.gif" height 2cm}
> ***************************
>
> Thanks in advance
>
> Francisco
Hi Francisco!
Try to add
\usepackage{graphicx}
to your preamble and *convert the image to a jpg ... and use
\includegraphics[height=2cm]{escudo}
in your document (see below). It worked here.
%%%%%%%%%%%%%%%%%%%%
\documentclass[11pt,a4paper]{article}
\usepackage{xltxtra}
\usepackage{graphicx}
\usepackage{lipsum}
\begin{document}
\includegraphics[height=2cm]{escudo}
\lipsum[2]
\end{document}
%%%%%%%%%%%%%%%%%%%%
--
United in adoration of Jesus,
fr. michael gilmary, mma
Most Holy Trinity Monastery
67 Dugway Road
Petersham, MA 01366-97255
More information about the XeTeX
mailing list