<div dir="ltr"><div>Hi Henri,</div><div><br></div><div>thanks for the link. I had the same problem like the user you answered to. I turned on interactivity and now it works as expected. It didn't come to my mind first, because...<br></div><div><br></div><div>"What you are observing is the heuristics of your PDF viewer to detect links, which fails at the line break."</div><div><br></div><div>... interestingly this function seems to be broken in both, SumatraPDF and Adobe.</div><div><br></div><div>Thanks for your help, Lars.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Do., 24. Jan. 2019 um 23:35 Uhr schrieb Henri Menke <<a href="mailto:henrimenke@gmail.com">henrimenke@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 25/01/19 10:56 AM, Lars wrote:<br>
> Hi there,<br>
> <br>
> the \hyphenatedurl{} command doesn't seem to work. Only the first line<br>
> of the link is clickable and only the first line is being pasted into<br>
> the browser, resulting in a 404. I tested Sumatra and Adobe. MWE:<br>
<br>
\hyphenatedurl does not create a link in the PDF file at all.  What you<br>
are observing is the heuristics of your PDF viewer to detect links,<br>
which fails at the line break.  See this post on TeX.SX:<br>
<a href="https://tex.stackexchange.com/questions/376939/typesetting-long-urls-with-context" rel="noreferrer" target="_blank">https://tex.stackexchange.com/questions/376939/typesetting-long-urls-with-context</a><br>
<br>
> <br>
> %---------------<br>
> \setupinteraction[state=start]<br>
> <br>
> <br>
> \starttext<br>
>   hyphenatedurl on its own is only clickable in the first line and<br>
> pastes wrong URL to browser:<br>
>   \blank<br>
> \hyphenatedurl{<a href="https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/" rel="noreferrer" target="_blank">https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/</a>}<br>
> <br>
>   \blank<br>
>   Same in the<br>
> footnote:\footnote{\hyphenatedurl{<a href="https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/" rel="noreferrer" target="_blank">https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/</a>}}<br>
> <br>
> <br>
>   \emptylines[5]<br>
> <br>
>   useurl...url behaves the very same:<br>
>   \blank<br>
> \useURL[urlVar][<a href="https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/" rel="noreferrer" target="_blank">https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/</a>]\url[urlVar]<br>
> <br>
>   \blank<br>
>   Same in the footnote:\footnote{\url[urlVar]}<br>
> \stoptext<br>
> <br>
> ___________________________________________________________________________________<br>
> <br>
> If your question is of interest to others as well, please add an entry<br>
> to the Wiki!<br>
> <br>
> maillist : <a href="mailto:ntg-context@ntg.nl" target="_blank">ntg-context@ntg.nl</a> /<br>
> <a href="http://www.ntg.nl/mailman/listinfo/ntg-context" rel="noreferrer" target="_blank">http://www.ntg.nl/mailman/listinfo/ntg-context</a><br>
> webpage  : <a href="http://www.pragma-ade.nl" rel="noreferrer" target="_blank">http://www.pragma-ade.nl</a> / <a href="http://context.aanhet.net" rel="noreferrer" target="_blank">http://context.aanhet.net</a><br>
> archive  : <a href="https://bitbucket.org/phg/context-mirror/commits/" rel="noreferrer" target="_blank">https://bitbucket.org/phg/context-mirror/commits/</a><br>
> wiki     : <a href="http://contextgarden.net" rel="noreferrer" target="_blank">http://contextgarden.net</a><br>
> ___________________________________________________________________________________<br>
<br>
___________________________________________________________________________________<br>
If your question is of interest to others as well, please add an entry to the Wiki!<br>
<br>
maillist : <a href="mailto:ntg-context@ntg.nl" target="_blank">ntg-context@ntg.nl</a> / <a href="http://www.ntg.nl/mailman/listinfo/ntg-context" rel="noreferrer" target="_blank">http://www.ntg.nl/mailman/listinfo/ntg-context</a><br>
webpage  : <a href="http://www.pragma-ade.nl" rel="noreferrer" target="_blank">http://www.pragma-ade.nl</a> / <a href="http://context.aanhet.net" rel="noreferrer" target="_blank">http://context.aanhet.net</a><br>
archive  : <a href="https://bitbucket.org/phg/context-mirror/commits/" rel="noreferrer" target="_blank">https://bitbucket.org/phg/context-mirror/commits/</a><br>
wiki     : <a href="http://contextgarden.net" rel="noreferrer" target="_blank">http://contextgarden.net</a><br>
___________________________________________________________________________________</blockquote></div>