Change latex error reporting.

Avoiding 'error occurred after last tex file closed'.
Fixing typo on TeX-engine-alist.