From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: TOC in bookmarks
Date: Mon, 11 Jul 2016 15:32:59 +0200 [thread overview]
Message-ID: <5783A00B.3050402@gmail.com> (raw)
In-Reply-To: <CAK9ODgRMsQNSer0GtCccRexAc6Lm6jUg=wx4q0jgJ24qwNBgzA@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 700 bytes --]
> Marcus Vinicius Mesquita <mailto:marcusvinicius.mesquita@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
[-- Attachment #1.2: Type: text/html, Size: 2009 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2016-07-11 13:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-11 13:00 Marcus Vinicius Mesquita
2016-07-11 13:32 ` Wolfgang Schuster [this message]
2016-07-11 13:35 ` Marcus Vinicius Mesquita
2016-07-11 13:50 ` French and Ancient Greek Jean-Pierre Delange
2016-07-11 14:09 ` Hans Hagen
2016-07-11 14:51 ` Jean-Pierre Delange
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5783A00B.3050402@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).