I am writing a rather long literature review for submission to ACM Computing Surveys and we are putting a table of contents on it for the benefits of our internal reviewers. The table of contents is including text from the \paragraph tags. I don't want it to, but I can't get rid of it.
Here is a sample document:
\documentclass[prodmode,acmcsur]{acmsmall} % Aptara syntax
\begin{document}
\tableofcontents
\section{A Section}
\subsection{A Subsection}
\subsubsection{A SubSubSection}
\paragraph{First Paragraph} Some text.
\paragraph{Second Paragraph} Some text.
\paragraph{Third Paragraph} Some text.
\subsubsection{Another SubSubSection}
\end{document}
And here is what it looks like:

I've tried to get rid of the paragraph text with \setcounter{tocdepth}{3} and that doesn't help. (It removes the subsubsection, but not the paragraph.) I've also tried \setcounter{secnumdepth}{3}. No luck.
What's the solution?

\makeatletter. – vy32 Feb 13 '14 at 20:44\makeatletter,\makeatother, you can read the answers to http://tex.stackexchange.com/q/8351/3954 – Gonzalo Medina Feb 13 '14 at 20:45