Am 08.01.24 um 14:10 schrieb Ursula Hermann:
Dear List,
Is this the right way?
I want to use linked bibliography numbers, linked Chapter, section subsection, linked margin numbers, in the text.
\setupinteraction[state=start]
This is essential.
\starttext
Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \par (Beutelspacher [\hyphenatedurl {10},S.54]).
\stoptext
\hyphenatedurl only changes the hyphenation of its content, it doesn’t create a link. In your example it makes no sense. Generally, you need an anchor (link target) to link to, e.g. \startchapter[title={My chapter},reference=chap:first] or \chapter[chap:first]{My chapter} This works the same for other structure levels. I’m not sure about bibliography, but I think you must use the bib entry code. You can also set anchors manually using \textreference and \pagereference. Then you can use \in[chap:first], \about[chap:first] or \at[chap:first]. For external links, you use \goto (it’s a bit extensive). Please look up the syntax reference in the wiki. Hraban