Angus Leeming <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
> Jim Ragsdale wrote: >> I am having trouble including eps figures when running pdflatex. I >> can see that Lyx is converting the pics to pdfs in the graphics >> debug window. >> >> Executing command:epstopdf >> --outfile="_Thesis_pics_micro_crack_delam.pdf" >> "_Thesis_pics_micro_crack_delam.eps" >> >> then I can see the pdf's in the tmp directory. But when I view the >> pdf in Acrobat, I can't see the figures. > > Dumm question: > Can you open the graphics file itself using Acrobat? > Ie, "_Thesis_pics_micro_crack_delam.pdf". > Just tried this with a small test file (one EPS graphic). Test file exports ok with dvipdfm (which is what I normally use). With pdflatex, the PDF file is produced sans graphic. Moreover, 1. In the temp directory, the PDF file supposedly containing the graphic exists, and contains what looks like legitimate code (starts with %PDF- 1.3, ends with %%EOF, has some Adobe-type stuff in between) but is only 1 KB in size and does not appear to have anything resembling drawing commands or a bitmap. Acrobat Reader opens it as an empty document. 2. Ghostscript spits up assorted error messages (starting with Warning: BoundingBox not found, then Error: /rangecheck in --.peekstring--, and ending with an unrecoverable error on exit). 3. Same thing happens if I run epstopdf (which is the default converter in LyX) directly against the EPS file. So this isn't a LyX problem per se, it appears to be either a problem with epstopdf (presumably specific to the Win32 port?) or maybe a problem with whatever is generating the EPS file. If the latter, it's a bit of a coincidence that both Jim and I encountered it. -- Paul ************************************************************************* Paul A. Rubin Phone: (517) 432-3509 Department of Management Fax: (517) 432-1111 The Eli Broad Graduate School of Management E-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) ************************************************************************* Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. J. W. v. GOETHE