Take the 2-minute tour ×
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.

After compiling all the content of the book, I use Adobe reader to preview the content. Note that the legend that I use to navigate through the book (the listing on the left (usually) with the option '+' on which one clicks, and it offers the content) only contains the Chapter/Section/Subsection names. How could I change this to include the numbering, i.e, such that the legend contains, e.g., '3 Chapter name' with '+' sign, and it opens to, e.g. '3.1 Section name'... I hope you understand what I'm asking.

share|improve this question
add comment

2 Answers

up vote 6 down vote accepted

You can use the bookmarksnumbered option for hyperref or the numbered option for bookmark:

\documentclass{book}
\usepackage[bookmarksnumbered]{hyperref}

\begin{document}
\chapter{Test}
\section{Test section}
\end{document}

or

\documentclass{book}
\usepackage[numbered]{bookmark}

\begin{document}
\chapter{Test}
\section{Test section}
\end{document}

enter image description here

share|improve this answer
add comment

Add option bookmarksnumbered to the hyperref call (or use \hypersetup{bookmarksnumbered})

share|improve this answer
add comment

Your Answer

 
discard

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.