Uwe Stöhr wrote:
As discussed shere some weeks ago, your solution is not suitable. You check every 500ms if the PDF has been chaged by pressing the Update button. That means a program is running all the time and needs resources.
How do you delete the temporary PDF file after Adobe Reader is closed? If Adobe Reader is closed after LyX is shut down, LyX cannot delete anything anymore and without the pdfview application the file will always remain on the hard drive.
pdfview runs only while Adobe Reader is still open. It's resource use is negligible compared to the reader itself.
So it solves both the problems with temporary files that cannot be removed because of the file lock and also makes the update button work just like with DVI and Postscript.
Note that this also allows you to preview your documents in two windows (and update them at the same time if necessary). With a single view/update button this feature is removed. Personally I think it's quite useful to be able to have two preview windows, especially if you need to check references etc.
Joost