From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95401 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: TOC in bookmarks Date: Mon, 11 Jul 2016 15:32:59 +0200 Message-ID: <5783A00B.3050402@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2319975227597149820==" X-Trace: ger.gmane.org 1468244024 30136 80.91.229.3 (11 Jul 2016 13:33:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2016 13:33:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 11 15:33:30 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 1bMbL0-0004pH-36 for gctc-ntg-context-518@m.gmane.org; Mon, 11 Jul 2016 15:33:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EA24E11637; Mon, 11 Jul 2016 15:33:19 +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 bLN1hbgbXsM4; Mon, 11 Jul 2016 15:33:19 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 1A6541163A; Mon, 11 Jul 2016 15:33:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D300211637 for ; Mon, 11 Jul 2016 15:33:17 +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 3aWSRgqTF5KE for ; Mon, 11 Jul 2016 15:33:14 +0200 (CEST) Original-Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) (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 D415111634 for ; Mon, 11 Jul 2016 15:33:04 +0200 (CEST) Original-Received: by mail-lf0-f47.google.com with SMTP id f93so22401980lfi.2 for ; Mon, 11 Jul 2016 06:33:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=JLtAaAzDnhfpIfDNId9zd0eNBHpsJ9H/HVSIgHzpjlY=; b=SrHUBiJ2oLs/zQaAcccj6Jg+TyLd336I9qDyzWt0nwq/MWGosaekj13kE5yKLdZsz1 K6AWYpxYLrTGCoCQloSdc4XUA2qslTQ6v3lAM7wo4H6NwaPVd3rP7Htsw2+LpUfv31af sP5FwoQAP8KPNrdPskU+ATNzNCpMmfb8ZRmnEtXWnbH4rQXfJIL5F2dfa3JGl4gy4bK5 olQjb2xn1VEILXRWFiePac3zecLtgXrdAy8GMPIyq8gVo0PG1id5IBETljJYZJQT6WVD 0ULFzGd/GLoIzp4w3cozypdN56JOQAYoHDz5Gr613DILVParqFqV9ytVK7qmDmV/LjJP Fkew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=JLtAaAzDnhfpIfDNId9zd0eNBHpsJ9H/HVSIgHzpjlY=; b=ZAzmt7HYXpCFNja6rd2qrGVhqkaHEFU4SJweaU7WQMBMlrC+MOttFbdd0pzhhnl2fR lv7/yz2TcZnXmS9LRSctTsYAMa/ssyuMdcW/DjqcFoe2cJ4Bv3Zh41qAoQhJQ69Vb49H zo4WuPt8WO5Qo9m0N1purZUMtkFYd2eWBm/QHdNSAmYaK5PFIaw/M04VLDhuQzbeOL1l yrsLSiP2fbJvxAMlQanbO3DwOrdS12Puokardoe8tOD4ZDO3oKI3yQS17/qpgj6Ip/e6 rzLhMUngSy7P1NIc6SwxPa50PAO6ZVL0Ah3ImIjupicVdfhts//3JQ3kFQGmmT1rey+0 1o3A== X-Gm-Message-State: ALyK8tKBKulC4VcWkbvfMIi22s3424S23paLyc0sjX/BYI/3WL+a0SSd/cLulpufl3eLLg== X-Received: by 10.46.33.8 with SMTP id h8mr3775678ljh.36.1468243982495; Mon, 11 Jul 2016 06:33:02 -0700 (PDT) Original-Received: from keima.localdomain (x2f21b3b.dyn.telefonica.de. [2.242.27.59]) by smtp.gmail.com with ESMTPSA id u186sm2900684lff.27.2016.07.11.06.33.01 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jul 2016 06:33:01 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: 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:95401 Archived-At: This is a multi-part message in MIME format. --===============2319975227597149820== Content-Type: multipart/alternative; boundary="------------040708080601090603010503" This is a multi-part message in MIME format. --------------040708080601090603010503 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > 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 --------------040708080601090603010503 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
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
--------------040708080601090603010503-- --===============2319975227597149820== 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= --===============2319975227597149820==--