I've compiled a LaTeX document successfully by typing
latex documentname.tex
into terminal when in the correct working directory. The document successfully compiles. I'm using TexLive.
I then make changes to the document. For some reason, when I type latex documentname.tex again, it compiles very quickly and gives me the previous version of the document out.
I've tried deleting the output file and log file and typing latex documentname.tex yet again, but it still somehow outputs the old version of the document. Same for the pdflatex command - what is going wrong here? Is there some other command I should be using or extra arguments I can pass in? Even changing the filename of the document does not cause the new version to be compiled - I still get the old one out.
`, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it). – Martin Scharrer♦ Dec 26 '11 at 13:25