On Thursday 25 July 2002 10:33 am, Andre Poenitz wrote: > New doc, C-m, right-click on formula to get the math panel. Boom. > > It works without preview enabled, or when starting the panel from the > menu. It might be my code that's faulty, but as preview triggers it...
It works fine here. One thing that does happen that shouldn't is that it tries to generate a preview. Why is notifyCursorLeaves being called? That's your end ;-) The generated preview is empty of course, so gs dies when attempting to generate a bitmap file. Could you modify PreviewLoader so: void PreviewLoader::Impl::add(string const & latex_snippet) { - if (!pconverter_ || status(latex_snippet) != NotFound) + if (!pconverter_ || strip(latex_snippet).empty() || + status(latex_snippet) != NotFound) return; pending_.push_back(latex_snippet); } Angus (0lyxpreview.tex LaTeX2e <1999/12/01> patch level 1 Babel <v3.6Z> and hyphenation patterns for american, british, french, german, n german, nohyphenation, loaded. This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2002.07.25:1120' -> 0lyxpreview.ps <texc.pro><special.pro>. [1] Error: /configurationerror in --setpagedevice-- Additional information: [/PageSize [0.999969482 1.0]] Operand stack: 1 0 --dict:2/2(L)-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 2 3 %oparray_pop --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- 3 4 %oparray_pop --nostringval-- --nostringval-- --dict:7/9(L)-- --nostringval-- 15 %dict_continue --nostringval-- --nostringval-- Dictionary stack: --dict:911/941(G)-- --dict:0/20(G)-- --dict:52/200(L)-- --dict:108/300(L)-- Current allocation mode is local Current file position is 8906