Use nonstopmode rather than batchmode for LaTeX.

Also halt on all errors.