>>Date: Mon, 10 Jul 2006 11:41:52 +0200 >>To: lyx-users@lists.lyx.org >>From: Horacio Emilio Pérez Sánchez <[EMAIL PROTECTED]> >>Subject: Problem converting dvi to pdf using dvipdf >> >>Hi, >> >>I use SuSE 9.0, LyX 1.3.5, and I want to convert a dvi document to pdf. The >>dvi document is generated with >>latex from the .tex document exported from LyX, which includes a lot of >>figures, in .eps format and tables. I do this way instead of directly >>convert to PDF in LyX because it gives me a lot of problems.
If these problems are graphic rotations, there is a option to ps2pdf which allows to avoid them, see the wiki. >> >>I have used this method a lot of times with no problem (typing "dvipdf >>document.dvi") but now I see the following error message: >> >>ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1 >> >>After some googling it seems that my ghostscript version is buggy. But >>this is my office's computer; cannot install anything (I am a normal >>user), and I have to solve the problem here, that's the most difficult >>thing. I thought about building last version of ghostscript from >>source, but it seems to be very complicated and I don't know if it >>worths. I was about to suggest tex2pdf, but I realized that eps to pdf conversion relies on GS. It seems that if your original graphics are in eps, the path towards pdf comes always across ghostcript, and I'am afraid that an old GS version will raise the same problems whatever the path (dvi->PS->PDF, dvipdf*, tex2pdf). However, is there only one figure which raises a problem ? You may try epstopdf on your figures and check the result. Once you have all the figures in pdf, remove the eps suffices in the LyX doc and run pdflatex (in fact, tex2pdf does exactly this). The epses might be faulty too, try to clean them with ps2eps (which allows also rewriting of eps files). HTH -- Jean-Pierre