Bo Peng wrote: > Dear all, > > The problem is narrowed down to the lyxrc.dist file comes with the > windows installer. Its content is > > \path_prefix "C:\Program Files\LyX15\bin;C:\Program > Files\LyX15\python;C:\Program Files\MiKTeX 2.5\miktex\bin;C:\Program > Files\gs\gs8.54\bin;C:\Program Files\ImageMagick-6.3.0-Q16" > \screen_font_roman "Times New Roman" > \screen_font_sans "Arial" > \screen_font_typewriter "Courier New" > \preview_scale_factor 1.0 > \format "pdf" "pdf" "PDF (ps2pdf)" "P" "pdfview" "" "document" > \format "pdf2" "pdf" "PDF (pdflatex)" "F" "pdfview" "" "document" > \format "pdf3" "pdf" "PDF (dvipdfm)" "m" "pdfview" "" "document" > > If I remove this file, or comment out the > \format "pdf" "pdf" "PDF (ps2pdf)" "P" "pdfview" "" "document" > line, the pdf figures will be used directly.
And what does the debug message "Couldn't find a known format!" from getFormatFromContents have to do with that? I don't understand. This debug message means that getFormatFromContents cannot determine the file format. As soon as you have time to debug this, could you please send the output of -dbg files,graphics for both cases (with and without pdf format)? > Anyone know what is going on here? Actually, I am using view->pdflatex > so only pdf2 should matter... No. pdf2 does only matter for the final document, the included graphics are converted to pdf. Georg