Uwe Stöhr wrote (2010-10-15 03:26): > pdflatex will use PDF, PNG, JPG and GIF images directly. Images in other > formats are converted to PNG. > But perhaps your PDF images are corrupted so that they are not > recognized as PDF. Can you post one of your images?
I just created a test PDF figure which also exhibits this problem. The figure I was originally having the problem with was created by someone else (so I'd rather not share it), but using completely different software to what I used to create the attached. Thus I doubt that corrupt PDFs are the problem. I don't know for certain, but it would make sense for LyX to convert vector formats to PNG so that it can display them. But then it seems that pdflatex uses those PNGs, too. When I do Export->Latex (pdflatex) the PNG image files are also created. Unless I delete them, when I run pdflatex it includes the PNG files, not the PDFs. When I delete the PNG files, pdflatex includes the PDF files just fine. (Indeed, this is how I work around the problem.) Is pdflatex supposed to guarantee the order in which it searches through extensions for figure files? Does LyX assume that order is sensible? Peace, Brendon
testfig.pdf
Description: Adobe PDF document
test.lyx
Description: application/lyx