I use Auctex to create a beamer document. Frequently I run into this rather uninformative error message:
TeX-error: Error occured after last TeX file closed
I found a similar thread here and followed the suggestions to include this
(setq LaTeX-command-style '(("" "%(PDF)%(latex) -file-line-error %S%(PDFout)")))
in my .emacs. This solved the issue for me in the past but does not help in all cases. How to proceed If I still get this error?
<document>.logandC-sforerror, for example. There will be a few useless matches in the preamble, then you should find your error. Without knowing what was the error and where it occurred exactly, it may be hard to give you a definite answer. – T. Verron Oct 10 '14 at 14:53