[NTG-context] TOC in bookmarks

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon Jul 11 15:32:59 CEST 2016


> Marcus Vinicius Mesquita <mailto:marcusvinicius.mesquita at gmail.com>
> 11. Juli 2016 um 15:00
> Dear list
>
> How can one make the page with the TOC also appear in the bookmarks 
> using mkiv?

\setupinteraction[state=start]

\placebookmarks[title,chapter][force=yes]

\starttext

% Variant 1, shows the text which is set with 
\setupheadtext[<language>][content=...]
\completecontent

% Variant 2, you can set your own text for the bookmark
% \starttitle[title=\headtext{content},reference=content,bookmark=Table 
of content]
% \placecontent
% \stoptitle

\dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}}

\stoptext

BTW: It isn't necessary to format the text of your question.

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160711/798ccd5c/attachment.html>


More information about the ntg-context mailing list