I'm getting a very strange error.
I have a LaTeX document that I compile with a Makefile (below), when I compile it on my Ubuntu machine everything is fine, but when I compile it on my mac the first page of my pdf displays an error, the second page is the title page and the rest compiled just fine.
The error on the first page I get is:
Latex error: missing document see the latex manual or latex
companion for explanation.
You're in trouble here. Try typing 'return' to proceed.
if that doesn't work type X return to quit.1111111
Any ideas what is going on?
My Makefile executes latex; bibtex; latex; latex; dvips; ps2pdf;
\documentclass{...}and ending with\end{document}. – Marco Daniel Apr 25 '13 at 18:40