Eugenio Guevara <[EMAIL PROTECTED]> writes:

> 
> After a couple of test, I decided to move the temp directory to a location 
> where the path has no spaces on it, c:\temp, and modify the path for the 
> python script so it also has no spaces in it, c:\program 
> files\lyx\resources\lyx\scripts to c:\progra~1\lyx\resources\lyx\scripts, 
> and the result is that instant preview for math formulae started to work.
> 
> Conclusion is that python has problems with spaces in the path. Really?
> 
> Regards
> 

It seems that when python is called to interpret lyxpreview2ppm.py
an unquoted path is used, so if there are spaces in it ...
A batch file can be used to overcome this bug. Find it in the "LyX 1.3.6pre and
cygwin" thread, it can also be used without cygwin. The real solution would be
to correct the lyx sources such as to quote that path when calling
lyxpreview2ppm.py.

Enrico


Reply via email to