Re: [NTG-context] Hyphenatedurl: custom line-break symbol, disable stretching

2014-08-01 Thread Joshua Krämer
On 2014-07-31, 14:49, Wolfgang Schuster wrote:

 From what I can see in the code there is no option to disable the
 stretch values.

Thanks for checking.

Kind regards,
Joshua


___
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] Hyphenatedurl: custom line-break symbol, disable stretching

2014-07-31 Thread Joshua Krämer
On 2014-07-31, 6:42, Wolfgang Schuster wrote:
 \def\hyphenatedurlseparator{→}

Thanks, I've added it to the wiki.  Now only the question remains how
to disable URL stretching.

Kind regards,
Joshua


___
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] Hyphenatedurl: custom line-break symbol, disable stretching

2014-07-31 Thread Wolfgang Schuster

Am 31.07.2014 um 14:45 schrieb Joshua Krämer joshua.krae...@gmail.com:

 On 2014-07-31, 6:42, Wolfgang Schuster wrote:
 \def\hyphenatedurlseparator{→}
 
 Thanks, I've added it to the wiki.  Now only the question remains how
 to disable URL stretching.

From what I can see in the code there is no option to disable the stretch 
values.

Wolfgang
___
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] Hyphenatedurl: custom line-break symbol, disable stretching

2014-07-30 Thread Wolfgang Schuster

Am 30.07.2014 um 23:02 schrieb Joshua Krämer joshua.krae...@gmail.com:

 Dear list,
 
 I typeset URLs with \hyphenatedurl, and have two questions.
 
 (1) Is there a feature available to insert a custom symbol when a
 line-break occurs, e.g. \hookleftarrow?

\setuplayout[width=4cm]

\starttext

\hyphenatedurl{http://optimist.optimist/optimist/optimist.optimist#optimist}

\def\hyphenatedurlseparator{→}

\hyphenatedurl{http://optimist.optimist/optimist/optimist.optimist#optimist}

\stoptext

 (2) How can I disable the stretching between characters?  I've tried
 the following without success:
 
  \setupurl [space=no]
 
  \setupurl [urlspace=no]
 
  \unprotect
  \def\lang_url_space{}
  \protect

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