Utility to compile TeX files as many times as needed with index and bibliography support based on strace