Re: [NTG-context] How to extend btx rendering?

2016-07-18 Thread Alan BRASLAU
On Mon, 18 Jul 2016 20:05:52 +0200 Henri Menke wrote: > I think it would be advantageous to also have the eprint/howpublished > field available for @article such that I can link the arXiv even > though an article has been published. This way people without > subscription

Re: [NTG-context] How to extend btx rendering?

2016-07-18 Thread Henri Menke
Alan, I noticed that there are some difficulties. The patched version of `publ-imp-aps.mkvi` behaves unexpected. The year in the @electronic citation is now missing a space and an opening parenthesis. Furthermore, when I place hyperlinks the color »spills over«, see attached. The link is only

Re: [NTG-context] How to extend btx rendering?

2016-07-18 Thread Henri Menke
Alan, thanks for your speedy reply. Actually, I also dislike the scattered specification of `eprint` and `archivePrefix`, but thought that it might be better to keep it for interoperability between ConTeXt and biblatex. The solution you sent to me works nicely and looks very clean. I will

Re: [NTG-context] How to extend btx rendering?

2016-07-18 Thread Alan BRASLAU
On Mon, 18 Jul 2016 15:06:06 +0200 Henri Menke wrote: > But I don't want to edit any system files, because this is not > portable. Also I don't want to have a copy of this file in my project > directory, because this is just redundant. > > How can I add the two fields

Re: [NTG-context] How to extend btx rendering?

2016-07-18 Thread Henri Menke
Okay, I have partly found out myself. One has to add the field `eprint` and `archivePrefix` to `categories.article.optional` in the file base/mkiv/publ-imp-aps.lua. But I don't want to edit any system files, because this is not portable. Also I don't want to have a copy of this file in my

[NTG-context] How to extend btx rendering?

2016-07-18 Thread Henri Menke
Dear list, It is common in physics (and probably mathematics) that papers are uploaded to an electronic archive prior to publishing them in the peer-review literature. In physical sciences this is https://arxiv.org. To cite such articles one usually uses the following format, here on the