[Tex/LaTex] Fix for amsart.cls tableofcontents bug regarding starred sections

amsartsectioningstarred-versiontable of contents

The command \section* is meant to produce a section that is not listed in the table of contents. However, when using amsart.cls, such sections are still listed. I believe this is a known bug.

How can I get around it, that is, produce an unnumbered section that is not listed in the table of contents, while still using amsart.cls?

Thanks!

For example, compiling the following twice produces the erroneous entry in the TOC:

\documentclass{amsart}  
\begin{document}  
\setcounter{tocdepth}{2}  
\tableofcontents  
\section{Numbered}  
\section*{Still here}  
\end{document}

Best Answer

carsten's answer -- that this is ams style -- is correct.

in the next update of the ams-latex collection, the amsclass manual will contain an appendix laying out the differences between the ams classes and the basic latex equivalents. but the inclusion of starred headings in the toc will not change.

to get rid of unwanted entries from the table of contents, see this entry in the ams author faq: http://www.ams.org/faq?faq_id=238 . kindly take note that the way \SkipTocEntry is defined depends on whether or not the hyperref package is being used. (we will consider including such a command -- with a safeguard to handle presence or absence of hyperref -- in the upgrade, which, if all goes well, is expected to be scheduled for later this year.)

Related Question