On Thu, Jan 04, 2001 at 10:36:35PM +0100, [EMAIL PROTECTED] wrote:
> Hello,
>
> When I work directly in LaTeX and want include images and obtain both ps
> and pdf files, I simply use this :
>
> {\includegraphics{image}
>
> where "image" is the radical of the filename, without extension. In the
> current directory, I have both "image.eps" and "image.png". So, I can
> use latex or pdflatex, and all goes right, the program chooses the
> file-format it needs.
>
> But with Lyx, if I export in latex format, the resulting latex-file will
> include {\includegraphics{image.eps} and it's necessary to edit manually
> this file to eliminate the superfluous extensions.
>
> Was'nt it avoidable ? Or is it something wrong in my way of working ?
In the figure dialog box, enter the filename without its prefix.
You will lose the inline previewing, unless you use LyX 1.1.6pre3.