[NTG-context] Re: the url color problem

2004-11-19 Thread Hans Hagen
Oeps, should be: \def\dodouseURL[#1][#2][#3][#4]% {\iffirstargument \iffourthargument \setgvalue{\v!file:::#1}{\doexternaldocument[#2][#3][#4]}% \else\ifthirdargument \setgvalue{\v!file:::#1}{\doexternalurl[#2][#3][#1]}% \else\ifsecondargument

Re: [NTG-context] Re: the url color problem

2004-11-19 Thread Nikolai Weibull
* Hans Hagen [EMAIL PROTECTED] [Nov 19, 2004 14:50]: \def\dodouseURL[#1][#2][#3][#4]% {\iffirstargument \iffourthargument \setgvalue{\v!file:::#1}{\doexternaldocument[#2][#3][#4]}% \else\ifthirdargument \setgvalue{\v!file:::#1}{\doexternalurl[#2][#3][#1]}%

Re: [NTG-context] Re: the url color problem

2004-11-19 Thread Hans Hagen
Adam Lindsay wrote: Nikolai Weibull said this at Fri, 19 Nov 2004 15:54:03 +0100: Seems to work fine, thanks. Not here. It still gobbles spaces in the label: \unprotect \def\dodouseURL[#1][#2][#3][#4]% {\iffirstargument \iffourthargument

Re: [NTG-context] Re: the url color problem

2004-11-19 Thread Adam Lindsay
Adam Lindsay said this at Fri, 19 Nov 2004 15:44:20 +: \starttext \useURL[something][something with a space][http://pragma-pod.com/] link to \from[something] here. \stoptext Sorry, my bad. This works: \starttext \useURL[something][http://pragma-pod.com/][][something with a space] link to