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

Make sure entry id can not contain commas #8

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

RGBsoup
Copy link
Contributor

@RGBsoup RGBsoup commented Jun 23, 2023

With some pdf-files the generated entry id contains a comma. The extra comma is not allowed in bibtex, which results in a bib file with a syntax error.

This example pdf results in the following invalid bib entry:

@article{fu2005design,,
        title = {Design, fabrication and testing of piezoelectric polymer PVDF microactuators},
        volume = {15},
        issue = {1},
        page = {S141-S146},
        publisher = {IOP Publishing},
        url = {http://dx.doi.org/10.1088/0964-1726/15/1/023},
        doi = {10.1088/0964-1726/15/1/023},
        journal = {Smart Materials and Structures},
        year = {2005},
        month = {12},
        author = {Yao Fu and Erol C Harvey and Muralidhar K Ghantasala and Geoff M Spinks}
}

@MicheleCotrufo
Copy link
Owner

Thanks for the quick fix! :) I'll merge it right now and release a new version soon.

@MicheleCotrufo MicheleCotrufo merged commit f0d6178 into MicheleCotrufo:master Jun 23, 2023
@RGBsoup RGBsoup deleted the id-fix branch June 24, 2023 13:08
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

Successfully merging this pull request may close these issues.

2 participants