On Tue, Jun 01, 2004 at 01:26:25PM +0200, timm danker wrote: > 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 $@
This is almost always wrong with a tendency to break in the present of spaces in filenames. Use #! /bin/sh python lyxpreview2ppm.py "$@" instead. Andre'