From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7240 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: URL hyperlinks Date: Mon, 11 Mar 2002 22:33:56 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020311223234.033ffed8@server-1> References: <878z91yckq.fsf@dellius.nederware.nl> <20020309132757.GA2724@miwie.in-berlin.de> <878z91yckq.fsf@dellius.nederware.nl> 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 1035397719 17688 80.91.224.250 (23 Oct 2002 18:28:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:28:39 +0000 (UTC) Cc: NTG ConTeXt Original-To: Michael Wiedmann In-Reply-To: <20020310161753.GA4123@miwie.in-berlin.de> Xref: main.gmane.org gmane.comp.tex.context:7240 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7240 At 05:17 PM 3/10/2002 +0100, Michael Wiedmann wrote: > some site > >- I want to map this XML to ConText hyperlinks like: > > \def\makeulink#1{% > \useURL[one][\XMLpar{ulink}{url}{}]% > \goto{#1}[URL(one)]} > \defineXMLcommand[ulink] \makeulink you need \defineXMLargument here also, make sure to create a namespace, so \SOMETHINGmakeulink or so you can reuse the symbolic name, and in case of temp ones, use [dummy] 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 ------------------------------------------------------------------------- fall-back web server: www.pragma-ade.nl -------------------------------------------------------------------------