I was doing \paragraph to include a third subsection but my third subsection came out not numbered at all. I got help from someone suggesting me to use setcounter (see my related question: Is there a \subsubsubsection command? ). The problem is that my thesis failed to compile! I deleted the command, and my file still not working! I used:
\setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}
what could be happening??
\setcounter{}has eaten, smashed, blown up, or otherwise d[e]stroyed your thesis. Try deleting the*.auxfile and see if the problem is resolved. If not, post a minimal example and someone will surely be able to help. – Paul Gessler Jul 03 '14 at 18:35\paragraphtitles contain fragile stuff that breaks during the move to the table of contents. Use\protectto protect fragile commands in\paragraph. – Heiko Oberdiek Jul 03 '14 at 18:37texfile disappeared into the ether which is not the case. – cfr Jul 04 '14 at 00:47