arXiv / arxiv-browse

Flask app for article abstract and listing pages
MIT License
109 stars 59 forks source link

Fixes bibtex primary class #645

Closed bdc34 closed 2 months ago

bdc34 commented 2 months ago

The Category that populates the primaryClass use to subclass str but that was changed. That caused this regressio

collares commented 2 months ago

Many thanks for the quick response! However, there is now a separate bug, which is that the primaryClass line does not end with a comma, even though it is not the last line in the entry. Example:

@misc{dona2024diameterrandomschreiergraphs,
      title={The diameter of random Schreier graphs}, 
      author={Daniele Dona and Luca Sabatini},
      year={2024},
      eprint={2406.16733},
      archivePrefix={arXiv},
      primaryClass={math.CO}
      url={https://arxiv.org/abs/2406.16733}, 
}
collares commented 2 months ago

The doi entry at https://arxiv.org/bibtex/2403.03279 also looks a bit funny.

jweiskoff commented 2 months ago

I just put in a PR to fix this.