Add LaTeX stdout logging
Move integration tests to src/it
Detect the need to rerun LaTeX
Add makeindex support
Add and test BibTeX support