[NTG-context] jump to PDF page

Hans Hagen pragma at wxs.nl
Tue Sep 28 14:22:25 CEST 2010


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)

Hans

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------


More information about the ntg-context mailing list