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

Bug#344790: hyperref: off by 1 error with pdf bookmarks and tocdepth



Package: tetex-extra
Version: 3.0-11
Severity: minor

hyperref uses tocdepth to decide the depth of the bookmarks generated
from the document sections. The problem is that with documents that
don't have a chapter section this causes an off by one error.

Setting tocdepth to 1 to have only sections in the table of contents
causes no bookmarks to be generated instead of generating bookmarks only
for sections.

setting tocdepth to 2 shows sections and subsections but only sections
show in the bookmarks.

-- Package-specific info:
Please read and follow the instructions in the first lines below
the text: "-- Package-specific info:".
Thank you.

Press ENTER to continue
If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report. Don't forget to also include minimal examples of
other files that are needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.latex-einfuehrung.de/mini-en.html (english)

or 

http://www.latex-einfuehrung.de/mini.html (german)

##################################
minimal input file


##################################
other files

######################################
 List of ls-R files

-rw-r--r-- 1 micha micha 973 2005-11-06 11:48 /home/micha/texmf/ls-R
-rw-r--r-- 1 root users 1064 2005-12-24 15:16 /var/lib/texmf/ls-R
-rw-rw-r-- 1 root staff 3322 2005-12-24 15:16 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 29 2005-12-12 18:00 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 35 2005-12-12 18:00 /usr/share/texmf-tetex/ls-R -> /var/lib/texmf/ls-R-TEXMFDIST-TETEX

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.4
Locale: LANG=he_IL, LC_CTYPE=he_IL (charmap=ISO-8859-8)

Versions of packages tetex-extra depends on:
ii  dpkg                         1.13.11.0.1 package maintenance system for Deb
ii  tetex-base                   3.0-11      Basic library files of teTeX
ii  tetex-bin                    3.0-12      The teTeX binary files
ii  ucf                          2.004       Update Configuration File: preserv

tetex-extra recommends no packages.

-- no debconf information



Reply to: