Hi all, I came across the situation when some of my older lyx files could no longer compile under new versions of LyX. lyx2lyx goes smoothly but pdf generation fails.
The reason is that I was using graphics files that were visible for latex (via kpsewhich), but not for LyX. As a results, new versions of LyX exports latex with additional parameters (line 774, InsetGraphics.cpp): "bb = 0 0 200 100, draft, type=eps" which is inappropriate e.g. for .pdf files. Is there any reason why "type=eps" is default? The easiest solution would be just to remove it. I believe that "draft" is enough to compile it if the file is truly missing. Personally, I would like to make use of kpsewhich in lyx. I think that I would be able to provide a patch for linux, but I am not sure how it works cross-platform. Any advice? Best, Vasek