[EMAIL PROTECTED] wrote:
Hi fellow LyXers,
I am sure this must have been discussed here, but I could not
find it :-(
There've been a few messages about people who could not get preview to
work, but this is the first I recall where it worked and then broke.
In my LyX 1.4.1 for Windows XP,
<insert ominous background music here>
> instant preview stopped working.
I know it is installed, since I previously used it.
I depend on this feature since I use lots of diagrams (xypics etc).
In my LyX document, the Tools/Preferences/Graphis/Instant Preview
Chooser is set to "On" ... but nothing happens with my formulae.
pdf-generation works without problems, so it appears not to be
a LaTeX error. Besides, the old documents which used to look so
neat in LyX, are now - well just LaTeX commands - like in ultraedit.
Something may have inadvertently deleted or corrupted something. Here
are a few initial things to check:
1. If you recently upgraded MiKTeX (assuming you're using MiKTeX), you
might try running MiKTeX Options -> General -> Format files -> Update
Now. This is a long-shot, but it can't hurt.
2. In C:\Program Files\LyX141\Resources\scripts (assuming you installed
to the default directory), make sure that lyxpreview2bitmap.py and
lyxpreview_tools.py and .pyc are present.
3. Make sure preview.sty is still installed (for instance, by running
'kpsewhich preview.sty' from a command prompt).
4. Create in LyX a document with a single formula (with Instant Preview
turned on). While the document is open, use Windows Explorer to take a
look into C:\Documents and Settings\<your log in id>\Local
Settings\Temp\lyx_tmpdir<whatever>\lyx_tmpbuf0. You should see files
with the name 0lyxpreview and extensions .tex, .log, .dvi, etc. If some
of the ones I listed are missing, that will tell us something. If they
are all there, we can try further experiments to narrow down the problem.
HTH,
/Paul