On 2010-10-25 <11:39:12>, Steffen Wolfrum wrote:
> 
> Am 25.10.2010 um 11:16 schrieb Philipp Gesang:
> 
> > On 2010-10-25 <10:25:55>, Steffen Wolfrum wrote:
> >> Hi,
> >> 
> >> the "%" is a frequently used character in URL.
> >> But \hyphenatedurl{} can deal with it ...
> >> 
> >> Does someone has a fix?
> >> 
> >> 
> >> \starttext
> >> text\footnote{test \hyphenatedurl{www.test%it.com} test.} text.
> > Ugly, but it works:
> > 
> > text\footnote{test \hyphenatedurl{www.test\letterpercent it.com} test.} 
> > text.
> 
> 
> If setupinteraction is set [state=start] it does not work:

Did you try exactly this:

··8<·····························································
\setupinteraction[state=start]
\starttext
text\footnote{test \hyphenatedurl{www.test\letterpercent it.com} test.} text.
\stoptext
··8<·····························································

?

> 
> 
> ! Undefined control sequence.
> 
> 
> \normalhyphenatedurl ...phenatedurlnormal \let \b 
>                                                   \dohyphenatedurlbefore 
> \le...
> \@@ddfootnotetitle ...w.test\letterpercent it.com}
>                                                    test.
> \dododescriptioncomponent ...onparameter \c!title 
>                                                   }}}\endgroup \fi \fi \fi 
> \...
> \@@notemakedescription ...list =,\c!bookmark =,][]
>                                                   \xdef \currentnotenumber 
> {...
> l.27 ...durl{www.test\letterpercent it.com} test.}
>                                                    text.
> ? 

Ahh, looks like your ‘\hyphenatedurl’ is not yet unexpanded …
how old is your context? With the one from  2010.10.22 16:46 it
definitely works. If you don’t want to update, check
lang-url.mkiv for ‘\def\hyphenatedurl#1%’ and prefix it with an
‘\unexpanded’.

Philipp

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

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: pgpySzCZg1FSy.pgp
Description: PGP signature

___________________________________________________________________________________
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