From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Steffen Wolfrum <context@st.estfiles.de>
Subject: Re: jump to PDF page
Date: Tue, 28 Sep 2010 16:38:45 +0200 [thread overview]
Message-ID: <4CA1FDF5.1060608@wxs.nl> (raw)
In-Reply-To: <4CA1F7F8.2000703@wxs.nl>
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
no more patched/extensions today
-----------------------------------------------------------------
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-09-28 14:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-28 10:49 Steffen Wolfrum
2010-09-28 11:26 ` Hans Hagen
2010-09-28 11:54 ` Steffen Wolfrum
2010-09-28 12:22 ` Hans Hagen
2010-09-28 12:28 ` Steffen Wolfrum
2010-09-28 12:41 ` Hans Hagen
2010-09-28 13:27 ` Steffen Wolfrum
2010-09-28 14:13 ` Hans Hagen
2010-09-28 14:38 ` Hans Hagen [this message]
2010-09-28 14:41 ` Steffen Wolfrum
2011-10-09 16:57 ` Steffen Wolfrum
2011-10-10 12:06 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CA1FDF5.1060608@wxs.nl \
--to=pragma@wxs.nl \
--cc=context@st.estfiles.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).