[NTG-context] \hyphenatedurl problem

Rik Kabel context at rik.users.panix.com
Mon Apr 13 20:45:27 CEST 2015


On 2015-04-13 13:19, Pablo Rodriguez wrote:
> On 04/11/2015 07:20 AM, Rik wrote:
>> With versions from 20150325 and earlier, the following example code
>> produced nicely wrapped URLs. With current betas, the URLs do not wrap.
> Hi Rik,
>
> with beta from 2015.04.12 15:41, urls are wrapped.
>
> Just in case it helps,
>
>
> Pablo
>
>
>
>> (Perhaps this is what Wolfgang meant when he wrote, in a reply in the
>> thread _Turning off French character spacing_:
>>
>>      The \url and \hyphenatedurl need to be fixed
>>
>> but I do not know that for sure.)
>>
>>      \setupinteraction[state=start]
>>      \starttexdefinition href #1
>>        \goto{\hyphenatedurl{#1}}[url(#1)]
>>      \stoptexdefinition
>>      \useURL[aUrl][https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable]
>>      \useURL[bUrl][https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable][][\hyphenatedurl{https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable}]
>>      \starttext
>>      goto href macro:
>>      \href{https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable}\par
>>      useURL without hyphenatedurl \from[aUrl]\par
>>      useURL with hyphenatedurl \from[bUrl]\par
>>      \stoptext
Yes, I saw that this morning before I headed out.

Thank you, Hans, for the fix.

-- 
Rik


More information about the ntg-context mailing list