On 2017-08-21, Dr Eberhard Lisse wrote: > Hi, > would it be unexpected that an included listing file without extension, > ie something like
> filename > would throw an error that filename.tex is not found? At least, I am not surprised. I would expect this as a LaTeX error when the file "filename" is not present. LaTeX tries to append the standard extension for a given context. If "filename.tex" is searched even if "filename" exists (at the given path), then this is not good for included listings. The listings package documentation should show countermeasures (if not, this is a listings package documentation bug) and LyX should work around this (as actually, there should be no standard extension for listings). Günter