BUG: Colour spilling in btxrendering

Dear list, I reported this already some time ago but apparently it went unnoticed. https://mailman.ntg.nl/pipermail/ntg-context/2016/086227.html When you place hyperlinks in the bibliography the colour »spills over«, see MWE below. The link is only on the string `Phys. Rev. 140 A1133–A1138 (1965)` but the whole line is coloured. Cheers, Henri --- \startbuffer[references] @article{Kohn1965, title = {Self-Consistent Equations Including Exchange and Correlation Effects}, author = {Kohn, W. and Sham, L. J.}, journal = {Phys. Rev.}, volume = {140}, issue = {4A}, pages = {A1133--A1138}, numpages = {0}, year = {1965}, month = {Nov}, publisher = {American Physical Society}, doi = {10.1103/PhysRev.140.A1133}, url = {https://link.aps.org/doi/10.1103/PhysRev.140.A1133} } \stopbuffer \setupinteraction[state=start] \usebtxdataset[references.buffer] \usebtxdefinitions[aps] \starttext \nocite{Kohn1965} \placelistofpublications \stoptext

On 08/08/2017 08:04 AM, Henri wrote:
This problem is still present in latest beta (see attached). I was unable to identify the cause. Please fix this. Bibliographies are somewhat unusable with coloured links right now.
Hi Henri, I don’t think there is a problem with the bibliographies. It is only how you set up interaction in the document: \setupinteraction[state=start, style=, color=, contrastcolor=] \enabledirectives[references.border] The directive only creates a gray border (which won’t be printed) to see where you may click. This fixes in my computer what I guess is your problem. I hope it helps, Pablo -- http://www.ousia.tk

On 08/08/2017 11:02 PM, Henri wrote:
You are right, Henri. My guess was wrong. Link is in both cases the same field (doi). But the color is spilled over the whole reference. Pablo -- http://www.ousia.tk

Hans has made changes to interaction in the latest beta, that I am only
now starting to test. Indeed, using the APS specification in
bibliographies, interaction was not limited to specific fields such as
titles or urls as is intended. This will be fixed.
Alan
On Tue, 8 Aug 2017 23:33:19 +0200
Pablo Rodriguez

On 8/9/2017 7:08 PM, Alan Braslau wrote:
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (5)
-
Alan Braslau
-
Hans Hagen
-
Henri
-
Henri Menke
-
Pablo Rodriguez