Angus Leeming wrote:
Enrico Forestieri wrote:
For some reason the dvipng distributed with miktex (at least the one I
have installed) fails to generate the instant preview images:
$ python /path/to/lyxpreview2bitmap.py png 0lyxpreview.tex 128 000000
f0f0f0 makepk: METAFONT failed on "cmmi12".
You need to refresh the MikTeX databases. It's some obvious entry in the
package manager's menus. If you can't find it then this is a FAQ on the
MikTeX list.
(Sorry I can't be less vague :()
It may be the format files rather than the package database. The MiKTeX
Options app has a button on the General tab, Format files section
labeled "Update Now". Enrico should give that a whirl. I ran into
something similar, albeit not with preview, where METAFONT abruptly lost
the ability to generate fonts. It turned out that I'd updated some core
MiKTeX package(s) and the format files had not been properly updated.
Cheers,
/Paul