Angus Leeming <[EMAIL PROTECTED]> writes: > > Paul A. Rubin wrote: > >> instant preview still does not work. > >> What is missing ? > > > You need to have Python, dvips and Ghostscript installed and on your > > system command path. Do you have all of them? (Incidentally, Angus > > recommends the Win32all extensions for Python as well. See > > http://wiki.lyx.org/LyX/InstantPreview.) > > > Do you have netpbm installed? At one time instant preview required > > pnmcrop, which is part of netpbm. The current preview script lists it > > as optional, so I don't think it's the source of your immediate problem, > > but who knows? > > Most importantly, you need the preview.sty latex package...
The number of things that can go wrong in windows is unlimited, I think. In my case, if the LyX Preview->PPM converter is defined as python $$s/scripts/lyxpreview2ppm.py then instant preview fails and in the terminal I see the message Could not fork: No such file or directory But if it is defined as python.exe $$s/scripts/lyxpreview2ppm.py then everything goes well. Moreover, if leave untouched the definition and create a python.bat script (ahead in the path) which simply calls python.exe, again everything is ok. This really is beyond me. Another cause of failure for me (but not always) is that I also have pplatex and it is picked first by lyxpreview2ppm.py. I had to tweak the script such that latex comes first... -- Enrico