dgerosa / filltex

Automatic queries to ADS and INSPIRE databases to fill LaTex bibliography
https://davidegerosa.com/filltex
MIT License
21 stars 6 forks source link

Avoid creating duplicated bibtex entries from iNSPIRE #23

Closed dradice closed 3 years ago

dradice commented 3 years ago

iNSPIRE sometimes returns bibtex entries with a different key from the one used to query the database. For example, searching for "Monitor:2017mdv" returns a valid bibtex entry, but with key "LIGOScientific:2017zic". This caused fillbib and bibtex to be confused. This fix replaces the iNSPIRE key in the bibtex with the key used for the search, so that the entry is correctly found by both bibtex and fillbib.