Am 28.10.2010 um 08:53 schrieb Taco Hoekwater:

> This works:
> 
> \startbuffer [comurl] \catcode`\%=12
> \hyphenatedurl{...



If I didn't overlook something, then this must be finally the solution:


\startbuffer [comurl] \catcode`\%=12
\useURL[test][http://www.kommers.se/upload/Analysarkiv/In%20English/Analyses/Woolcock%20paper%20on%20impact%20of%20Lisbontreaty%20on%20tradepolicy.pdf][]
[http://www.kommers.se/upload/Analysarkiv/In%20English/\crlf 
Analyses/Woolcock%20paper%20on%20impact%20of%20Lisb\crlf 
ontreaty%20on%20tradepolicy.pdf]\from[test]
\stopbuffer 

\setupinteraction
  [state=start]

\starttext

test {\getbuffer[comurl]} text.% HEY!

test
\startfootnote
test \getbuffer[comurl]\ text.% HEY!
\stopfootnote{} text.% HEY!

\stoptext



Here, the "%" character can be used for URL, both in bodytext and footnote, but 
works as "comment", too.
And we can at the same time manually break long URLs that are too weird for 
hyphenation by \hyphenatedurl.

Thank you Taco, Peter, Philipp and Hans for your efforts ...
and eventually getting all the pieces for this solution together!!!

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
___________________________________________________________________________________

Reply via email to