On 25/01/19 10:56 AM, Lars wrote:
Hi there,
the \hyphenatedurl{} command doesn't seem to work. Only the first line of the link is clickable and only the first line is being pasted into the browser, resulting in a 404. I tested Sumatra and Adobe. MWE:
\hyphenatedurl does not create a link in the PDF file at all. What you are observing is the heuristics of your PDF viewer to detect links, which fails at the line break. See this post on TeX.SX: https://tex.stackexchange.com/questions/376939/typesetting-long-urls-with-co...
%--------------- \setupinteraction[state=start]
\starttext hyphenatedurl on its own is only clickable in the first line and pastes wrong URL to browser: \blank \hyphenatedurl{https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/}
\blank Same in the footnote:\footnote{\hyphenatedurl{https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/}}
\emptylines[5]
useurl...url behaves the very same: \blank \useURL[urlVar][https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/]\url[urlVar]
\blank Same in the footnote:\footnote{\url[urlVar]} \stoptext
___________________________________________________________________________________
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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________