I am using pdflatex to generate reports from txt files, but have some doubts I can not solve by myself using the man page.
- Rerun pdflatex
Quite often you need to rerun pdflatex, to achieve the desired result. Now, I simply do:But I am afraid this is not the right way to do it. Is there any better way to tell pdflatex to compile twice?Code: Select all
--bash code here--- pdflatex file.tex pdflatex file.tex --more bash code here--
- Stop on errors
While running pdflatex manually, quite often you are prompted to do something when errors occur. How to tell pdflatex to just stop and avoid being waiting for a response? I tried -halt-on-error without fortune - Errors file
I don't understand from the man page how to create an error file to debug the tex file...I have tried -file-line-error and -interaction errorstopmode without success.
Thanks a lot!