On Wed, Jan 24, 2007 at 12:38:03AM +0000, Angus Leeming wrote:
> You can use dvips and gs rather than dvipng by editing the
> lyxpreview2bitmap.py script:
>
>
> 156 # This can go once dvipng becomes widespread.
> 157 dvipng = find_exe(["dvipng"], path)
> 158 if dvipng == None:
>
> Comment out the existing line 157 and add a line
> dvipng = None
This will not work as the legacy script cannot deal with png. To use
the dvips/gs route he should modify the following line in configure.py
if dvipng == "dvipng":
to read:
if dvipng == "dvipng-no":
and reconfigure LyX.
--
Enrico