----- Original Message ----- From: "Paul Smith" <[EMAIL PROTECTED]>
To: <[email protected]> Sent: Sunday, February 19, 2006 6:14 AM Subject: Re: LyX fails picture conversion
Thanks, Paul. As I said before, the package ps4pdf works fine. In particular, that package is useful for me in the sense that I plan to use PSTricks in the same document and ps4pdf is the right package to produce pdf documents in connection with PSTricks. By curiosity, I ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. Paul Did I understand your original report incorrectly? I thought you said that the .eps graphic wasn't displayed when using pdflatex. That is a different issue than an .eps figure not displaying in LyX. When I read the error originally reported, it did not seem to me that failure to display in LyX was the problem: ------------------------------------------------- Paul Smith wrote: Dear All I have an EPS picture inserted in a LyX document. When I run View --> PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of "convert" failed. --------------------------------------------------------- I have a document which has a figure labelled something.eps That image is displayed when I run sample.lyx which contains it. That does not enable the use of pdflatex to convert that .eps file. pdflatex does not process .eps files, but dvipdfm does. Perhaps I misunderstood your report and you meant the eps image did not display within LyX itself. I've had that problem too, and converting to pdf with either pdflatex or dvipdfm doesn't work. But when this does work, LyX is not the source of conversion for the eps file into pdf format, dvips does it. In any event, your original report suggests that you wanted to use pdflatex to convert and read the pdf doc containing the eps image. "View --> PDF (pdflatex) I do not get the picture on the PDF document." The pdflatex process is not designed to view .eps files. It is not supposed to work. dvipfm is designed to view .eps files I am able to view .eps files (at least one) in LyX. That process is not the source for providing an .eps file for inclusion/viewing in the pdf format. pdflatex doesn't work, dvipdfm does, and they are a separate processes. So whether or not you could see the .eps graphic within LyX, one does not View it in PDF using pdflatex. One can view it later with pdflatex after first converting the .eps file to a png or jpeg or .pdf image. At least it works this way for me, Stephen
