sile-typesetter / sile

The SILE Typesetter — Simon’s Improved Layout Engine
https://sile-typesetter.org
MIT License
1.67k stars 99 forks source link

Support ids field in bibtex files #2085

Open Omikhleia opened 4 months ago

Omikhleia commented 4 months ago

Bib(La)Tex has an interesting ids field:

  ids = {alias1, alias2}

"Citation key aliases for the main citation key. An entry may be cited by any of its aliases ... the citation (will be treated) as if it had used the primary citation key. This is to aid users who change their citation keys but have legacy documents which use older keys for the same entry."

Omikhleia commented 4 months ago

The whole rationale is indeed

"This is to aid users who change their citation keys but have legacy documents which use older keys for the same entry."

As I am extending my bib files from various sources, I realize there are some inconsistencies in key names. So far so good (I haven't released anything final), but at some point, it will become a compatibility issue.