Hi,

I am using LyX 1.4.x on Linux, with xpdf as PDF viewer. Currently I open
the viewer first by selecting "View->PDF" in LyX, after that I just
refresh the existing PDF by selecting "View->Update->PDF".

What I would like to achieve is that the xpdf does an automatic refresh
whenever I update the PDF in the background. However, I am on a file
system where notifications do not work. So my plan is to use the xpdf
-server option:

I did set the following command line for "Viewer" under
Preferences->File Formats->PDF:

xpdf -remote lyxOutput

works great. However, how can I automatically execute an:

xpdf -remote lyxOutput -reload

after the "View->Update->PDF" (LFUN:buffer-update pdf2)?
There obviously is no command to specify that shall be executed after
the execution of LFUN:buffer-update.

Any idea?

Thanks!

Daniel

Reply via email to