The title pretty much says it all. I have a long document, which contains chapters, sections, subsections.... The table of contents should only include sections for most of the chapters, but subsections within one specific chapter like this:
Chapter 1
section 1
section 2
Chapter 2
section 1
section 2
Chapter 3
section 1
subsection 1
subsection 2
section 2
subsection 1
subsection 2
Chapter 3
section 1
section 2
Is this possible? If so, how does one do it?
[Edit: some of the sections in e.g. Chapter 1 will also have (numbered) subsections, but I don't want them to show up in the table of contents. Basically, I want the TOC depth to vary from chapter to chapter.]
\subsection*for those subsections you don't want to be displayed in the TOC. – leo Sep 19 '14 at 17:35