Incorrect cite key when copying as bibtex

I am trying to export a citation using - BubTeX generic citation style - and it exports it as:

@article{R. M. Gray_D. L. Neuhoff_1998, title={Quantization}, volume={44}, ISSN={1557-9654}, DOI={10.1109/18.720541}, number={6}, journal={IEEE Transactions on Information Theory}, author={R. M. Gray and D. L. Neuhoff}, year={1998}, month=oct, pages={2325–2383} }

I think the citation key is incorrect as it has spaces in it. Here is the RIS of the above I copied it from IEEE - https://ieeexplore.ieee.org/document/720541

```
TY - JOUR
TI - Quantization
T2 - IEEE Transactions on Information Theory
SP - 2325
EP - 2383
AU - R. M. Gray
AU - D. L. Neuhoff
PY - 1998
DO - 10.1109/18.720541
JO - IEEE Transactions on Information Theory
IS - 6
SN - 1557-9654
VO - 44
VL - 44
JA - IEEE Transactions on Information Theory
Y1 - Oct. 1998
ER -
```
  • Spaces are unusual but not disallowed in citekeys. You are getting them because the metadata is incorrect (authors should last name, first name in two fields).
    If you write with or have strong requirements on your citekeys, you should use the BetteBibtex add-on.
  • I see here and there that spaces would be allowed by bibtex, but on overleaf my MWEs with spaces in the key fail. BBT removes spaces from keys unconditionally.
Sign In or Register to comment.