* interaction kills hyperlinks @ 2012-03-22 15:09 Steffen Wolfrum 2012-03-22 21:37 ` Hans Hagen 0 siblings, 1 reply; 4+ messages in thread From: Steffen Wolfrum @ 2012-03-22 15:09 UTC (permalink / raw) To: mailing list for ConTeXt users [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? 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: interaction kills hyperlinks 2012-03-22 15:09 interaction kills hyperlinks Steffen Wolfrum @ 2012-03-22 21:37 ` Hans Hagen 2012-03-23 7:49 ` Steffen Wolfrum 0 siblings, 1 reply; 4+ messages in thread From: Hans Hagen @ 2012-03-22 21:37 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: interaction kills hyperlinks 2012-03-22 21:37 ` Hans Hagen @ 2012-03-23 7:49 ` Steffen Wolfrum 2012-03-23 8:18 ` Steffen Wolfrum 0 siblings, 1 reply; 4+ messages in thread From: Steffen Wolfrum @ 2012-03-23 7:49 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: interaction kills hyperlinks 2012-03-23 7:49 ` Steffen Wolfrum @ 2012-03-23 8:18 ` Steffen Wolfrum 0 siblings, 0 replies; 4+ messages in thread From: Steffen Wolfrum @ 2012-03-23 8:18 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-23 8:18 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-03-22 15:09 interaction kills hyperlinks Steffen Wolfrum 2012-03-22 21:37 ` Hans Hagen 2012-03-23 7:49 ` Steffen Wolfrum 2012-03-23 8:18 ` Steffen Wolfrum
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).