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