Bug#216882: latex/pdflatex: impossible to change depth of toc/minitoc
Julien LEMOINE <speedblue@debian.org> schrieb:
> Package: tetex-bin
> Version: 2.0.2-4.3
> Severity: normal
>
> The \sectcounter{tocdepth}{n} and \setcounter{minitocdepth}{n}
> commands do not have any effect on \tableofcontents and \minitoc
> commands.
>
> Here is an example of latex file :
> \documentclass[a4paper]{book}
>
> \setcounter{tocdepth}{2}
>
> \begin{document}
> \tableofcontents
>
> \chapter{1}
> \section{A}
> \subsection{a}
> \subsubsection{aa}
On my system (which is also tetex-bin_2.0.2-4.3 along with
tetex-base_2.0.2-4.2) it does: I get a table of contents with entries
down to "1.1.1 a", the level of subsection. Since chapter has level 0,
this is what I expected; there's no "1.1.1.1 aa"
So in case you just missed that chapter has level 0, not 1, please close
the bug by sending mail to 216882-done@bugs.debian.org. If you really
get a different table of contents, please provide the following
information:
- Run the following file through latex
*******************
\listfiles
\documentclass[a4paper]{book}
\setcounter{tocdepth}{2}
\begin{document}
\tableofcontents
\subsection{a}
\subsubsection{aa}
\end{document}
*******************
and send us the complete log file
- please send us the output of the command
dpkg -l "tetex*"
Thank you,
Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Reply to: