Alfredo Braunstein wrote:

> John Levon wrote:
> 
>> Not on the status bar. Have a cenetered modal progress dialog by all
>> means. Feel free to do so.
> 
> Do you think that there's no hope in asyncroneous latexing/export?
> 
> Alfredo

Why not? 

The latex export is complicated by the need to parse the latex log file in 
order to ascertain whether latex needs to be run again. It seems to me that 
you have two possible strategies:

You have two choices.
1 (simple to implement): keep this control code within LyX but move it into 
a separate function that is called when the forked latex process finishes 
and emits a signal to say so.
2. (more work but perhaps more elegant): convert the C++ control code to 
(say) python and run this script. You may find that LyX doesn't even need 
to know when the forked process ends if the viewer can also be run from the 
script.

-- 
Angus

Reply via email to