From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25830 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: pdfstartview Date: Fri, 03 Feb 2006 19:29:30 +0100 Message-ID: <43E3A10A.2090602@elvenkind.com> References: <6faad9f00602010817t5c416f03sf546fc80bc695ab6@mail.gmail.com> <43E11DDE.80508@wxs.nl> <6faad9f00602011716j724d709dv49796d3c1fe32b7b@mail.gmail.com> <43E1CA86.80903@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1138991500 26994 80.91.229.2 (3 Feb 2006 18:31:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2006 18:31:40 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 03 19:31:37 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1F55hq-0003pO-Pa for gctc-ntg-context-518@m.gmane.org; Fri, 03 Feb 2006 19:30:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7A1891286E; Fri, 3 Feb 2006 19:30:50 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04140-02; Fri, 3 Feb 2006 19:30:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 258AA12857; Fri, 3 Feb 2006 19:29:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DD7FB12857 for ; Fri, 3 Feb 2006 19:29:01 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04140-01 for ; Fri, 3 Feb 2006 19:29:00 +0100 (CET) Original-Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by ronja.ntg.nl (Postfix) with SMTP id E18E8127EA for ; Fri, 3 Feb 2006 19:29:00 +0100 (CET) Original-Received: from boo.demon.nl ([82.161.175.147]:41029 helo=[192.168.1.3]) by post-23.mail.nl.demon.net with esmtp (Exim 4.51) id 1F55g4-000Mgw-9n for ntg-context@ntg.nl; Fri, 03 Feb 2006 18:29:00 +0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25830 Archived-At: Peter M=FCnster wrote: > On Thu, 2 Feb 2006, Taco Hoekwater wrote: > = > = >>This works (but only because object 4 is the first page in my Pdf >>document). I do not know if this can be 'internalized'? >> >> \setupinteraction[state=3Dstart,focus=3Dminwidth] >> \doPDFaddtocatalog{/PageMode /FullScreen >> /OpenAction << /S /GoTo /D [4 0 R /FitBH ] >> } > = > = > Hello Taco, > indeed, this seems to work! > Only 2 problems remain: > - the object number should be found automatically (as you've already writ= ten) > - when clicking on a reference, the zoom-level still changes... I assume that is because the /FitBH should match what is implied by the focus=3Dminwidth, I just freewheeled a bit. The /D(estination) in this is the top-level page object for page 1, so it actually does an implied \goto{}[firstpage]. I don't know how to get the object number (I simply reverse- engineered the hyperref output). It is not all that sneaky an approach. I don't think it will work on pre 5.0 acroread, though. Taco