Hi. I have a problem with LyX 1.4.2. under Windows. When using any of
the "update PDF" options in the View menu PDF viewers cannot update
the generated PDF, and some give an error. I found a "fix" in the LyX
wiki at

http://wiki.lyx.org/Windows/LyXWinTips

that suggests creating a PDFview.cmd script with the following code

if not exist "%~dpn1~%~x1" goto :go
pdfclose --file  "%~dpn1~%~x1"
del "%~dpn1~%~x1"
:go
copy %1 "%~dpn1~%~x1"
pdfopen --file "%~dpn1~%~x1"
exit

and putting this script as well as pdftools (pdfopen and pdfclose)
somewhere in the path, and then changing the associated viewer for PDF
from auto to PDFview.

 I've done all of these things, but it doesn't workl. I tried with
different PDF viewers (Acrobat, Foxit, eXpertPDF,) and none of these
work: LyX fails to even launch the viewers, and there is not message
given. Even starting LyX from a console window doesn't show any
messages, even after adding an "echo something" at the beginning of
the PDFview.cmd, which suggests that LyX is not running PDFview.cmd,
but I am sure it is in the path. I even tried putting it in the
lyx/bin and in my ~/.lyx directory but to no avail.

 Does anyone know whether this is a bug or if not, what to do to make
the update PDF options work under Windows?


--
Ernesto Posse
Modelling, Simulation and Design Lab - School of Computer Science
McGill University - Montreal, Quebec, Canada
url: http://moncs.cs.mcgill.ca/people/eposse

Reply via email to