reitzig / ltx2any

Yet another LaTeX build wrapper, with one or two nifty features
GNU General Public License v3.0
59 stars 4 forks source link

Remember errors/warning from extensions #30

Closed akerbos closed 11 years ago

akerbos commented 11 years ago

Several extensions (bibtex, biber, makeindex) perform quite sophisticated checks for whether they need to rerun. However, they don't rerun if there were errors as long as there have been no changes that would do away with these errors.

That is troublesome because the user no longer sees said errors.

Therefore, extensions should make their errors/warnings/infos persistent so subsequent runs can reuse them if the extension is not run again.

akerbos commented 11 years ago

Note: the solution assumes that the basic need for an extension does not go away, i.e. the user does not remove e.g. index or bibliography completely, or switches from bibtex to biber. Messages of thus removed extension stay around forever (until the user deletes the temp directory or at least the message file).

If this turns out to be annoying, we have to split do? in two, namely applies? and rerun?. Note, though, that such checks may be unsound: some extensions check whether there is some "marker" file which we would not remove between runs, anyway. Thus, closing for now.