[NTG-context] Referencing a definition

Kip Warner kip at thevertigo.com
Fri Mar 16 04:19:50 CET 2012


On Mon, 2012-03-05 at 18:04 +0100, Hans Hagen wrote:
> On 4-3-2012 23:52, Kip Warner wrote:
> > Hey list,
> >
> > I have a definition, like so...
> >
> > \startdefinition[definition:Foo]{Foo}
> > Definition of foo here...
> > \stopdefinition
> >
> > I'd like to reference it in the same way I would a section like
> > \in{section}[Node]. How can I do the same with a definition such that it
> > will typeset a clickable section number or some such to get to the
> > definition?
> 
> \definedescription[test]
> 
> \starttext
> 
> \starttest[ward] {one} \input ward \stoptest
> 
> bla bla \at{page}[ward] we define \about[ward]
> 
> \stoptext

Hey Hans,

How could I have a reference that typesets any word or phrase I choose,
but when clicked jumps to the aforementioned description?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120315/7eaf176e/attachment.pgp>


More information about the ntg-context mailing list