To sort and filter irrelavant entries in the bibtex.
Environmet python 3.x
-
Download your article tex file and reference bibtex file.
-
python sortbib.py -bibname YOUR_BIB_FIlENAME -texname YOUR_TEX_FILENAME
or by default (bibname='ref.bib',texname='article.tex')
python sortbib.py
-
The script scan and record all present citations in the article file and sort the entries in bibtex with this order.
-
Original bib file will be backuped as 'ref_old.bib'
python sortbib.py -bibname ref.bib -texname article.tex
Total number of bib entries: 165
Total number of cite positions: 124
Total number of references: 139 , irrelevant entries removed