On 27/08/2011 12:18 PM, Liviu Andronic wrote:
On Sat, Aug 27, 2011 at 8:58 AM, Jürgen Spitzmüller<sp...@lyx.org>  wrote:
Waluyo Adi Siswanto wrote:
Why LyX does not write the extension, is this a bug?

No, it's a feature. If no extension is specified, LaTeX (the graphics package,
for that matter) searches for the most suitable format for the given
processor. So if you have \includegraphics{myfile} and two files myfile.eps
and myfile.pdf are available, graphcs will select the eps file for DVI/PS
output and the PDF file for PDF output.

If the EES cannot deal with this, it's probably a bug in the EES.

For such extreme cases, wouldn't it be better if the user could
control which extension is being used? For example, she would need to
force LyX to use the extension of the file originally supplied in the
insert graphic inset ('fig.pdf') and LyX would automatically add this
extension to all included graphics, respectively.
Liviu


So it's a feature that doesn't necessarily fit every workflow. Also see this bug report:
http://www.lyx.org/trac/ticket/2764

--
Julien

Reply via email to