I have a figure name "L=10_W=8.00.eps", I put it in the \figure environment by
\includegraphics{L=10_W=8.00.eps}
compile it with xelatex, but get error: File ended prematurely
After I renamed it to "L=10_W=8.eps", the error goes away.
I have a figure name "L=10_W=8.00.eps", I put it in the \figure environment by
\includegraphics{L=10_W=8.00.eps}
compile it with xelatex, but get error: File ended prematurely
After I renamed it to "L=10_W=8.eps", the error goes away.
This works for me, tell latex it is eps type and the extension to use for the file itself and to find the bounding box
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics[width=5cm,ext=.1.eps,type=eps,read=.1.eps]{example}
\end{document}
this includes example.1.eps using xelatex.
\usepackage[multidot]{grffile}. – Werner Jun 26 '14 at 20:48\includegraphics– David Carlisle Jun 26 '14 at 20:49put the filename in {} is a simple solution.
– Tim Jun 26 '14 at 21:15{}hide the extension from the scanner but one would have expected them not to be dropped when referring to a file name, just as\input{{a.b}.tex}does not work. – David Carlisle Jun 26 '14 at 21:21