I did View > PDF (pdflatex) then checked the temporary directory. It has all the EPS files with name changes as well as copies of the EPS files with .pdf extensions. There is an EPS -> PDF converter. It's ps2pdf and the converter line matches what you have.
Just as a check I tried View > PDF (ps2pdf) and it generated a .pdf, but after opening it Adobe Reader crashed. Not sure why, but I opened another .pdf that I didn't just make with LyX and it crashed too, so I figured it was an Adobe Reader problem. I rebooted and tried again and it worked! I then tried View > PDF (pdflatex) and it works too. I'm not sure what changed, but I hope it stays fixed. One more thing, I still get errors if I go to Document > Settings... > PDF Properties and click Use hyperref support. Can you use the hyperref package this way or is there a better way? Thanks for all your help! -Gabe On Thu, Feb 3, 2011 at 6:50 AM, Paul A. Rubin <ru...@msu.edu> wrote: > On 2/2/2011 9:35 PM, Gabriel Kniffin wrote: > >> >> Unfortunately I'm still getting the same "...cannot determine size of >> graphic in..." errors when trying to build a .pdf. >> >> You mentioned in a previous message that the images are all EPS files, > and IIRC you said that they show up in DVI and PS output but not in PDF > output. That suggests that LyX is failing to convert them to a preferred > format for PDF output. (EPS images go directly into PS output without > format change, and I believe that's also true of DVI output.) > > First check: View > PDF and, with LyX still open, peek into the temporary > directory and see if the EPS files were copied there (with name changes) and > if there are copies with the same file names but .pdf extensions. My guess > is the answers will be yes and no in that order. > > Next, go to Tools > Preferences... > File Handling > Converters and confirm > that there is at least one converter defined from EPS to PDF, and that the > converter line reads 'epstopdf --outfile=$$o $$i'. On my Windows box, the > converter is from EPS to PDF (ps2pdf) rather than to PDF (pdflatex), but > that does not seem to matter -- when I run View PDF (pdflatex), LyX runs > epstopdf. > > Finally, open a command shell and run 'kpsewhich epstopdf.exe'. If MiKTeX > is correctly installed, it should return the path to epstopdf.exe. > > /Paul > -- Gabriel Kniffin Research Assistant Northwest Electromagnetics and Acoustics Research Laboratory (NEAR-Lab) http://nearlab.ece.pdx.edu/ Electrical and Computer Engineering Dept. Portland State University (503) 725-3813 Lab (360) 521-8772 Mobile