Roger McMurtrie wrote:

> When using View>PDF which has been working without problems in the past
> with a large document I have been developing for over a year, I now get
> the following Lyx error dialog:
> 
> Cannot convert file
> Error while executing
> ps2pdf �-dCompatibilityLevel=1.3 'thesis5.ps'

ps2pdf is a utility shipped with Ghostscript that does what it says :)

One thing you could try is to go to the temp directory that LyX is using as
a workspace to create these files. Something
like /tmp/lyx_tmpdirXXXX/lyx_tmpbuf0. You should find the files generated
in the generation of all the intermediate formats up to the one that
failed.
  <.tex file> --latex--> <.dvi file> --dvips--> <.ps file> --ps2pdf-->
<.pdf file>

Try and run ps2pdf by hand on the .ps file. Does it report anything
illuminating?

Another idea would be to use View>PDF (pdflatex) which uses the pdflatex
compiler to generate a .pdf file directly from your .tex file.

Angus

> How do I go about finding the source of this problem. Lyx does not show
> any errors in the document.
> 
> Problem may have had something to do with the Linux version of Acroread7
> which I installed recently. Following this installation View>PDF command
> failed to work with varying indications of errors. Acroread7 seemed to
> work OK with PDF files, it seemed that the conversion from eps or ps
> process was failing. I reinstalled Acroread5.0.10 but errors still
> ocurred, with error messages only telling me that conversion failed,
> sometimes saying it couldn't process eps files. After about a day of
> trying various things, View>PDF finally worked fine under Acroread5.0.10.
> 
> Now the problem has reappeared.

-- 
Angus

Reply via email to