On Tuesday 03 September 2002 10:20 am, Norbert Koksch wrote: > In PreviewLoader.C setw(3) -> setw(5) > In lyxpreview2ppm.sh %03d.ppm -> %05d.ppm, ???.ppm -> ?????.ppm, > \{3\}.ppm -> \{5\}.ppm > > Now lyxpreview can handle my files with more than 999 formulas.
Ok, Norbert. I have done something similar in CVS. I have also changed the code to use the recently released preview.sty 0.73. If you are still using preview.sty 0.72b, then you should upgrade. No upgrade, no previews ;-) > (I think, one could use a fixed maximal number of formulas. One should not > have more than 99999 formulas in one lyx file; I have 3000 on 200 pages, > that were appox 7000 pages for a file with the maximal number of formulas. > However, lyxpreview should stop with an error message if there are to much > formulas) You should split your thesis up into smaller files, 1 per Chapter ;-) > However, sometimes (i.e. not every time for a text with approx 700 > formulas, but everytime for a text with 3105 formulas) LyX chrashes with > collapsing X-Window. Ok. I bet that this isn't LyX. I bet that gs is eating everything when it's creating these images. You should probably increase you swap partition in size (or split your thesis...) > I don't know how to use gdb in this case. The only thing I noticed is that > after finishing gs (all ppm files are created), the head of LyX disappears > (completely black except "Files")), the CPU has 99% for LyX, after some > seconds X-Window collapses. Before collapsing, LyX used 13.3% of the > memory. Of course, this contradicts my belief above. I can't see why many image files would hurt LyX. We don't load them unless the formula is visible. That should be only one or two. Perhaps run lyx -dbg graphics That might be informative. Angus