[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#216882: latex/pdflatex: impossible to change depth of toc/minitoc



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}
  \paragraph{p1}
  \paragraph{p2}
  \subsubsection{ab}
  \subsection{b}
  \section{B}
  \chapter{2}
  \chapter{3}
\end{document}

Best Regards.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux vodka 2.6.0-test7 #1 Sat Oct 11 15:50:43 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages tetex-bin depends on:
ii  debconf                       1.3.15     Debian configuration management sy
ii  debianutils                   2.5.5      Miscellaneous utilities specific t
ii  dpkg                          1.10.15    Package maintenance system for Deb
ii  ed                            0.2-20     The classic unix line editor
ii  libc6                         2.3.2-8    GNU C Library: Shared libraries an
ii  libgcc1                       1:3.3.2-1  GCC support library
ii  libkpathsea3                  2.0.2-4.3  shared libkpathsea for teTeX
ii  libpng12-0                    1.2.5.0-4  PNG library - runtime
ii  libstdc++5                    1:3.3.2-1  The GNU Standard C++ Library v3
ii  libwww-ssl0 [libwww0]         5.4.0-9    The W3C-WWW library (SSL support)
ii  libxaw7                       4.2.1-12.1 X Athena widget set library
ii  mime-support                  3.23-1     MIME files 'mime.types' & 'mailcap
ii  perl                          5.8.1-2    Larry Wall's Practical Extraction 
ii  t1lib1                        1.3.1-3    Type 1 font rasterizer library - r
ii  tetex-base                    2.0.2-4.2  Basic library files of teTeX
ii  xlibs                         4.2.1-12.1 X Window System client libraries
ii  zlib1g                        1:1.1.4-16 compression library - runtime

-- debconf information:
  tetex-bin/userperm: false
* tetex-bin/hyphen: 
* tetex-bin/texmf: true
* tetex-bin/fmtutil: true
* tetex-bin/groupname: users
* tetex-bin/lsr-perms: true
  tetex-bin/groupperm: true
  tetex-bin/oldcfg: true
* tetex-bin/use_debconf: true
* tetex-bin/cnf_name: 
* tetex-bin/upd_map: true




Reply to: