From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95402 Path: news.gmane.org!not-for-mail From: Marcus Vinicius Mesquita Newsgroups: gmane.comp.tex.context Subject: Re: TOC in bookmarks Date: Mon, 11 Jul 2016 13:35:01 +0000 Message-ID: References: <5783A00B.3050402@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3769463855003620891==" X-Trace: ger.gmane.org 1468244304 1809 80.91.229.3 (11 Jul 2016 13:38:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2016 13:38:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 11 15:38:14 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bMbPY-0006Wy-0v for gctc-ntg-context-518@m.gmane.org; Mon, 11 Jul 2016 15:38:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2D20611654; Mon, 11 Jul 2016 15:35:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R4b6VKTsAuGz; Mon, 11 Jul 2016 15:35:26 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 5E9A711656; Mon, 11 Jul 2016 15:35:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0915911653 for ; Mon, 11 Jul 2016 15:35:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QVDRiAErMRlT for ; Mon, 11 Jul 2016 15:35:24 +0200 (CEST) Original-Received: from mail-it0-f52.google.com (mail-it0-f52.google.com [209.85.214.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id EAC601164B for ; Mon, 11 Jul 2016 15:35:13 +0200 (CEST) Original-Received: by mail-it0-f52.google.com with SMTP id u186so60258559ita.0 for ; Mon, 11 Jul 2016 06:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=h1/agQDu+BNnenRn7bQJn0B6T1YpjcvhZP7pTAmwoZ0=; b=UiGQn9j1CAC/jEbj8uCVWR6bbUeM591NCOza6AVF4r825oFVq4MePT9kHqLyV4rizq QLXgQuoq4CIIYbHG9VV6CYvyRoS9a5FbQ3ZyDWDTDCVfuPbF/C2U9eEtnzqYzBnybHqo MuwmP8sK85PPnfPeOFeX8loQqFWOA5V2F5oqvg7uaFcNT+PlinL+r993NafqoNYLsKdI 5A1ImLuT1IH8udqGvZccNAH8BE106u2P6J5LBSTWYV62xMVamjVxy7YSYG3HSrcsOqr3 iGodLi7uewCV5jXXWdYgJdg9JT3gxSOACdtBgjk6NC8Rk1l0lglBO/YwW1a2txEAbqcp xalg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=h1/agQDu+BNnenRn7bQJn0B6T1YpjcvhZP7pTAmwoZ0=; b=RWz9D8plw4JozSLwazPNavUKki58w0LNLsLP2CfZpNp9+MEjkwroRXVQPuGvsCwfyf XpFtzcMC3l0FgWzSPMLMWvRdoOLjn4WZUkLyhTW5TBhU9rvI1VjeShNyXDugV/FntrHv ULaIpKGFQYMX6W8JsW8i71QlbFOEeBKXKHBUoKjCQZS9kuUChbwWUQq6tmCncmhVCKVx I00F+a+Ff/tj1BBpyjRBktjOzqd5Q+Mwopj6m6QnUPTb1TMMIAHB5m+ARRPpye5gXyvh gPsWPPqtbesZmYH5hqcz3VkLIH/+zxadmLU6Eq+KZFtbd7LiGviOdLm2lIP9m0p1nzAb Zv8w== X-Gm-Message-State: ALyK8tKlOJekQn0wnoBVFdNGegSfdMHVwlM+hTxOcwZEstSG64rqvkem8e8koLmhg0fkQS4p0fgyLCxIvV0LHQ== X-Received: by 10.36.123.216 with SMTP id q207mr9682969itc.17.1468244111288; Mon, 11 Jul 2016 06:35:11 -0700 (PDT) In-Reply-To: <5783A00B.3050402@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95402 Archived-At: --===============3769463855003620891== Content-Type: multipart/alternative; boundary=001a1145a26cb26fe305375c3817 --001a1145a26cb26fe305375c3817 Content-Type: text/plain; charset=UTF-8 Thank you Marcus Vinicius On Mon, Jul 11, 2016, 10:33 Wolfgang Schuster wrote: > Marcus Vinicius Mesquita > 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[][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 > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ --001a1145a26cb26fe305375c3817 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Thank you

Marcus Vinicius


On Mon, Jul 11, 2016, 10:33= Wolfgang Schuster <schus= ter.wolfgang@gmail.com> wrote:
11.=20 Juli 2016 um 15:00
Dear list

How can one make the page with the TOC also=20 appear in the bookmarks using mkiv?

\setupinteraction[state=3Dstart]

\placebookmarks[title,chapter][force=3Dyes]

\starttext

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

% Variant 2, you can set your own text for the bookmark
% \starttitle[title=3D\headtext{content},reference=3Dcontent,bookmark=3DTab= le=20 of content]
% \placecontent
% \stoptitle

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

\stoptext

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

Wolfgang
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________ --001a1145a26cb26fe305375c3817-- --===============3769463855003620891== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============3769463855003620891==--