Am Montag, 5. Dezember 2005 14:40 schrieb Jean-Francois Roy:
> Indeed, I cannot seem to include any graphics (images) in my
> documents. Or rather, documents that are typeset perfectly fine on
> Linux won't hear a thing on my computer. However, this only occurs
> when I use the pdflatex, DVI or dvipdfm options of the View menu. For
> a reason I cannot explain, the "ps to pdf" option works just fine.
>
> Graphics are included by adding a float:figure element and including
> within that an ERT block, with the following commands
>
> \center{\includegraphics[scale=0.9,angle=0]{graphics/myimage.pdf or
> myimage.png}}
This ERT is the problem. If you are using ERT you need to understand how
the different LaTeX compilers deal with graphics. AFAIK pdf files can
only be used natively by pdflatex. Use the graphics inset, and LyX will
convert the files for you into a suitable format.
This does not explain why it works on Linux, but I am sure that the
problems will go away if you use the graphics inset.
Georg