From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17543 Path: main.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: bookmarks problems Date: Thu, 16 Dec 2004 16:33:33 +0000 Message-ID: <20041216163333.12359@news.comp.lancs.ac.uk> References: <41C07526.4090203@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1103214824 24784 80.91.229.6 (16 Dec 2004 16:33:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Dec 2004 16:33:44 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 16 17:33:36 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CeyZM-0000iL-00 for ; Thu, 16 Dec 2004 17:33:36 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 91CB7127BF; Thu, 16 Dec 2004 17:33:35 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10573-03; Thu, 16 Dec 2004 17:33:31 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8066E127BA; Thu, 16 Dec 2004 17:33:31 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2FE65127BA for ; Thu, 16 Dec 2004 17:33:31 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10592-05 for ; Thu, 16 Dec 2004 17:33:30 +0100 (CET) Original-Received: from mail.comp.lancs.ac.uk (unknown [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id 63989127B4 for ; Thu, 16 Dec 2004 17:33:30 +0100 (CET) Original-Received: from [194.80.36.199] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id iBGGXTiB004935; Thu, 16 Dec 2004 16:33:29 GMT Original-To: "mailing list for ConTeXt users" , "Hans Hagen" In-Reply-To: <41C07526.4090203@wxs.nl> X-Mailer: CTM PowerMail version 5.1 build 4340 English X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17543 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17543 Hans Hagen said this at Wed, 15 Dec 2004 18:32:22 +0100: >> I haven't looked at this in detail lately, and barely at all with the >> pdftex drivers. Hans, do you think it would be hard to turn direct page >> links into indirect links (point to page object)? > >can you check this: > > >\def\doPDFbookmark level #1 n #2 text #3 page #4 open #5% > {\scratchcounter#4\advance\scratchcounter\plusone % temp hack, better here > \expanded{\doPDFgetpagereference{\the\scratchcounter}}\PDFobjectreference > \pdfoutline > user {<>}% > \ifcase#2 \else count \ifcase#5-\fi#2 \fi > {#3}} Yes! much happier in Apple's Preview! Cheers, adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-