From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62044 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: jump to PDF page Date: Tue, 28 Sep 2010 16:41:10 +0200 Message-ID: <4302CA3D-1822-449D-9DAF-185243144CBC@st.estfiles.de> 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> <4CA1E278.4060202@wxs.nl> <02C05053-E4D2-4763-B111-F6961D63D57E@st.estfiles.de> <4CA1F7F8.2000703@wxs.nl> <4CA1FDF5.1060608@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285684884 17935 80.91.229.12 (28 Sep 2010 14:41:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Sep 2010 14:41:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 28 16:41:21 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 1P0bMu-0002hA-L2 for gctc-ntg-context-518@m.gmane.org; Tue, 28 Sep 2010 16:41:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 09A1ECA740; Tue, 28 Sep 2010 16:41:20 +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 1WrePOVhkvno; Tue, 28 Sep 2010 16:41:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C6FBDCA691; Tue, 28 Sep 2010 16:41:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4D4FCA615 for ; Tue, 28 Sep 2010 16:41:15 +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 asaQjyWYqiAG for ; Tue, 28 Sep 2010 16:41:13 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 388FFCA691 for ; Tue, 28 Sep 2010 16:41:13 +0200 (CEST) Original-Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.29.24]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8SEfCvR018647 for ; Tue, 28 Sep 2010 16:41:12 +0200 Original-Received: from [89.247.22.16] (helo=[192.168.1.4]) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1P0bMm-0003TJ-2U for ntg-context@ntg.nl; Tue, 28 Sep 2010 16:41:12 +0200 In-Reply-To: <4CA1FDF5.1060608@wxs.nl> X-Mailer: Apple Mail (2.1081) X-Df-Sender: 698580 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.67.29.24; country=DE; region=02; city=Ismaning; latitude=48.2333; longitude=11.6333; http://maps.google.com/maps?q=48.2333,11.6333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06DceFcbd - 09bf0ec5a086 - 20100928 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:62044 Archived-At: Am 28.09.2010 um 16:38 schrieb Hans Hagen: > On 28-9-2010 4:13, Hans Hagen wrote: >> On 28-9-2010 3:27, Steffen Wolfrum wrote: >>> >>> Am 28.09.2010 um 14:41 schrieb Hans Hagen: >>> >>>> On 28-9-2010 2:28, Steffen Wolfrum wrote: >>>>> >>>>> 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 >>> >>> >>> no, no, obviously the terms were mixed! sorry!! >>> this is what we already had (the link goes to userpage 10 = realpage 6). >>> >>> I need a "function specials.realpage", so the link goes to userpage 6 ! >> >> that's more work as we can have dup userpage entries > > I'll upload a beta that supports > > \setupinteraction[state=start] > > \starttext > \startstandardmakeup > no page > \stopstandardmakeup > one \goto{page 2}[page(2)] > one \goto{realpage 2}[realpage(2)] > one \goto{userpage 2}[userpage(2)] > \page > two \goto{page 1}[page(1)] > two \goto{realpage 1}[realpage(1)] > two \goto{userpage 1}[userpage(1)] > \stoptext great! st. ___________________________________________________________________________________ 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 ___________________________________________________________________________________