On 08/14/2017 06:27 PM, Tomas Hala wrote:
Hi all,
I came across the problem with typesetting long URLs containing special characters transformed to hexadecimal form. Hyphenation of URLs is needed.
Minimal examples (URL taken from our garden and adopted):
1. \hyphenatedurl{http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw\%20hpw}
Hi Tomas, I think \letterpercent is what you need. Inside a little more complex sample: \setupinteraction[state=start] \unexpanded\def\mypersonalurl#1{% \bgroup\tt\goto{\hyphenatedurl{#1}}[url(#1)]\egroup} \starttext \hsize\zeropoint \mypersonalurl{http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw\letterpercent20hpw} \stoptext Please update the garden (another command is \letterhash), when the reply solved your problem. Many thanks (for the update ;-)), Pablo -- http://www.ousia.tk