Deep Dive / PDF

Why your PDF has a contents page but no bookmarks.

Three PDFs. Identical pages. Different navigation.

Open each file in Unwrap and watch what happens in the sidebar.

The experiment

The same document, in three versions.

Bookmarks

A built-in outline defines the navigation.

Open PDF 01

Link annotations

Navigation is reconstructed from clickable areas.

Open PDF 02

Plain text

A contents list is visible, but has no explicit destinations.

Open PDF 03
3 example files · 20 pages each Download as ZIP
Excerpt from the contents page of A Field Guide to Data Exports. The link rectangle covers “1.1 A snapshot, not a backup” and the printed number 4.
1.1 A snapshot, not a backup → Page 4
Overlapping text
The label comes from the visible text inside the clickable area.
Link destination
The annotation tells Unwrap which PDF page to open. Here it points to page 4. The printed number plays no part in the jump.

Reconstructing the missing outline

Unwrap turns the links on the contents page into entries in the sidebar.
Open PDF 02

A link annotation defines a clickable rectangle and a destination. The rectangle tells the viewer where a click counts. The destination tells it which page to open. To recover a chapter title, Unwrap looks for visible text overlapping that rectangle.

Unwrap checks groups of internal links near the beginning of the PDF. The first links in PDF 02 point to pages three, four, four and four. Repeated destinations are fine when several sections start on the same page. Unwrap joins the overlapping text for each link and trims dot leaders — contiguous or spaced, as in many LaTeX contents pages — and the text after them.

When the evidence runs out

In PDF 03, “A snapshot, not a backup ...... 4” is plain text. You can recognize it as a chapter title and a page number. A viewer would have to infer whether the line belongs to a chapter list and whether the printed number matches a page in the file. An unnumbered cover or a separately numbered preface can break that assumption.

A clickable contents page can also fall short if it has too few eligible links, inconsistent destinations, or little usable text under the rectangles. Even a consistent group only shows where the links actually point.

Unwrap leaves the sidebar empty when the evidence falls short.