Auto DOI support issue when multiple papers have the same first author and year
Below I have four DOIs, but in the result, we get two links to the second one of each of the pairs that start the same way. Using Jupyter Book 2.
- https://doi.org/10.1029/2023MS004070
- https://doi.org/10.1029/2024GL112341
- https://doi.org/10.22541/essoar.174547926.68665522/v1
- https://doi.org/10.22541/essoar.174547944.43729039/v1
Edit: doesn't seem to happen in all cases. Not sure what is special about my examples above. But the below start the same but are recognized as separate papers.
- https://doi.org/10.1175/MWR-D-10-05056.1
- https://doi.org/10.1175/MWR-D-11-00215.1
Thanks for the report. I think that we are converting to a key that is the author_year for DOIs, which clearly doesn't work well here.
To get a fix for now:
myst build --doi-bib
Change the key (e.g. add an _a: Ocasio2025_a) and then run the command again. The UI won't say 2024a, but the links/hovers will be correct.
I think that we are converting to a key that is the
author_yearfor DOIs, which clearly doesn't work well here.
Ah, yes, that makes sense, the two pairs do have the same first author and year.
build --doi-bib + edit workaround worked, thanks!
The auto key generation for author "Núñez Ocasio" I found to be a little peculiar. It gave N_ez_Ocasio, where Nunez_Ocasio would make more sense to me.
I suppose we aren't downgrading unicode characters there! Great testing data... ! Thanks again for the issue, and glad you are mostly unblocked for now.