Added LATEXMAIN, corrected MS