Command/bookmark

From Wiki
Jump to navigation Jump to search

\bookmark

Syntax (autogenerated)

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


Syntax

\bookmark[...]{...}
[...] name
{...} text


Description

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

There is a catch: it only works when the section header bookmarks are also enabled. Hence the inclusion of 'chapter' in the example.

Example

\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

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: