Command/bookmark
< Command
Jump to navigation
Jump to search
Contents
\bookmark
Summary
The command \bookmark creates a pdf bookmark
Settings
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 Mark II 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
Notes
See also
- strc-bkm.mkiv
- References notes and floats/PDF navigation#PDF_Bookmarks PDF Bookmarks and Headers
- startsection