On Tue, Dec 10, 2002 at 06:34:58PM +0100, Jean-Marc Lasgouttes wrote: > > What I do not see is what is the practical use of removing the > extension on output... We should output without extension when there > is no extension in the graphics file name (and use the same rules to > search as latex/pdflatex), but not remove them. > > Does anybody know why this is supposed to be a good idea?
When exporting the LyX file into latex, it does make sense to remove the extension as it makes the file compilable by either latex or pdflatex. However, when LyX creates a latex file in the process of creating DVI/PDF file, it does not make sense to remove the extension, as we know exactly which graphics file should be used by latex/pdflatex. The strange thing is that the current code does not remove the extension in the former case, and remove the extension in the latter case !