[Tex/LaTex] Unable to load picture or PDF file

file-lookupgraphics

XeLaTeX has stopped including .eps files in my document. I get errors such as:

! Unable to load picture or PDF file './images/deBuitleir.fig4.eps'.

The image file is there, I double-checked.

History: Inclusion of .eps images worked fine until I did a "safe-upgrade" on Debian. Based on this and this, it seems to be a regression of an old Debian bug. Since I couldn't find a patch that fixed the problem, I removed all TeX and XeTeX packages on my Debian system and installed TeX Live from source. I then updated my path. Unfortunately, the error is still occurring, even though I have a "plain vanilla" TeX Live installation.

I really really don't want to convert all of my .eps files to another format. Does anyone know how to fix this? Thank you in advance.

Here's the MWE:

\documentclass[letter,10pt]{article}

\usepackage{graphicx}

\begin{document}

Figure 1

\includegraphics[scale=0.5,keepaspectratio=true]{./images/deBuitleir.fig1.eps}

\end{document}

Best Answer

Your file has two dots, so LaTeX sees it as .fig4.eps - which is an unknown graphics file type.

Add \usepackage[multidot]{grffile}

See also \includegraphics: Dots in filename

Related Question