TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

in my thesis I have an abstract, the toc and then the content. The content sections start again with 1. When I add a subsection at the content section, the toc of the PDF is destroyed and shows something like this:

----> Inhalt
      ----> Einleitung
            ----> title

instead of


This is the code I'm using:

\renewcommand{\contentsname}{II Inhaltsverzeichnis}
\addcontentsline{toc}{section}{II Inhaltsverzeichnis}
% next line messes all up
share|improve this question
You shouldn't use an article class (here scrartcl) for a thesis! Use either a book or report one. – Martin Scharrer Jun 20 '11 at 12:43
up vote 1 down vote accepted

You get also a warning:

pdfTeX warning (ext4): destination with the same
 identifier (name{section.1}) has been already used, duplicate ignored

Gives the section numbers of hyperref a unique representation by redefining also \theHsection when you change \thesection. E.g.

share|improve this answer

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.