I'm having troubles with LuaLaTeX and the listings
package: the former doesn't seem to accept me performing \lstinputlisting
on a filename that doesn't have an extension.
Minimal example:
Makefile
:
hello: hello.c
cc -o hello hello.c
test.tex
:
\documentclass[a4paper]{article}
\usepackage{listings}
\begin{document}
\lstinputlisting{Makefile}
\end{document}
pdfLaTeX is successful, LuaLaTeX displays the following error:
! Package Listings Error: File `Makefile(.tex)' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: tex)
Enter file name:
I'm using the freshest versions from TeXLive 2012 (pdfTeX 3.1415926-2.4-1.40.13, LuaTeX beta-0.70.2-2012052410).
What's the trouble?
\IfFileExists
.