[XeTeX] XeTeX/MiKTeX bug: \graphicspath does not work as intended

Vladimir Lomov lomov.vl at gmail.com
Sat Dec 26 04:30:05 CET 2009


On Fri, Dec 25, 2009 at 14:24:17 +0100, Ulrike Fischer wrote:
> Am Thu, 24 Dec 2009 20:37:39 +0600 schrieb Igor Kotelnikov:

Igor Kotelnikov => IK
Ulrike Fischer => UF

IK>> Hello,

IK>> I looked through several old posts reporting same issues butb did not
IK>> understand whether they were fixed or not. I am using the most recent MiKTeX
IK>> and I found that

IK>> 1. \graphicspath does not work with xetex as it does with latex and
IK>> pdflatex.
IK>> 2. empty extension of a graphics file is not allowed in \includegraphics.

IK>> I mean that
IK>>     \graphicspath{{graphs/}}
IK>>     \includegraphics{figure}
IK>> does not work but
IK>>      \includegraphics{graphs/figure.pdf}
IK>> inserts figure.pdf located if graphs subdirectory.

IK>> Both these features (\graphicspath and empty extension ) of the graphics(x)
IK>> packages are documented in a number of latex manuals and I belived that
IK>> xelatex must follow the standards of the latex markup. I wonder if these
IK>> deviations from the latex standard is a feature of XeLaTeX itself or is it a
IK>> MiKTeX bug?

UF> I can't reproduce the problem. 

UF> The following works fine for me and use testimg.pdf in the subfolder
UF> test:

UF> \listfiles
UF> \documentclass{article}
UF> \usepackage{graphicx}
UF> \graphicspath{{test/}}

UF> \begin{document}
UF> \includegraphics[width=4cm]{testimg}
UF> \end{document}

UF> I tested with xetex 3.1415926-2.2-0.999.7 from miktex 2.7 and 
UF> xetex 3.1415926-2.2-0.9995.1 from miktex 2.8. 

Confirm, works on TL 2009 (distro package and TL distribution)

May be a bug in MiKTeX?

-- 
Drive defensively.  Buy a tank.


More information about the XeTeX mailing list