ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
[parent not found: <20000614100157.11715.qmail@crux.private.off-line>]
* URL as parameter...
@ 2000-06-12 14:47 Joop Susan
  2000-06-12 18:16 ` Berend de Boer
  2000-06-13 20:03 ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Joop Susan @ 2000-06-12 14:47 UTC (permalink / raw)


Hello,

Can anyone tell me how to pass a URL as a parameter to a macro if there is 
a tilde character present in the string. In the following example, the 
direct version works, but the macro version has it's '~' character 
substituted by white space.

==================================================

\starttext

\setupcolors[state=start]

\setupinteraction [state=start]

\setupurl
    [style=italic]

{\bf Direct:}

\useURL[tmp][http://www.xs4all.nl/~vnf/]
\goto {\url[tmp]}[URL(tmp)]

{\bf Macro:}

\def\utest#1%
{\useURL[tmp][#1]
 % ...
 % ...
 \goto {\url[tmp]}[URL(tmp)]}

\utest{http://www.xs4all.nl/~vnf/}

\stoptext

==================================================

Joop


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-06-14 13:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Your message of "Mon, 12 Jun 2000 20:16:57 +0200." <00c001bfd49a$659c08c0$0321a8c0@bmach.nederware.nl>
2000-06-12 20:46 ` URL as parameter Joop Susan
2000-06-13 20:06   ` Hans Hagen
     [not found] <20000614100157.11715.qmail@crux.private.off-line>
2000-06-14 13:58 ` Hans Hagen
2000-06-12 14:47 Joop Susan
2000-06-12 18:16 ` Berend de Boer
2000-06-13 20:03 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).