Attempt to use lyxpreview. This appears to fail because there is no
fontsize in the C4.log file.
Any suggestions as to how one can work around this please?
Colin W.
C:\LyX\Tex>python lyxpreview2ppm.py c4.tex 128 ppm
Traceback (most recent call last):
File "lyxpreview2ppm.py", line 380, in ?
main(sys.argv)
File "lyxpreview2ppm.py", line 347, in main
resolution = extract_resolution(log_file, dpi)
File "lyxpreview2ppm.py", line 222, in extract_resolution
return dpi * (10.0 / fontsize) * (1000.0 / magnification)
ZeroDivisionError: float division
C:\LyX\Tex>dir c4.*
Volume in drive C is Root Directory
Volume Serial Number is 008B-9A21
Directory of C:\LyX\Tex
05-02-13 19:47 PM 7,300 C4.aux
05-02-13 19:47 PM 25,468 C4.dvi
05-02-13 19:47 PM 10,603 C4.log
05-02-12 11:41 AM 26,149 C4.lyx
05-02-13 19:47 PM 301,006 c4.ps
05-02-13 14:29 PM 17,141 C4.tex
6 File(s) 387,667 bytes
0 Dir(s) 3,586,064,384 bytes free