[NTG-context] stretched hyphenated url

Hans Hagen pragma at wxs.nl
Fri Mar 30 22:18:37 CEST 2012

On 30-3-2012 21:29, Steffen Wolfrum wrote:
>
> Am 30.03.2012 um 20:10 schrieb Hans Hagen:
>
>> On 30-3-2012 10:01, Steffen Wolfrum wrote:
>>> Hi,
>>>
>>> I, personally, like the solution for hyphenated url (by stretching).
>>> Only a author of mine feels that it was too much (see attached, first line).
>>>
>>> Is there a way to adjust the degree of stretching?
>>
>> \def\lang_url_space{\nobreak\hskip\zeropoint plus\onepoint\nobreak}
>
>
> thank you for the fast help! I made some testing and found a value that stretches nicely in my document.
> did I understand it correctly that I can only make this change *globally*, ie. in lang-url.mkiv plus regenerating the formats?

You can put it in your style (between \unprotect \protect). As it's a
low level hack, it might eventually become some configuration option but
urls are low on my priority list.

Hans

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