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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to