From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62038 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: jump to PDF page Date: Tue, 28 Sep 2010 14:41:28 +0200 Message-ID: <4CA1E278.4060202@wxs.nl> References: <4CA1D0D9.9040703@wxs.nl> <5ADD12B9-74EA-4963-83DE-66E5414EF61F@st.estfiles.de> <4CA1DE01.8050702@wxs.nl> <440635BB-8765-4EF8-90B3-BD538BD79E72@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285677733 11180 80.91.229.12 (28 Sep 2010 12:42:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Sep 2010 12:42:13 +0000 (UTC) Cc: mailing list for ConTeXt users To: Steffen Wolfrum Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 28 14:42:10 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P0ZVa-0001IA-0q for gctc-ntg-context-518@m.gmane.org; Tue, 28 Sep 2010 14:42:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DCA50CA738; Tue, 28 Sep 2010 14:42:08 +0200 (CEST) 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 H2qw0Bj8KBuN; Tue, 28 Sep 2010 14:42:05 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 97DF8CA6F8; Tue, 28 Sep 2010 14:42:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D4E78CA6F8 for ; Tue, 28 Sep 2010 14:42:03 +0200 (CEST) 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 NkL2FnpsszAz for ; Tue, 28 Sep 2010 14:41:52 +0200 (CEST) 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 12896CA675 for ; Tue, 28 Sep 2010 14:41:52 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8SCfpi8002103 for ; Tue, 28 Sep 2010 14:41:51 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 4.3g4) with ESMTP id 5818-1713362 for multiple; Tue, 28 Sep 2010 14:40:21 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 ThunderBrowse/3.3.2 In-Reply-To: <440635BB-8765-4EF8-90B3-BD538BD79E72@st.estfiles.de> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cDccFPg8 - 8f40c4f74d15 - 20100928 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:62038 Archived-At: On 28-9-2010 2:28, Steffen Wolfrum wrote: > > Am 28.09.2010 um 14:22 schrieb Hans Hagen: > >> On 28-9-2010 1:54, Steffen Wolfrum wrote: >>> >>> Am 28.09.2010 um 13:26 schrieb Hans Hagen: >>> >>>> On 28-9-2010 12:49, Steffen Wolfrum wrote: >>>>> Hi, >>>>> >>>>> I there a command to "jump" to a specific pdf page? >>>>> >>>>> >>>>> Like \goto,\at, \in, \about ... only, in this case a page number should be given! >>>>> >>>>> >>>>> Any ideas? >>>> >>>> \goto{someplace}[page(10)] >>> >>> >>> This uses the number of real page. >>> But if I need to use the numbers of userpage? >>> >>> For example: >>> >>> \setuppagenumber[number=5] >>> \setupinteraction[state=start] >>> \starttext >>> \dorecurse{10}{\input tufte \page} >>> >>> Go to page \goto{6}[page(6)] >>> >>> \stoptext >>> >>> >>> This link goes to userpage 10 (= realpage 6 ). >>> How do I say "go to realpage number 6"? >> >> what if we have several page 6's in one document (using hard coded page numbers is a bad idea anyway) > > > > ok. but in my book there is only on realpage 6. > > I need it for building my own register by hand: > when I have "Stichwort 6" and I want add the link it would be great to say: > > "Stichwort 6 (\goto{6}[page(6)])" ... with 6 being #1 in a pagecommand, of course. you can add this to lpdf-ano.lua and then use realpage(123) function specials.realpage(var,actions) return link(nil,nil,nil,var.operation,actions) end ----------------------------------------------------------------- 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________