When building the tex file, if have all of my entries as
Code: Select all
\section*{some section}
Is there a setting that can include non-enumerated sections in the TOC?
The following code gives me an empty TOC:
Code: Select all
\documentclass{article}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\begin{document}
\tableofcontents
%\thispagestyle{empty}
%\addtocounter{page}{-1}
\newpage
\section*{section 1}
\subsection*{subsection A}
content goes here
\newpage
\section*{section 2}
content goes here
\section*{section 3}
content goes here
\end{document}
I'm using kile to edit, and my versions look like this:
Code: Select all
~/tex$ latex -v
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX using libpoppler copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX using libpoppler source.
Primary author of pdfTeX using libpoppler: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry, Olaf Weber, and others.
Compiled with libpng 1.2.15beta5; using libpng 1.2.15beta5
Compiled with zlib 1.2.3.3; using zlib 1.2.3.3
Compiled with libpoppler version 3.00
thanks,
triplep