> > 1) latex mega-tex-with-all-snippets.tex > > 2) with dviselect create a .dvi for each page > > 3) check each .dvi if it needs legacy method (PSTricks or pgf/TikZ) > > 4a) call dvipng on each .dvi not using ps > > 4b) call the legacy method for the others (which needs another latex > > call because we need to insert colors in the .tex file) > > 5) be happy > > > > Do we need other forms of error-detection? > Maybe 'dvips -i' would be enough for step 2), so > dviselect would not > be needed under windows? It's not my idea, though.
MichaĆ, that would be nice, but we want to use dvipng because is really faster. Enrico said it would be OK just for the legacy method. Here's a new proposal: 1) latex mega-tex-with-all-snippets.tex 2) with dviselect create a .dvi for each page 3) check each .dvi if it needs legacy method (PSTricks or pgf/TikZ) 4a) call dvipng on each .dvi not using ps 4b) for all those that need PS create another .tex file, latex, dvips and gs 5) be happy In the worst case we'll call latex twice, several times dvipng, once dvips and once gs, is that correct? > Another thing: I don't want to be pessimistic about it, > but what if > step 1) fails (for example, because of a single 'failing' inset - or > multiple ones)? Maybe I'm wrong but LaTeX almost never fails completely, it just goes on as best as it can. But I'm not really sure of this. venom00
