On 12/15/2011 11:09 AM, Guenter Milde wrote:
On 2011-12-15, Steve Litt wrote:
On Wednesday, December 14, 2011 07:05:30 PM Guenter Milde wrote:
AFAIK, the extension is kept if you specify it in the LyX source.
I thought so too, but with my LyX 2.0.0 April 29, 2011, I inserted
title_big.jpg specifying the .jpg, and the LaTeX it generated with lyx
--export latex had just title_big with no extension. I was as
surprised as you are.
I just checked with 1.6.7 - indeed the extension is gone.
I thought it was kept some time (maybe years) ago.

IMV it's worth a feature request as

* there are cases where the author is smarter than her/his computer,
* it is easy to get the automatic selection by just leaving off the extension.
How does LyX know which image to use in this case? Suppose you have file.jpg and file.gif and file.eps, all in the same directory.

As I said, this can already be done with InsetExternal. There's no need to complicate the graphics code for such a rare case.

Richard

Reply via email to