I have a tex file citing some references from a bib file. I want to reformat (i.e. regenerate) all the citation keys in the bib file using JabRef and automatically propagate the changes to the tex file. Does someone know a way of automatically keeping both files synchronized?
This simple project solved the key and cite renaming problem:
It's a simple code, you must
Clone the bibtex-rename with
git clone https://github.com/dmpalyvos/bibtex-rename
Rename the bibkey of your file
sample.bib, and save as
Install the bibtex parser:
pip install bibtexparser.
python transform.py --tex main.tex --oldbib sample.bib --newbib sample_new.bib --out out.tex.
Check and ensure that the itens are in the same order,and if you are citing the BibTeX item with