From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84933 Path: news.gmane.org!not-for-mail From: pol stra Newsgroups: gmane.comp.tex.context Subject: Pdf bookmarks with meta-structure (frontmatter, bodymatter etc) Date: Mon, 21 Oct 2013 18:45:45 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1107611764==" X-Trace: ger.gmane.org 1382373951 3214 80.91.229.3 (21 Oct 2013 16:45:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 16:45:51 +0000 (UTC) To: conteXt mail Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 21 18:45:56 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VYIc7-00050q-05 for gctc-ntg-context-518@m.gmane.org; Mon, 21 Oct 2013 18:45:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4C47101FF; Mon, 21 Oct 2013 18:43:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aBb73dpyw5AR; Mon, 21 Oct 2013 18:42:56 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7105A10201; Mon, 21 Oct 2013 18:42:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C27A10201 for ; Mon, 21 Oct 2013 18:42:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BrYHAXaK73BK for ; Mon, 21 Oct 2013 18:42:53 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id D4234101FF for ; Mon, 21 Oct 2013 18:42:53 +0200 (CEST) Original-Received: from dub0-omc2-s13.dub0.hotmail.com (dub0-omc2-s13.dub0.hotmail.com [157.55.1.152]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9LGjjqP032687 for ; Mon, 21 Oct 2013 18:45:45 +0200 Original-Received: from DUB124-W22 ([157.55.1.136]) by dub0-omc2-s13.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 21 Oct 2013 09:45:45 -0700 X-TMN: [KjlL5y/LgIJpxyA0+bjyheRYi43zVigy] X-Originating-Email: [ryzz@hotmail.fr] Importance: Normal X-OriginalArrivalTime: 21 Oct 2013 16:45:45.0017 (UTC) FILETIME=[FCA39A90:01CECE7C] X-Bayes-Prob: 0.0008 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=157.55.1.152; country=US; region=WA; city=Redmond; postalcode=98052; latitude=47.6801; longitude=-122.1206; metrocode=819; areacode=425; http://maps.google.com/maps?q=47.6801,-122.1206&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QKDQJJPR - 135ae927d58c - 20131021 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84933 Archived-At: --===============1107611764== Content-Type: multipart/alternative; boundary="_16051431-8934-47b6-a58c-10effb9c86fe_" --_16051431-8934-47b6-a58c-10effb9c86fe_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C In my document=2C when I use a meta-structure=2C I only get "introduction" = and "content" bookmarks=2C while not using a meta-structure=2C I have my pa= rt and chapter (which is the desired behaviour). How can I get the same beh= aviour in both structures? (by the way=2C how can I change the bookmarks of the table of contents=2C I= tried \completecontent[bookmark=3Dmytitle] and \setupcombinedlist[mytitle]= without success). Thank you all Here is my sample code: \setupinteraction [state=3Dstart] \placebookmarks[part=2C chapter=2C section=2C title=2C subject][force=3Dyes= ] \setupcombinedlist[content][ list=3D{title=2C part=2C chapter=2C subject=2C subsubject=2C section=2C= subsection}=2C alternative=3Dc] \setuphead[part][placehead=3Dyes=2C bodypartlabel=3Dpart] \startmode[meta] \startfrontmatter \startchapter[title=3D{Introduction}] % \component c_introduction \stopchapter \completecontent[criterium=3Dall] \stopfrontmatter \startbodymatter \startpart[title=3D{part}] \startchapter[title=3D{chapter1}] \stopchapter \stoppart \stopbodymatter \stopmode \startmode[nonmeta] \startchapter[title=3D{Introduction}] % \component c_introduction \stopchapter \completecontent[criterium=3Dall] \startpart[title=3D{part}] \startchapter[title=3D{chapter1}] \stopchapter \stoppart \stopmode = --_16051431-8934-47b6-a58c-10effb9c86fe_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello=2C

In my document= =2C when I use a meta-structure=2C I only get "introduction" and "content" = bookmarks=2C while not using a meta-structure=2C I have my part and chapter= (which is the desired behaviour). How can I get the same behaviour in both= structures?
(by the way=2C how can I change the bookmarks of the table = of contents=2C I tried \completecontent[bookmark=3Dmytitle] and \setupcombi= nedlist[mytitle] without success).

Thank you all

Here is my s= ample code:

\setupinteraction [state=3Dstart]

\placebookmarks= [part=2C chapter=2C section=2C title=2C subject][force=3Dyes]

\setup= combinedlist[content][
 =3B =3B =3B list=3D{title=2C part=2C= chapter=2C subject=2C subsubject=2C section=2C subsection}=2C
 =3B&= nbsp=3B =3B alternative=3Dc]

\setuphead[part][placehead=3Dyes=2C= bodypartlabel=3Dpart]

\startmode[meta]
 =3B =3B =3B = \startfrontmatter
 =3B =3B =3B  =3B =3B =3B \sta= rtchapter[title=3D{Introduction}]
 =3B =3B =3B  =3B = =3B =3B  =3B =3B =3B % \component c_introduction
 = =3B =3B =3B  =3B =3B =3B  =3B =3B =3B \stop= chapter

 =3B =3B =3B  =3B =3B =3B  =3B&n= bsp=3B =3B \completecontent[criterium=3Dall]
 =3B =3B = =3B \stopfrontmatter

 =3B =3B =3B \startbodymatter
&n= bsp=3B =3B =3B  =3B =3B =3B \startpart[title=3D{part}]<= br> =3B =3B =3B  =3B =3B =3B  =3B =3B = =3B \startchapter[title=3D{chapter1}]
 =3B =3B =3B  =3B&= nbsp=3B =3B  =3B =3B =3B \stopchapter
 =3B =3B&n= bsp=3B  =3B =3B =3B \stoppart
 =3B =3B =3B \stop= bodymatter
\stopmode

\startmode[nonmeta]
 =3B =3B = =3B \startchapter[title=3D{Introduction}]
 =3B =3B =3B  = =3B =3B =3B % \component c_introduction
 =3B =3B =3B=  =3B =3B =3B \stopchapter

 =3B =3B =3B &nbs= p=3B =3B =3B \completecontent[criterium=3Dall]

 =3B = =3B =3B \startpart[title=3D{part}]
 =3B =3B =3B  =3B=  =3B =3B \startchapter[title=3D{chapter1}]
 =3B =3B = =3B  =3B =3B =3B \stopchapter
 =3B =3B =3B \stop= part
\stopmode

= --_16051431-8934-47b6-a58c-10effb9c86fe_-- --===============1107611764== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1107611764==--