author/editor fields not resolved via crossref

Issue #441 new
Matthias Troffaes created an issue

With the following bibtex, the “inbook” entry fails to pull author/editor information from the crossref’d “book” entry:

@inbook{srivastava+klassen_2016_statistical,
  crossref = {srivastava+klassen_2016_functional},
  title = {Statistical Modeling of Functional Data},
  pages = {269--303},
}

@book{srivastava+klassen_2016_functional,
  title = {Functional and Shape Data Analysis},
  booktitle = {Functional and Shape Data Analysis},
  author = {Srivastava, Anuj and Klassen, Eric P.},
  editor = {Bicke, Peter and Diggle, Peter and Fienberg, Stephen E. and Gather, Ursula and Olkin, Ingram and Zeger, Scott},
  year = {2016},
  series = {Springer {{Series}} in {{Statistics}}},
  publisher = {{Springer-Verlag}},
  address = {{New York}},
  doi = {10.1007/978-1-4939-4020-2},
  url = {https://www.springer.com/gp/book/9781493940189},
  urldate = {2020-01-12},
  isbn = {978-1-4939-4018-9},
  langid = {english}
}

After stepping through the debugger, I’ve nailed the issue to the implementation of the names template node:

https://bitbucket.org/pybtex-devs/pybtex/src/2b82780b5090b1c3de0875617b782fbb5b74ba4e/pybtex/style/template.py#lines-277

It appears that the crossref information is not used for person fields.

Originally reported by vnmabus here: https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/325

Comments (0)

  1. Log in to comment