[NTG-context] Footnotes and interaction again

Hans Hagen pragma at wxs.nl
Wed Mar 17 22:58:11 CET 2010


On 17-3-2010 18:53, Philipp Gesang wrote:
> \setupinteraction[state=start,focus=standard]
>
> \starttext
> \startfootnote
> A label \reference[label:1]{} we will refer to.
> \stopfootnote
> \page[yes]
> \goto{Here}[label:1] we refer somewhere.
> It all happens on Page \ref[p][label:1].
> \stoptext

in strc-ref.mkiv patch

\unexpanded\def\textreference {\dosingleargument\dotextreference}
\unexpanded\def\pagereference {\dosingleargument\dopagereference}
\unexpanded\def\reference     {\dosingleargument\doreference    }
\unexpanded\def\setreference  {\dodoubleargument\dosetreference }

(make them unexpandable)

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list