Angus Leeming wrote: > 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.
There is the problem of the insertion of the latex error boxes. (that's one of the reasons why the code is so ugly... there are a lot of bv's flying around and so) Alfredo