From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86746 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: Re: Placing arbitrary pdf bookmarks Date: Sat, 22 Mar 2014 20:00:57 +0100 Message-ID: <532DDDE9.5080303@gmx.es> References: <532DBAE6.5000701@gmx.es> <0C35D60C-4456-4244-BE1B-2A055A409317@ecp.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1395514869 7183 80.91.229.3 (22 Mar 2014 19:01:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2014 19:01:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 22 20:01:20 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 1WRRAV-0005HF-D3 for gctc-ntg-context-518@m.gmane.org; Sat, 22 Mar 2014 20:01:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B50A8101E7; Sat, 22 Mar 2014 20:01:18 +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 aQjUWu6BTZsG; Sat, 22 Mar 2014 20:01:16 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9824B101EB; Sat, 22 Mar 2014 20:01:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 757FE101EB for ; Sat, 22 Mar 2014 20:01: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 H4Np0EEjCw10 for ; Sat, 22 Mar 2014 20:01:13 +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 C5960101E7 for ; Sat, 22 Mar 2014 20:01:03 +0100 (CET) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s2MJIbhr017944 for ; Sat, 22 Mar 2014 20:18:37 +0100 Original-Received: from [192.168.1.33] ([88.5.201.6]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0Lk8CY-1WyqAe1gSY-00c5S6 for ; Sat, 22 Mar 2014 20:01:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <0C35D60C-4456-4244-BE1B-2A055A409317@ecp.fr> X-Provags-ID: V03:K0:XzFKQtCrd19y336Jpubnnd7D+CgABQEvITTDyQwo2gYT9326tv2 TJ09yu9f0RhpyMZOftkA8o23ndHEwzVeJKDEklpNT2tfH2dpKvmEnOJMD30/x3AXLTNprzV SWeYXIbEFYlvuiDZ7h63JHHPdEtkmPcquyfRlPVppMz0F1NCTwSLnpLCovd7OpAdGkiEEsQ OXcknMnMTjvDeUTa5ZIRw== X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=212.227.17.20; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LEHiBsQ - b6dbb3253998 - 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:86746 Archived-At: On 03/22/2014 07:11 PM, Jean-Philippe Rey wrote: > [...] > Very good hint, thank you. It works perfectly fine with MkII. With > MkIV, although the head is not printed, some whitespace is added that > disturbs the layout. I tried > > \setuphead[chapter,section][placehead=hidden] > > and got rid of the spurious whitespace ... but also of the pdf bookmarks :-( > > \setuphead[chapter,section][placehead=no,page=no,before=,after=] > > don't work either. Jean-Philippe, my fault, this is the right head configuration: \setuphead[chapter,section][placehead=empty,before=,after=,] This should work now: \showgrid \setupinteraction[state=start] \placebookmarks[chapter,section] \setuphead[chapter,section][placehead=empty,before=,after=,] \starttext \chapter{B1} \section{A1} Sticker 1 Sticker 2 \page Sticker 3 \section{A2} Sticker 4 \page \chapter{B2} Sticker 5 \section{A3} Sticker 6 \stoptext I hope it helps now, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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 ___________________________________________________________________________________