Nicolás wrote:
Hei once more!
I have found some problems regarding viewing PDFs (with v.9) (others
than previously reported, I think).
1) When View->PDF is called,
ps2pdf -dCompatibilityLevel=1.3 "newfile1.ps" is called in turn. This
call fails with the following error message:
<<Unrecoverable error: typecheck in .putdeviceprops>>
I have not investigated too much, but the problem is with the
-dCompatibilityLevel=1.3 swithc. If ps2pdf is called without options it
works fine. I guess ps2pdf13 could be called instead?
Jean-Marc?
Be sure there is not a pdf already in the temp directory.
2) When a pdf already exists in the temp directory, which is already
loaded in Acrobat, and View->PDF(dvipdfm) is called, the user gets this
error:
"Cannot convert file. Error while executing dvipdfm ...".
The debugging message is: "Unable to open newfile1.pdf"
The problem is that dvipdfm cannot overwrite the file (if I am not
wrong). Is there no way to give the end-user a clearer hint about what
is happening, that is, that a pdf already exists and it is loaded in
acrobat? Then the user can choose to close acrobat and call View->PDF
again. With the "cannot convert file" error message the user thinks
something is wrong with LyX and does not realise the file is already
loaded in Acrobat.
A similar error happens if we call View/Update->PDF(pdflatex) while the
pdf file is already loaded in Acrobat
I don't think that there's anythng we can do about this. You could try
submitting a bug report to Adobe asking them not to be so rude as to keep
the HANDLE on the file open...
Nicolás
Angus