# latex chapter not included in table of content

I have created chapter by

\chapter{"one"}


I want this to be visible in my table of contents but when I do \tableofcontents. I cannot see them. Can anyone tell me how to include chapters in table of contents? I am using latex in ubuntu 12.04. For instance if \chapter{"one"} is in page 20 and is the third chapter. Then in table of contents I should see 3. One 20 Something like this.

## Edited version

Here is a small sample latex script. I have used acm template:

\documentclass[prodmode,acmtap]{acmlarge}

\acmArticle{n}

\usepackage[ruled]{algorithm2e}
\SetAlFnt{\algofont}
\SetAlCapFnt{\algofont}
\SetAlCapNameFnt{\algofont}
\SetAlCapHSkip{0pt}
\IncMargin{-\parindent}
\renewcommand{\algorithmcfname}{ALGORITHM}

% Title portion
\title{Sample text}

\begin{document}

\maketitle
\pagebreak

\tableofcontents
\pagebreak

\chapter{ABC}
this is a content

\end{document}


I can see a title page, table of contents with no ABC in it, just Contents.

The link to the template is: http://www.acm.org/publications/latex_style/acm-large-v1-3.zip

-

## migrated from stackoverflow.comJun 10 '12 at 21:39

This question came from our site for professional and enthusiast programmers.

Tables of contents in LaTeX need several (typically 2) compilation passes to reflect changes properly. Have you made sure you ran the latex command at least twice? Also, could you make a small, standalone example that reproduces the problem, and include it in your question? –  Alexis Pigeon Jun 10 '12 at 20:49
yes I did run it twice but with no result. Actually I am using acm template. –  Sadiksha Gautam Jun 10 '12 at 21:04
Please add to your question a minimal and complete document showing the relevant settings. –  Gonzalo Medina Jun 10 '12 at 21:59
Your document class is unknown. Please use a standard one or provide a link to this document class. –  Marco Daniel Jun 11 '12 at 9:53

The largest sectional unit supported by the acmlarge document class is \section. For some reason, \chapter is defined to \relax, so using it doesn't cause an error, but it doesn't create a chapter either.