[pdftex] problem with hyperref and pdf-bookmarks

Jens-Uwe Morawski morawski at gmx.net
Thu Sep 18 11:35:22 CEST 2003


On Thu, 18 Sep 2003 09:19:08 +0200 (MEST)
"Thomas Raab" <warpeleven at gmx.de> wrote:

> I have a difficult problem with the hyperref package:
> 
> I´m using the following structur in my toc:
> I ...  (\part{})
>    1. .... (\chapter{})
>    2. ....        "
>    3. ....        "
> II ... (\part{})
>    1. .... (\chapter{} ---> chapter-counter reset to 1 !!!!! )
>    2. ....         "
> So when I click on the bookmark for II./1., the pdf-viewer jumps to I./1.,
> because that is the first position, where the chapter-counter has the value 1.
> 
> So how can I teach hyperref to jump to the correct position in the document?

may be Heiko has a better solution, but you can try the following after loading
hyperref:
\renewcommand{\theHchapter}{\thepart.\thechapter}

Jens


More information about the pdftex mailing list