diff options
| author | Trim Bresilla | 2024-12-04 13:01:10 +0100 |
|---|---|---|
| committer | lukeflo | 2024-12-23 21:03:19 +0100 |
| commit | be72bac936515007b4fd9a30632f62ee19839bf8 (patch) | |
| tree | f6233f5d0dc3626c5555b174dc708fd44f8380c8 /tests | |
| parent | bcde4e631f28d4610738df65353cf9b319d4b98a (diff) | |
| download | bibiman-be72bac936515007b4fd9a30632f62ee19839bf8.tar.gz bibiman-be72bac936515007b4fd9a30632f62ee19839bf8.zip | |
feat: handle better arXiv's "citation key" imported from DOI
- Add a new dependency `rand` version `0.8` to the project
- Modify the `format_bibtex_entry` function for better readability and citation key cleaning
- Introduce logic to clean the citation key by retaining only alphanumerical characters and underscores
- Limit the citation key to the last 14 characters if it exceeds that length
- Add a new `file` field to the BibTeX entry using the provided file path
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
