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




___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to