[NTG-context] BUG: colour spilling in btxrendering
Dear list, It seems with one of the latest lmtx this old reported issue (https://www.mail-archive.com/ntg-context@ntg.nl/msg84988.html) is back. MWE: \setupinteraction[state=start,color=red,style=] \setupbtx[aps:cite][alternative=entry] \usebtxdefinitions[aps] \startbuffer [bib] @ARTICLE{67533, author={De Doncker, R.W.A.A. and Divan, D.M. and Kheraluwala, M.H.}, journal={IEEE Transactions on Industry Applications}, title={A three-phase soft-switched high-power-density DC/DC converter for high-power applications}, year={1991}, volume={27}, number={1}, pages={63-73}, keywords={DC-DC power converters;Resonance;Switching frequency;Inverters;Filters;Snubbers;Circuit topology;Thyristors;Switching converters;Industry Applications Society}, doi={10.1109/28.67533}} } \stopbuffer \usebtxdataset [bib.buffer] \starttext \cite[alternative=entry][67533] \startnointerference \placelistofpublications \stopnointerference \stoptext A. Christe ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
Re: [NTG-context] BUG: Colour spilling in btxrendering
On 8/9/2017 7:08 PM, Alan Braslau wrote: 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. beware: there is two kinds o finteraction ... go to the outside world (url or doi), and go to the place where that citation takes place in the text 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 - ___ 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 ___
Re: [NTG-context] BUG: Colour spilling in btxrendering
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 Rodriguezwrote: > On 08/08/2017 11:02 PM, Henri wrote: > > On Tue, 2017-08-08 at 17:31 +0200, Pablo Rodriguez wrote: > >> [...] > >> This fixes in my computer what I guess is your problem. > > > > I would call this a workaround. What I want are coloured links. > > Usually only the clickable area is coloured but in the bibliography > > it somehow "spills" over to the surrounding text as well. > > 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 ___ 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 ___
Re: [NTG-context] BUG: Colour spilling in btxrendering
On 08/08/2017 11:02 PM, Henri wrote: > On Tue, 2017-08-08 at 17:31 +0200, Pablo Rodriguez wrote: >> [...] >> This fixes in my computer what I guess is your problem. > > I would call this a workaround. What I want are coloured links. > Usually only the clickable area is coloured but in the bibliography > it somehow "spills" over to the surrounding text as well. 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 ___ 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 ___
Re: [NTG-context] BUG: Colour spilling in btxrendering
On Tue, 2017-08-08 at 17:31 +0200, Pablo Rodriguez wrote: > 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 would call this a workaround. What I want are coloured links. Usually only the clickable area is coloured but in the bibliography it somehow "spills" over to the surrounding text as well. > > I hope it helps, > > Pablo ___ 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 ___
Re: [NTG-context] BUG: Colour spilling in btxrendering
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 ___ 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 ___
Re: [NTG-context] BUG: Colour spilling in btxrendering
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. On Mon, 2017-05-08 at 09:43 +1200, Henri Menke wrote: > 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 test.pdf Description: Adobe PDF document ___ 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 ___
[NTG-context] 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 ___ 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 ___