Am 25.10.2010 um 12:26 schrieb Philipp Gesang:
On 2010-10-25 <12:05:37>, Steffen Wolfrum wrote:
\let\normalhyphenatedurl\hyphenatedurl
\bgroup
\catcode`\%=11
\gdef\hyphenatedurl
\unexpanded\gdef\hyphenatedurl
Should work in footnotes. Regards, Philipp
No, it doesn't (see below). Do you have an other idea? Thanks, Steffen (ConTeXt ver: 2010.10.21) Runaway argument? {test \hyphenatedurl {www.test\par \stoptext \par ! File ended while scanning use of \@@notemakedescription. system > error on line 0 in file : File ended while scanning use of \@@notemakedescription ... \let\normalhyphenatedurl\hyphenatedurl \bgroup \catcode`\%=11 \unexpanded\gdef\hyphenatedurl {\bgroup \catcode`\%=11 \expandafter\egroup \normalhyphenatedurl} \egroup \setupinteraction [state=start] \starttext text\footnote{test \hyphenatedurl{www.test%it.com} test.} text. \stoptext