> In order to avoid wasting time, I suggest to check whether > the approach > can lead somewhere. For example, by using the quite simple attached > patch, whenever the legacy route is taken I get all previews except > the failing ones. However, the problem is that ghostscript is still > called for each snippet, so, when one has a large number of snippets > the conversion time becomes unacceptable.
Maybe we could do as you suggested but move the PostScript specials' detection at a per-page level: if we find a page needing the legacy method we can remove it from the DVI and go with dvipng, then we use the legacy method for all those pages we removed, restarting from the LaTeX source. This would also solve the dviselect issue which is related to PostScript. This seems a much simpler solution to me. venom00
