I am writing a thesis, and I am facing the following problem with the bookmarks in the PDF file: I want the last (unnumbered) chapters "Acknowledgment" and "Bibliography" to be at the root of the bookmark hierarchy (exactly as "Introduction"), but I got them as a sublevel of the last part. My code reads (in short):
Code: Select all
\documentclass{book}
\usepackage{fancyhdr}
\usepackage{hyperref}
\begin{document}
\chapter*{Introduction}
\addcontentsline{toc}{chap}{Introduction}
\part{Part I}
\chapter{Chapter 1}
\chapter*{Acknowledgment}
\addcontentsline{toc}{chap}{Acknowledgment}
\bibliography{biblio}
\addcontentsline{toc}{chap}{Bibliography}
\end{document}
- Introduction
Part I- Chapter 1
Acknowledgment
Bibliography
- Chapter 1
- Introduction
Part I- Chapter 1
Bibliography
Code: Select all
\addcontentsline{toc}{part}{Acknowledgment}
Can somebody help me? Thanks,
Sébastien