[NTG-context] stretched hyphenated url

2012-03-30 Thread Steffen Wolfrum
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?

Steffen
---


PastedGraphic-2.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] stretched hyphenated url

2012-03-30 Thread 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}

you can make the stretch 0pt and hope for the best


-
  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
___


Re: [NTG-context] stretched hyphenated url

2012-03-30 Thread Steffen Wolfrum

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?

st.
___
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
___


Re: [NTG-context] stretched hyphenated url

2012-03-30 Thread Hans Hagen

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

-
  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
___