[texhax] hyperref bookmarks are all children of the previous one

Martin Heller mr_heller at yahoo.dk
Fri Oct 5 22:05:37 CEST 2007


martin f krafft skrev:
> Hi there,
> 
> I am compiling a large document and wanted to make use of hyperref's
> bookmarks such that in the resulting PDF document, the user could
> display a table of contents. However, strangely, I get a warning
> like
> 
>   Package hyperref Warning: The anchor of a bookmark and its parent's must not
>   (hyperref)                be the same. Added a new anchor on input line 3.
> 
> for each section header, and the resulting bookmarks are all
> descendants of each other:
> 
>   1. Introduction
>      1.1. Scope
>          1.2. Acknowledgements
>              2. Literature review
>                 2.1. Debian
>                      2.2. Diffusions
> 
> Any Idea what I am doing wrong? 

hyperref does not support skipping section levels
\chapter{...
\subsection{...

> I could not find anything on the web
> on this, so I turn here in the hope that someone may have mercy and
> the answer. :)

Load bookmark.sty after hyperref

\usepackage{hyperref}
\usepackage{bookmark}




More information about the texhax mailing list