Angus Leeming wrote:
Colin J. Williams wrote:
Attempt to use lyxpreview. This appears to fail because there is no
fontsize in the C4.log file.
Strange. If you look at the code around line 222 in lyxpreview2ppm.py, you'll see that fontsize is initialised to a non-zero value. Does your logfile contain any lines that start "Preview: Fontsize" and are any of them zero sized? I take it that you have installed the LaTeX preview.sty file as described on the wiki page?
Angus,
Thanks for the pointer to preview.sty. I have obtained the preview-latex.tar file but am not clear as to where it should be installed.
Regarding lyxpreview2ppm.py, the relevant code, from lines 191 to 196 would appear to be:
found_fontsize = 0
found_magnification = 0 # Default values
magnification = 1000.0
fontsize = 0.0The word Fontsize doesn't appear in the log file.
Thanks again,
Colin W.
