# [NTG-context] wrapping a long URL without added spaces

Hans Hagen pragma at wxs.nl
Thu Apr 13 13:29:44 CEST 2006

```Alan Bowen wrote:
> I can wrap a long URL using \hyphenatedurl, but not without getting
> some unwanted spaces before the numerous �/�s in the URL.
>
> I expect that I have missed something elementary, again. Still, my
> efforts to avoid the spaces have thus far been unsuccessful, so any
> help would be gratefully received.
>
> My current setup is
>
> [Campbell]
> [{http://www.very.long.edu/very/very/long/url/2002dp1.pdf}]
> []
> [{\hyphenatedurl{http://www.very.long.edu/very/very/long/url/
> 2002dp1.pdf}}]
>
> I also have
> \setupinteraction[state=start,color=blue,style=rm]
>
can you be more specific ...

\showframe

\setupinteraction[state=start]

\starttext

\useurl
[Campbell]
[http://www.very.long.edu/very/very/long/url/2002dp1.pdf]
[]
[http://www.very.long.edu/very/very/long/url/2002dp1.pdf]

\hsize2mm\goto{\url[Campbell]}[url(Campbell)]

\stoptext

i see no spaces

Hans

-----------------------------------------------------------------