On 22-3-2012 16:09, Steffen Wolfrum wrote:
[as the first posting was labeled spam, I try it once more:]


Hi,

it's probably a rare case: URL with comma.

Just by chance I found that these URL kill hyperlinks when interaction is 
active:

\setupinteraction
   [state=start]

\starttext

\goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)]

\goto{\hyphenatedurl{www.ftd.de/politik/deutschland/1058704515970.html}}[url(http://www.ftd.de/politik/deutschland/1058704515970.html)]

\stoptext

Strange, isn't?

not at all, as between [] there can be a list of actions to be done, in your case only one; so put {} around it:

1: \goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[{url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)}]

2: \goto{\hyphenatedurl{www.ftd.de/politik/deutschland/1058704515970.html}}[{url(http://www.ftd.de/politik/deutschland/1058704515970.html)}]

or even better, use an abstraction (easier to maintain):

\useurl[spiegel-1][www.spiegel.de/spiegel/0,1518,288433,00.html]
\useurl[politik-1][www.ftd.de/politik/deutschland/1058704515970.html]

3: \goto{\url[spiegel-1]}[spiegel-1]

4: \goto{\url[politik-1]}[politik-1]


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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