References
Jump to navigation
Jump to search
< Structurals | Bibliography >
If you want to refer to any text element, you must first define the target's reference label. All titling commands and a lot of others take one as optional parameter, e.g.
\chapter[preface]{Dear Reader}
Then you can refer to this spot with
As I told you in \in{chapter}[preface] on \at{page}[preface], I really like ConTeXt...
That will typeset the text in braces and add the number of the refered element, e.g. "chapter 1 on page 1".
To define a reference label anywhere you can also use \pagereference[reference] and \textreference[reference]{text}. Everwhere where you can define one label, you can also define more at once, if you separate them with commas. It's also possible to use "namespaces" like [fig:cow].
If you activated interaction, references become links automatically.
Example
\chapter[preface]{Dear Reader} \pagereference[zapfquote]\input zapf \dots As I told you in \in{chapter}[preface] on \at{page}[preface], I really like \ConTeXt\dots