Alfredo Braunstein wrote:

>> Actually, I think that prepare_for_export could check whether the
>> converted image has been generated and if not add some lines to an
>> ostream that is eventually dumped as a shell script. That way we would
>> need to monitor only one process and wouldn't run into system overload
>> problems that your LoaderQueue was designed to overcome for on-screen
>> display.
> 
> That's a good idea I think. We could have the convert code return directly
> the command sequence for this purpose, instead of calling each converter
> in the path. But I still don't see the need for this 'two pass' stuff.

Sure. We'd dump two files instead, shellscript of conversion processes and 
latex/docbook file. The conversion path would then be a linear

image conversion -> run latex -> anything else.

The real problem is that the code that decides on whether another latex run 
is needed is coded into LyX. If we could turn this into a shell function, 
then the whole schmooze could be dumped out as a single shell script and we 
could use the same asynchronous handling as is used by the graphics 
converter now.
-- 
Angus

Reply via email to