num2: fixed latexmain