On Tue, Jan 11, 2011 at 12:04:07AM +0100, Pavel Sanda wrote: > Enrico Forestieri wrote: > > I would try a different approach. Currently, all previews are generated > > from a single dvi file. However, each preview snippet is contained in a > > separate page, so I would use dviselect to extract all pages and process > > them one by one in the python scripts. In this way, latex is called only > > once and only the failing preview snippet would be skipped. > > dvi contains correct snippets even after the first failing one? > that would be cool...
Exactly. Another option would be using the -i switch with dvips, such that a separate postscript file is created for each page in the dvi file. However, this would only work with the legacy method. -- Enrico
