Jean-Marc Lasgouttes wrote: >>>>>> "Jean-Marc" == Jean-Marc Lasgouttes >>>>>> <[EMAIL PROTECTED]> writes: > > Jean-Marc> I think we are trying to do things that are too > Jean-Marc> complicated, and this indicates that we have not found > yet Jean-Marc> the 'right' solution... > > What about the following? > > 1/ generate your tex file > 2/ run the normal latex->dvi converter > 3/ have a converter dvipreview->png that does all lyxpreview2bitmap > does, except latex > > Would that work? It seems to me that running latex is the first > (useful) thing the script does, anyway.
Well, I don't think that lyx should fork one script, wait for it to finish generating a dvi file and then fork off another to generate the bitmaps from it. However we could perhaps generate a temporary file and use this to control the conversion? It still feels like a fudge to me however... -- Angus