Re: [NTG-context] interaction kills hyperlinks
Am 22.03.2012 um 22:37 schrieb Hans Hagen: 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)}] ah that's the reason, of course. thanks a lot for your reply! st. ___ 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 ___
Re: [NTG-context] interaction kills hyperlinks
Am 23.03.2012 um 08:49 schrieb Steffen Wolfrum: Am 22.03.2012 um 22:37 schrieb Hans Hagen: 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)}] your example (1) does not work: \setupinteraction [state=start] \starttext text \goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[{url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)}] test\footnote{\goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[{url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)}]} \stoptext Steffen (vers. 2012.03.13) ___ 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 ___
Re: [NTG-context] interaction kills hyperlinks
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 ___