ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* stretched hyphenated url
@ 2012-03-30  8:01 Steffen Wolfrum
  2012-03-30 18:10 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Wolfrum @ 2012-03-30  8:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

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

[-- Attachment #2: PastedGraphic-2.pdf --]
[-- Type: application/pdf, Size: 9230 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: stretched hyphenated url
  2012-03-30  8:01 stretched hyphenated url Steffen Wolfrum
@ 2012-03-30 18:10 ` Hans Hagen
  2012-03-30 19:29   ` Steffen Wolfrum
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2012-03-30 18:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: stretched hyphenated url
  2012-03-30 18:10 ` Hans Hagen
@ 2012-03-30 19:29   ` Steffen Wolfrum
  2012-03-30 20:18     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Wolfrum @ 2012-03-30 19:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: stretched hyphenated url
  2012-03-30 19:29   ` Steffen Wolfrum
@ 2012-03-30 20:18     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2012-03-30 20:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-30 20:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-30  8:01 stretched hyphenated url Steffen Wolfrum
2012-03-30 18:10 ` Hans Hagen
2012-03-30 19:29   ` Steffen Wolfrum
2012-03-30 20:18     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).