Comment 1 for bug 504152

you can set the counter depth in latex with
\setcounter{secnumdepth}{2}

also for the toc with
\setcounter{tocdepth}{2}