Jan Peters wrote:
Hi, i have a problem with instant preview: it simply claims that the
latex compilation failed, see below --- despite that I could compile
it manually. Does anybody know how to fix this?
Thanks,
-Jan
lyx document header finished
<command>
python
'/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py'
png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 000000
faf0e6
Interpretted as:
python
/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py
png
/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex
216
000000
faf0e6
</command>
void BufferView::Pimpl::update(Update::flags)[fitcursor = 1,
forceupdate = 0, singlepar = 0] buffer: 0x15264520
ViewMetricsInfo BufferView::Pimpl::metrics(bool) y1: 0 y2: 731 pit1: 0
pit2: 2 npit: 62 singlepar: 0
void BufferView::Pimpl::updateScrollbar() Updating scrollbar: height:
62 curr par: 0 default height 37
verbose dispatch msg (file-open
/Volumes/Boudin_HomeDir/Publications/Journals/JMLR/2006/JLMR2006.lyx)
latex failed to compile 0lyxpreview.tex
PreviewLoader::finishedInProgress(1): processing failed for python
'/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py'
png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 000000
faf0e6
When you say could compile it manually, does "it" refer to the original
document or specifically the math inset (0lyxpreview.tex)? Are the
paths in the last message above (to lyxpreview2bitmap.py and to
0lyxpreview.tex) valid? And, importantly, is Python installed? (If you
open a command prompt in the directory where lyxpreview2bitmap.py lives
and execute lyxpreview2bitmap.py, do you get a usage message?)
/Paul