Dear list, I have the following sample: \setupreferencestructureprefix [default] [prefixsegments=*:*] \starttext \section{One Section} \subsection[sec0]{Subsection} As told in \in[sec0] and \in[sec1]… \section{Another Section} \subsection[sec1]{Subsection} … \stoptext The output reads: As told in 1.1 and 2.1… I would like to be able to supress the section number in the reference, if the current section is the same as the referenced one. I mean, I would like that the output reads: As told in 1 and 2.1… Which would be the way to do it automatically? BTW, in my real--world document, I need to remove part and chapter numbers from the reference when in the same part and chapter (when compiling XML sources). Many thanks for your help, Pablo -- http://www.ousia.tk