Log the input TeX file as well as the LaTeX compiler output.