Hans—
The problem arises if one has
[Campbell]
[{http://www.very.long.edu/very/very/long/url/2002dp1.pdf}]
[]
[{\hyphenatedurl{http://www.very.long.edu/very/very/long/url/
2002dp1.pdf}}]
and then tries \from[Campbell] with \setupinteraction[state=start,]
But I see now that I that I can get the desired wrapping using \goto
rather than \hyphenatedurl and \from.
Two questions
• Which is preferred, \useURL or \useurl?
• Is there a “\setupgoto”? I need to make the typeface in the
printed URL the same as that in the body text.
and thanks.
Alan
On Apr 13, 2006, at 7:29 AM, Hans Hagen wrote:
> 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
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> [email protected]
> http://www.ntg.nl/mailman/listinfo/ntg-context
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context