-
Notifications
You must be signed in to change notification settings - Fork 28
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
When I have a book, and I have a last name like Passerin d'Entrèves
then the author is not rendered
#3597
Comments
Thanks. I was struggling with solving this. Nonetheless a bug, since the space is orthographically incorrect. |
I'm new to this so take it all with a grain of salt, but this is what I'm seeing - corrections welcome! For a new user like me: I see the missing name in the list of sources in the Source Hub task, and also in the New Source task you get to by clicking on a source in the Source Hub list. Both of those source descriptions with the missing author are being pulled from the taxonworks/app/models/source.rb Line 224 in 190d33a
taxonworks/app/models/source/bibtex.rb Lines 802 to 804 in 190d33a
namecase_bibtex_entry calls parse_names from the bibtex-ruby gem, and that's where the author name "Passerin d'Entrèves, Alessandro" fails to parse. At that point the author of the BibTeX::Entry object that was passed into parse is set to the empty string; that empty author gets passed back up the call chain and cached gets set without an author.
|
There's already an issue in the bibtex-ruby repository for parsing this kind of name: inukshuk/bibtex-ruby#149
I tried the namae package as inukshuk suggested and had the same issue, "Passerin d'Entrèves, Alessandro" fails to parse. |
the only way it works now if you put the name like 'Passerin d' Entrèves, Alessandro' with an extra space... |
This code fails. The first line |
Yes, as @kleintom notes this falls all the way back to namae and the parser. Ideally we work with their code-bases to add the fixes, instead of hacking a work-around here. |
1 similar comment
Yes, as @kleintom notes this falls all the way back to namae and the parser. Ideally we work with their code-bases to add the fixes, instead of hacking a work-around here. |
Passerin d' Entrèves
renders the author in the book.The text was updated successfully, but these errors were encountered: