[NTG-context] interaction kills hyperlinks

Steffen Wolfrum context at st.estfiles.de
Fri Mar 23 09:18:21 CET 2012


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)



More information about the ntg-context mailing list