![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 02.07.2013 um 17:30 schrieb Steffen Kram
Hello,
is it possible to reference parts of a document in a "relative" style?
My structure is as follows:
\startproduct … \startbodymatter \component chapterFoo/main \component chapterBar/main \stopbodymatter … \stopproduct
Each of my chapters uses \chapter, \section … \subsubsubsection markers. I would like to use references for each of them.
Is it possible to reference for example the subsection "Foo AA" from the chapter start with an relative reference such as
\chapter[sec:foo]{Foo}
\in[fooA:fooAA]
\section[fooA]{Foo A}
\subsection[fooAA]{Foo AA}
but when referencing it from the second chapter use a absolute reference:
\chapter[sec:bar]{Bar}
\in[sec:foo:fooA:fooAA] …
Is this possible? Or must I use absolute references and identifiers everywhere?
Take a look at page 149ff at the context manual [1] where this is described. [1] http://www.pragma-ade.nl/show-man-9.htm Wolfgang