Hyphenatedurl: custom line-break symbol, disable stretching
![](https://secure.gravatar.com/avatar/5883a55660d75172f7f5d4cc14b73a71.jpg?s=120&d=mm&r=g)
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? (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 Thanks and kind regards, Joshua
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 30.07.2014 um 23:02 schrieb Joshua Krämer
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
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 31.07.2014 um 14:45 schrieb 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.
From what I can see in the code there is no option to disable the stretch values. Wolfgang
participants (2)
-
Joshua Krämer
-
Wolfgang Schuster