On 20-6-2011 3:47, Reviczky, Adam wrote:
So what would be the correct way to do this then?

Right, so is this ok, or is there a better way?

---
\setupinteraction[state=start]
\setupbackend[export=test.xml]
\starttext
\goto{projects.dcs.kcl.ac.uk/\lettertilde 
reviczky}[url(http://projects.dcs..kcl.ac.uk/\string~reviczky/)]
\stoptext

It's a side effect of ~ becoming a utf character for nbsp. I'll change the definition to:

\unexpanded\edef~{\utfchar{"00A0}}

Then you get this:

\goto{a.c.d/~reviczky}[url(http://a.c.d/~reviczky)]

\goto{\hyphenatedurl{a.c.d/~reviczky}}[url(http://a.c.d/~reviczky)]

Which is what one can expect.

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to