Currently, whenever a new reference is added to an article, the reference numbers for all the existing references have to be manually updated. A possible approach is to run a script after the completion of an article with the new references. This script must perform the following:
- Verify the citation style and the identifiers
- Generate reference numbers in the order of their appearance
- Generate a reference list