Yegor Yefremov wrote:

I fixed the problem by creating a link FoxitReader.lnk to Foxit Reader.exe. LyX seems to have problems with file names separated by space. Now the settings are saved in a proper way. Another question is, if it is possible to use Update pdf (pdflatex) function with Foxit Reader? When I change my document and execute Update I still have the same document in Foxit Reader.


I'm not sure, but it's possible that Foxit Reader (like Acrobat Reader) requires that the old copy be closed before the new copy can be opened. There is a solution for Acrobat Reader that consists of two utility functions (pdfopen, pdfclose) and a script (PDFView). You can find info on the wiki (http://wiki.lyx.org/Windows/LyXWinTips#toc1). The problem is that pdfopen and pdfclose are hard-coded to work with Acrobat Reader. If you have a C/C++ compiler, it should be easy to fix. You can download the source code (http://www.tug.org/svn/texlive/trunk/Build/source/utils/pdfopen/?pathrev=2538), and I think all you need do is modify a couple of macros to point to Foxit. Alternatively, you could write a script (maybe batch file) to close Foxit Reader and then reopen it with the new file, and set that script as the viewer for LyX.

HTH,
Paul

Reply via email to