Even though I tried commenting out the two lines in the python
converting script at first, I was still getting the error.
I then tried to export to PDF (luatex), which worked!
Afterwards I tried to export to PDF (pdflatex), which worked!
Restarting LyX now also shows the pdf image inside LyX. So everything
now appears to work as expected.
I wonder why I was getting those glitches. Also, the wiki says that
GhostScript >8.70 should no longer exhibit that bug. I have 9.04
installed and I still can't see pdf images inside LyX without commenting
the two lines in the python script. Is this normal?
Cheers,
Bogdan.
On 28-Dec-11 4:13 am, Bogdan wrote:
Hi all,
I know this has popped up before as I've searched the list, but I'm
still stumped. I only just started with LyX (v2.0.2 under Windows).
I inserted a .pdf image and am trying to view the output with pdflatex,
i.e. View [PDF (pdflatex)], which gives me the above error. I get the
same error when I try to export to pdf (File > Export > PDF (pdflatex)).
Without the image, it views and exports the document just fine.
Digging into the issue a little, I notice that LyX is trying to convert
the .pdf image into a .eps image.
Exporting the file to Latex (File > Export > Latex (pdflatex)) and then
manually running "pdflatex myfile.tex" works just fine ...
pdflatex accepts .pdf images directly so why is LyX trying to convert it
to .eps?
If I actually convert the pdf image into eps, and knowing pdflatex
cannot accept eps images, does LyX actually converts pdf to eps and then
back to pdf for pdflatex? That would be too silly ...
What am I missing?
Many thanks in advance,
Bogdan.