Am Samstag, 3. Februar 2007 15:35 schrieb Michael Gerz: > A little warning to all pdflatex users (at least to those using the > latest MikTeX 2.5): > > pdflatex prefers PNG files over PDF files!!!! > > Since LyX outputs graphics file names without file extension _and_ > generates PNG files for internal use, pdflatex erroneously picks the PNG > graphics. Depending on the type of graphics, the result can be very poor! > > By accident, I ran into this problem on Thursday. Right now, I am > looking for a solution to overcome the problem. I read something about > \DeclareGraphicsExtension that may help... hopefully. > > Any suggestions are highly appreciated!
I finally believe that we always should output the extension. See also http://bugzilla.lyx.org/show_bug.cgi?id=2764. The original purpose of leaving out the extension (making the file work with both pdflatex and latex) is not valid anymore, since we have a separate export format for pdflatex that does also take other differences into account. Unless somebody complains I will make the graphics inset unconditionally output the extension soon. Georg