Alfredo Braunstein wrote: > Angus Leeming wrote: > >> * Make generation of dvi, ps, pdf files etc asynchronous. If Alfredo >> doesn't beat me to it. > > :-) Every time I look into this I finish by considering bigger reworking > plans than I can manage. I will gladly help you with the dirty work, if > there is some... > > Regards, Alfredo
I think that step one is to add functions to the insets class InsetXYZ { public: virtual void prepare_to_export(ostream &, Buffer const &); }; The idea being to generate a big shell script of all conversions etc that need to be performed before we consider running latex, viewing docbook etc. We can probably leverage the code in graphics/GraphicsConverter.[Ch], probably also renaming it async_converter.[Ch]. I suspect that prepare_to_export will do little more than decide what format is needed and whether a conversion is needed at all. -- Angus