TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to make the bookmarks in the PDF go a level deeper that the table of contents goes? I'm using KOMA-script, scrreprt if that matters.

If the table of contents displays two levels:

1. Level 1
    1.1. Level 2
2. Level 1
    2.1. Level 2

Is it then possible to make the PDF bookmarks to display:

1. Level 1
    1.1. Level 2
        1.1.1 Level 3
2. Level 1

The bottom line is that I want them to have independent level depths, if that's possible.

share|improve this question
up vote 25 down vote accepted

The package hyperref allows settings like this. The author is Heiko Oberdiek.

The package has the option bookmarksdepth


\section{foo bar}
\subsection{foo bar foo}

\section{bar foo}
\subsection{bar foo bar}
share|improve this answer
@Macro: I wonder what is screeprt? I tried to change it to article but somehow it gave me errors says, Something's wrong -- perhaps a missing \item, any idea? Thanks in advance. – Chan Aug 2 '11 at 1:26
@chan: Dou you mean scrreprt? This is one of the documentclasses provided by KOMA. It is the equivalent to report. By changing the documentclass to article you have to compile more than once. An other important fact article doesn't define the element chapter. The highest level ist section (and part ;-) ). – Marco Daniel Aug 3 '11 at 13:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.