From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86743 Path: news.gmane.org!not-for-mail From: Jean-Philippe Rey Newsgroups: gmane.comp.tex.context Subject: Placing arbitrary pdf bookmarks Date: Sat, 22 Mar 2014 16:35:15 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1395502526 5631 80.91.229.3 (22 Mar 2014 15:35:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2014 15:35:26 +0000 (UTC) To: conteXt mail Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 22 16:35:37 2014 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 1WRNxQ-0006Oy-8H for gctc-ntg-context-518@m.gmane.org; Sat, 22 Mar 2014 16:35:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5011C101F0; Sat, 22 Mar 2014 16:35:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl X-Amavis-Alert: BAD HEADER SECTION, Non-encoded 8-bit data (char C3 hex): X-CanIt-Geo: ...n=Hauts-de-Seine; city=Ch\303\242tenay-Malabry;[...] 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 QI27wP-JM2H4; Sat, 22 Mar 2014 16:35:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 19649101EB; Sat, 22 Mar 2014 16:35:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7F3A0101EB for ; Sat, 22 Mar 2014 16:35:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl X-Amavis-Alert: BAD HEADER SECTION, Non-encoded 8-bit data (char C3 hex): X-CanIt-Geo: ...n=Hauts-de-Seine; city=Ch\303\242tenay-Malabry;[...] 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 bKCk2zB9iiMg for ; Sat, 22 Mar 2014 16:35:29 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id ADC2D101E7 for ; Sat, 22 Mar 2014 16:35:19 +0100 (CET) Original-Received: from smtp3.ecp.fr (smtp3.ecp.fr [138.195.33.47]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s2MFqoVP024955 for ; Sat, 22 Mar 2014 16:52:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by smtp3.ecp.fr (Postfix) with ESMTP id E525A5F99E; Sat, 22 Mar 2014 16:35:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at smtp3.ecp.fr Original-Received: from smtp3.ecp.fr ([127.0.0.1]) by localhost (smtp3.ecp.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e5vI4H6SvJp4; Sat, 22 Mar 2014 16:35:16 +0100 (CET) Original-Received: from [192.168.1.95] (254.110.102.84.rev.sfr.net [84.102.110.254]) (Authenticated sender: jean-philippe.rey@ecp.fr) by smtp3.ecp.fr (Postfix) with ESMTPSA id 9813D5F7F3; Sat, 22 Mar 2014 16:35:16 +0100 (CET) X-Mailer: Apple Mail (2.1510) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=138.195.33.47; country=FR; region=Hauts-de-Seine; city=Châtenay-Malabry; latitude=48.7667; longitude=2.2667; http://maps.google.com/maps?q=48.7667,2.2667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LEDQODa - f32fa96c3587 - 20140322 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:86743 Archived-At: Hello all, I am willing to use ConTeXt to produce a bunch of stickers. My stickers are= grouped into categories but I don't want any headers or titles to interfer= e with the layout of the stickers, so I didn't use \startchapter and the li= kes. However, I would like to add pdf bookmarks in order to quickly jump to= the start of a category. After taking a look at strc-bkm.mkiv, I tried the= following \setupinteraction[state=3Dstart] \definelist[building] \definelist[aisle] \placebookmarks[building,aisle] = \starttext = \bookmark[building]{B1} \bookmark[aisle]{A1} = Sticker 1 = Sticker 2 = \page \bookmark[aisle]{A2} = Sticker 3 = Sticker 4 = \page \bookmark[building]{B2} \bookmark[aisle]{A3} = Sticker 5 = Sticker 6 = \stoptext But it didn't worked. I didn't get any error message but no bookmark either. How can I directly add a bookmark to the pdf table of contents ? Previously= I was using the ReportLab toolkit which provided for this purpose the book= markPage and addOutlineEntry functions. Is there a similar solution with Co= nTeXt ? Thanks for your help, -- = Jean-Philippe Rey Professeur - =C9cole Centrale Paris jean-philippe.rey@ecp.fr 92295 Ch=E2tenay-Malabry Cedex - France Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51 ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________