2006/10/24, Aditya Mahajan <[EMAIL PROTECTED]>:
Hi,
What is the best way of typesetting a url from a variable. For
example, if I have
\setvariables[test][website= http://www.xyz.com/~abc/first_index.html]
how can I print the url. I tried
\starttext
\goto{\getvariable{test}{website}}[URL(\getvariable{test}{website})]
\stoptext
but this does not seem to work. Any suggestions?
Aditya
Hi Aditya,
you should look into the log-file and will see it is a problem with the tilde
in the url.
The following example works fine, tested on the garden with live ConTeXt.
\setvariables[garden][website=http://www.contextgarden.net]
\starttext
\goto{\getvariable{garden}{website}}[URL(\getvariable{garden}{website})]
\stoptext
Wolfgang
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context