summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/interaction/interaction-hyperlinks.tex
blob: 7bac5d28d0c72ca30103df76b15569b7468374ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% language=us

\environment interaction-style

\startcomponent interaction-hyperlinks

\startchapter[title=Hyperlinks]

A hyperlink is something that you click on and that brings you to nother spot in
the document. The regular links are a side effect of references. The most commonly
used references are:

\starttyping
\in{figure}[fig:foo]
\at{page}[fig:foo]
\about[fig:foo]
\stoptyping

The first argument is what gets prepended to the number and the while can be
clicked on. Here we create a namespace with \type {fig:}. This can be somewhat
confusing with respect to prefixes but normally the resolver does a direct lookup
first.

\showsetup{at}
\showsetup{in}
\showsetup{about}

\stopchapter

\stopcomponent