Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to parse Editor in Book Chapter #21

Closed
renzomassobrio opened this issue Nov 7, 2017 · 1 comment
Closed

Fail to parse Editor in Book Chapter #21

renzomassobrio opened this issue Nov 7, 2017 · 1 comment

Comments

@renzomassobrio
Copy link

renzomassobrio commented Nov 7, 2017

Hello,

There seems to be an error when parsing Editors of a book chapter.
If the "inbook" entry type is used the editor appears as "object Object".
If the "incollection" entry type is used instead, then the editor field is simply ignored and the entry is categorized as "Misc".

See the MWEs below.
Thanks for your support!

bib:
@inBook{doe2017,
author = {John Doe},
editor = {Jane Doe},
chapter = {Chapter title},
publisher = {The publisher},
title={Book title},
year = {2017},
pages={1-3}
}

Output:
John Doe (2017). Chapter title in Book title, Edited by [object Object], The publisher, pp. 1-3.

bib:
@incollection{doe2017,
author = {John Doe},
editor = {Jane Doe},
chapter = {Chapter title},
publisher = {The publisher},
title={Book title},
year = {2017},
pages={1-3}
}

Output:
John Doe (2017). Book title.

@vkaravir
Copy link
Owner

vkaravir commented Nov 9, 2017

Thanks for reporting! These should now be fixed, although the in collection entry doesn't use all the possible fields. Also, for you example it will show the book title as missing since I believe the book title should be in the book title field, and the title of the work in title. Pull requests are welcome to improve this :)

Thanks again!

@vkaravir vkaravir closed this as completed Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants