On 18-5-2010 4:13, Thomas Floeren wrote:
\setupinteraction[state=start]
\startsectionblockenvironment[bodypart] \setupuserpagenumber[number=1] \stopsectionblockenvironment
\starttext \startfrontmatter \page[dummy] \page[dummy] \stopfrontmatter
\startbodymatter \page[dummy] bla\index{bla} \stopbodymatter
\placeregister[index] \stoptext
\unprotect \def\withregisterpagecommand#1#2#3% {\def\currentregisterpageindex{#1}% \iflocation \goto{\registerparameter\c!pagecommand{#3}}[internal(#1)]% \else \registerparameter\c!pagecommand{#3}% \fi} \protect ----------------------------------------------------------------- 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 -----------------------------------------------------------------