\bookmark

Summary

The command \bookmark creates a pdf bookmark

Settings

 \bookmark[...]{...} [...] section list {...} text

Description

Creates a PDF bookmark for the current position in the document.

There is a catch: it only works when you a) define your own list, and b) the section header bookmarks are also enabled. Hence the inclusion of 'chapter' in the example below.

The version without the 'optional' argument (or using a 'section' list name) is a remnant of MkII that has since been replaced by the 'bookmark' key in the actual section environments.

Examples

Example 1

```\setupinteraction
[state=start]

\setupinteractionscreen
[option=bookmark]

\definelist
[mylist]

\placebookmarks[chapter,mylist]

\starttext
\input zapf

\bookmark[mylist]{Bookmark between Zapf and Tufte}
\input Tufte

\page[yes]
\startchapter[title=Tufte]
\input tufte
\stopchapter
\stoptext
```