josephwright / biblatex-phys

A biblatex implementation of the AIP and APS bibliography style
LaTeX Project Public License v1.3c
25 stars 5 forks source link

Do not print DOI when pages are not given but eid is #26

Closed schtandard closed 3 years ago

schtandard commented 4 years ago

Some Journals (including the AIP's Journal of Applied Physics and APS' Physical Review Letters) do not number the pages in the issues but rather the papers contained in them, using a unique ID. (Example) As I understand the biblatex documentation, this ID should not got into the pages field but rather into eid (it's not numbering pages, after all). The field's description reads

The electronic identifier of an @article. This field may replace the pagesfield for journals deviating from the classic pagination scheme of printed journals by only enumerating articles or papers and not pages.

Currently, the DOI is printed if pages is not given, even if doi=false is set. While I see the point of this if the page information is just missing, I think this should not happen, if the journal just doesn't use page numbers and the eid is given instead.

josephwright commented 4 years ago

I'll look to do this: the original ideas predate eid so there were pages-or-nothing, you are right that a minor adjustment is in order.