# [NTG-context] Marking a textfragment for later reference

Pontus Lurcock pont at talvi.net
Tue Aug 7 10:03:38 CEST 2012

On Tue 07 Aug 2012, Robert Blackstone wrote:

> Here follows my minimal example. I reasoned that the identifier [topica] might act as a label, or an anchor, or whatever the correct ConTeXt name is, for a reference.
> ---------------------------------------------------------------------------
>
> \definedelimitedtext[topica]
> \setupdelimitedtext[topica][left=,right=] %maybe superfluous? I do not need a layout different from the rest of the text.
> \starttext
>
>  Some text.
>
> \starttopica
> Some text to explain a certain topic, called topica.
> \stoptopica
>
> Some more text about topica. (See discussion on \at{page}[topica])
>
> \stoptext
>
> ---------------------------------------------------------------------------
> To avoid any misunderstanding: this is no longer a problem since I have been given excellent advice. But it intrigues me. Why can some identifiers, for example of figures, be used for internal references and others not?

In this case, I'd say it's because you're defining a delimited text
style which can be used in multiple places. Your document could have
five hundred \starttopica...\stoptopica blocks on different pages.
A figure identifier, on the other hand, is meant to be unique.

Pont