Ekkehart Schlicht wrote:
> Thanks a lot, Paul. The issue does not relate to previews etc. I have
> digged myself.
>
> The issue relates to the LyX-MikTeX interaction and warrants some
> changes in LyX, I think.
>
> If I embed Fig1.pdf and export to pdflatex, Lyx generates
>
>
> \includegraphics[width=0.8\columnwidth,keepaspectratio]{Fig1}
>
> If I compile this, a new file "Fig1.png" is generated. This is the
> pixeled version which is used for the output.
This can happen because of the new 'vector' flag for file formats. Search
the list archive for details.
However some windows users reported that LyX would produce .png files for
vector formats even if the vector flags where correctly set. This is not
supposed to happen and does not occur on linux, and so far no windows user
was able or willing to debug this.
> If I change the above line in the pdflatex file to
>
> \includegraphics[width=0.8\columnwidth,keepaspectratio]{Fig1.pdf}
>
> the output is o.k.
>
> Maybe it would be good not to truncate picture names in LyX. (In earlier
> version there was the issue, for instance, that LyX selected Fig1.eps
> even if Fig1.pdf was selected in the manuscript. This is a disturbing
> feature.)
See http://bugzilla.lyx.org/show_bug.cgi?id=2764. This will probably be
fixed in 1.5.0.
Georg