Pomtex::Engine::Bibliography
Decides when a job needs BibTeX or Biber and runs it.
The tools only run when their output would change: the .bbl is missing, a
.bib file is newer than it, the citations changed (the .aux citation lines
for BibTeX, the .bcf for Biber), or biblatex asks for a run. This keeps
pomtex watch from re-running them on every save.
Constants
AUX_CITATIONS = /^\\(?:citation|bibdata|bibstyle)\{.*$/
AUX_INCLUDES = /^\\@input\{([^}]+)\}/
BCF_DATASOURCE = /<bcf:datasource[^>]*>([^<]+)<\/bcf:datasource>/
BIBER_REQUEST = /Please \(re\)run Biber/
BIBTEX_REQUEST = /Please \(re\)run BibTeX/
MISSING_BST = /I couldn't open style file ([^\s]+\.bst)/
Instance methods
The first error lines of a .blg, for display.
.bst files BibTeX could not open (fetched as arils, then BibTeX is re-run).
The tool the last engine run asks for, or nil when nothing is stale.