From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9262 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \ref[t] in \goto Date: Mon, 16 Sep 2002 21:24:06 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020916212244.01fdeec8@server-1> References: <5.1.0.14.1.20020916161537.01fdda00@server-1> <20020910180011.2b6cd76d.morawski@gmx.net> <5.1.0.14.1.20020916161537.01fdda00@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399598 1796 80.91.224.250 (23 Oct 2002 18:59:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:59:58 +0000 (UTC) Cc: ConTeXt Original-To: Jens-Uwe Morawski In-Reply-To: <20020916180326.61064d62.morawski@gmx.net> Xref: main.gmane.org gmane.comp.tex.context:9262 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9262 At 06:03 PM 9/16/2002 +0200, Jens-Uwe Morawski wrote: >On Mon, 16 Sep 2002 16:16:09 +0200 >Hans Hagen wrote: > > > At 02:30 PM 9/10/2002 +0200, you wrote: > > > > >Ahoi, > > > > > >i need a \goto{\ref[t][ref:name]}[ref:name] to a > > >\textreference[ref:name]{Reference Text} that > > >displays "Reference Text" as a link to the reference. > > > > > >But this usage of \goto{\ref[t]... results in an error. > > > > do you have a minimal example file? > >I want use it for a linked nomenclature: > >%%% >\setupinteraction[state=start] > >\starttext > >\section{Nomenclature} > >TUG\textreference[nom:TUG]{TUG} -- \TeX user group > >\page > >\section{A section} > >The name of the german >\goto{\ref[t][nom:TUG]}[nom:TUG] is Dante. > >%%% >\stoptext > >\goto{TUG}[nom:TUG] works and \ref[t][nom:TUG] gives "TUG". >Now i want combine both to \goto{\ref[t][nom:TUG]}[nom:TUG]. > >Better would be a new macro, so i have to give the >ref-name only ones: > >\def\NomGoto#1{\goto{\ref[t][#1}[#1]} > >But this also fails. I will look into it; but: why not use The name of the german \in[nom:TUG] is Dante. since that's what \in is for? Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------