pml2-book icon indicating copy to clipboard operation
pml2-book copied to clipboard

Request or suggestion: chapter enumeration in PDF's bookmarks

Open avm19 opened this issue 3 years ago • 2 comments

The PDF bookmarks do not include chapter numbers. I wonder if this is deliberate and if there is any chance the numbers could be included in the future? With the section/subsection/chapter bookmarks enumerated, the navigation would be a bit easier for those who use them.

Many thanks for your books, Prof. Murphy. image [2022-08-15 version]

avm19 avatar Aug 20 '22 00:08 avm19

how do I make this happen in latex?

murphyk avatar Aug 20 '22 03:08 murphyk

how do I make this happen in latex?

Assuming your document uses hyperref (and no other fancy packages controlling specifically this behaviour), the numbering is added by the bookmarksnumbered option in hyperref:

\usepackage[bookmarksnumbered]{hyperref}

I found this answer, which explains the details. The example provided there works on my system (except that \usepackage{babel} is now required by lipsum).

avm19 avatar Aug 20 '22 16:08 avm19

ok, i've added this, it will appear in the next release (later tonight :)

murphyk avatar Oct 17 '22 05:10 murphyk