[XeTeX] JPEG inclusion

Jonathan Kew jonathan_kew at sil.org
Sun Nov 25 14:22:50 CET 2007


On 25 Nov 2007, at 10:32 am, Jacques Ropers wrote:

> I guess I am making something wrong but I can't manage to include some
> jpegs using xelatex. The following code works with pdflatex whereas  
> the
> jpeg does not appear in the pdf created by xelatex.
>
> \documentclass[11pt, a4paper]{article}
> \usepackage{graphicx}
>
> \begin{document}
> test\
> \includegraphics[width=5cm,height=3cm]{logo}\\
> test\\
> \end{document}

That should work, but clearly something is broken. Could you send me  
an example of such a jpeg file that doesn't work for you, and the  
complete .log of the xelatex run?

Also, please specify which OS and XeTeX version you're using. (What  
does "xetex -version" and "xdvipdfmx -h" report?)

JK



More information about the XeTeX mailing list