[XeTeX] XeTeX/xdvipdfmx or the driver bug with eps images

Joseph Wright joseph.wright at morningstar2.co.uk
Wed May 28 16:01:05 CEST 2014


On 28/05/2014 05:24, Vafa Karen-Pahlav wrote:
> Hi list
> 
> It seems that xelatex has problems including eps images; please see the
> attached example and the provided eps image.
> 
> latex+dvips+pstopdf: image is included inside the \fbox
> 
> xetex recent versions: image is outside of \fbox
> 
> xetex old versions: (the one coded by Jonathan Kew): ok, image is included
> inside \fbox.
> 
> w.eps is taken from LaTeX graphics companion examples; therefore I do not
> think there is anything wrong with the image itself.
> 
> What is wrong?
> 
> I also have experienced some strange problems with recent versions of
> xetex; include an image in a document on Windows and the result is
> perfectly fine but you try to compile the same document on a different
> operating system, then images are placed strangely (i.e. the image width
> exceeds the textwidth and is placed on the right or left hand side). This
> issue is very annoying and existed for few years now. I try to send some
> minimal example for this later today.

Initial analysis: http://tex.stackexchange.com/questions/180766. It
looks to me like this is not XeTeX-specific but is linked to a change in
(x)divpdfmx and related config files:
http://tug.org/svn/texlive?view=revision&revision=30175 (versions of
xetex.def before this do not give the issue).

As noted by Herbert Voss, w.eps is really a PS file. However, it's
treated differently by dvips than (x)dvipdfmx, and that's not expected!
-- 
Joseph Wright



More information about the XeTeX mailing list