\starttext
See page \ref[p][myref 1] and \ref[p][myref 2].
\page
\reference[myref 1]{} This is the first reference.
\page
\reference[myref 2]{} This is the second one.
\stoptext
