This is really beatifull, thanks a lot!
Though, to get it working, I had to do some things different:

It did not work from my .lyx directory (because this is located under
"Dokumente und Einstellungen", so the path contains spaces which seems to
cause problems).
This is wad I had to do instead:
1.) copy the shell wrapper into share/lyx/scripts and changed it to:

#! /bin/sh
python lyxpreview2ppm.py $@

2.) copy the python script into /bin
3.) remove python.exe from /bin  (otherwise the stripped down version is
used).
4.) set the paths to python and gswin32 manually.

Now it works. Dont know why things where different for me, but maybe this
should be put on the wiki?

Timm






Reply via email to