From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85113 Path: news.gmane.org!not-for-mail From: Pol Stra Newsgroups: gmane.comp.tex.context Subject: Re: Pdf bookmarks with meta-structure (frontmatter, bodymatter etc) Date: Tue, 05 Nov 2013 20:25:57 +0100 Message-ID: <2000380.HTo80EL0gB@himym> References: <5277F15D.8030707@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1383679575 5059 80.91.229.3 (5 Nov 2013 19:26:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2013 19:26:15 +0000 (UTC) Cc: Hans Hagen To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 05 20:26:18 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 1VdmGW-0007fg-IB for gctc-ntg-context-518@m.gmane.org; Tue, 05 Nov 2013 20:26:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B578B10235; Tue, 5 Nov 2013 20:26:15 +0100 (CET) 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 F2WgaPF1r3xd; Tue, 5 Nov 2013 20:26:13 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5FF15101EF; Tue, 5 Nov 2013 20:26:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14D95101EF for ; Tue, 5 Nov 2013 20:26:12 +0100 (CET) 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 DGDRiRZSHJn0 for ; Tue, 5 Nov 2013 20:26:02 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 93E82101E3 for ; Tue, 5 Nov 2013 20:26:02 +0100 (CET) Original-Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rA5JQ1C3030216 for ; Tue, 5 Nov 2013 20:26:02 +0100 Original-Received: by mail-we0-f176.google.com with SMTP id w62so3884557wes.7 for ; Tue, 05 Nov 2013 11:26:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=zEHRR8y5CFY72K56siaZIgr+jeGbD+cOv4qDAEChDVQ=; b=Y4sQ5RM4xqGaYS7LkeloKFQbSMtBI1agkkSpaNb0bBovKYAgED7D7MxMudQ4j7iWzo LENaxCZx9pr7jpLabutjVi3NaapBxkaKunEyMPwgVTCjezXf8c7TrzVD4fHOJ1iWF7ef bM/2ZLcYc+vN9hBZ7jLan3kJ7W1qRQ787X9d9n/e9PaAY0m+b7S2W6mxEhXryBE0HUUo oqq+TfTLS0GLmUYrQaaf8lnEW7YbMqo2btXlIRrzHPFySP/95/Uj14FavuVymwAzAL/0 RjbFn/pnTRY/EbXmX0yj4ljUP9S2aYshat5QPIPVSGjuPJu8dxRPR7InbVW0nDpPp3pi DqgQ== X-Received: by 10.180.76.114 with SMTP id j18mr17882593wiw.35.1383679561826; Tue, 05 Nov 2013 11:26:01 -0800 (PST) Original-Received: from himym.localnet (c2s31-1-78-245-91-75.fbx.proxad.net. [78.245.91.75]) by mx.google.com with ESMTPSA id q3sm17418017wib.5.2013.11.05.11.25.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Nov 2013 11:26:00 -0800 (PST) User-Agent: KMail/4.11.2 (Linux/3.11.6-1-ARCH; KDE/4.11.2; x86_64; ; ) In-Reply-To: <5277F15D.8030707@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::230; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03KJTq2QV - cac07a01be55 - 20131105 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:85113 Archived-At: Le lundi 4 novembre 2013, 20:11:25 Hans Hagen a =E9crit : > On 10/21/2013 6:45 PM, pol stra wrote: > > Hello, > > = > > In my document, when I use a meta-structure, I only get "introduction" > > and "content" bookmarks, while not using a meta-structure, I have my > > part and chapter (which is the desired behaviour). How can I get the > > same behaviour in both structures? > > (by the way, how can I change the bookmarks of the table of contents, I > > tried \completecontent[bookmark=3Dmytitle] and \setupcombinedlist[mytit= le] > > without success). > > = > > Thank you all > > = > > Here is my sample code: > > = > > \setupinteraction [state=3Dstart] > > = > > \placebookmarks[part, chapter, section, title, subject][force=3Dyes] > > = > > \setupcombinedlist[content][ > > = > > list=3D{title, part, chapter, subject, subsubject, section, > > subsection}, > > alternative=3Dc] > > = > > \setuphead[part][placehead=3Dyes, 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 > = > If you want to influence the bookmark title you should explicitly set if > (and then not use \complete ... but \place...). Anyhow, I've added an > extra level to the bookmarks where you can also set the block titles. > = > \setupinteraction > [state=3Dstart] > = > \placebookmarks > [part,chapter,section,title,subject] > [force=3Dyes] > = > \setupcombinedlist > [content] > [list=3D{part,chapter,section,subsection}, > alternative=3Dc] > = > \setuphead > [part] > [placehead=3Dyes, > bodypartlabel=3Dpart] > = > \starttext > = > \startfrontmatter[bookmark=3DA fancy title] > \startchapter[title=3D{The introduction}] > \stopchapter > \startchapter[title=3DContents] > \placecontent[criterium=3Dall] > \stopchapter > \stopfrontmatter > = > \startbodymatter > \startpart[title=3D{part}] > \startchapter[title=3D{Some chapter}] > \stopchapter > \stoppart > \stopbodymatter > = > \stoptext > = > = > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > = > | www.pragma-pod.nl > = > ----------------------------------------------------------------- Thank you for the job Hans! ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________