masacao / DuBibtex

This script merges duplicated bibtex items from a list of .bib files, capitalize the titles, and more importantly, resolve missing DOIs, years.

Home Page:https://github.com/ruofeidu/DuBibtex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DuBibtex

This script merges duplicated bibtex items from a list of .bib files, capitalize the titles, and more importantly, resolve missing DOIs, years.

Sources of DOI:

  • Google
  • ACM
  • IEEE
  • Springer
  • Caltech
  • Wiley
  • arxiv

Please feel free to make any pull requests!

Another useful tool for LaTeX writing is extracting the abstract: http://tool.duruofei.com/abstract,, whose source code is added as a submodule here.

Known issues:

  • It assumes the first line of each bibtex item contains its bib ID. This is typically true if the bibtex item is from Google Scholar or DBLP

Run

First, edit config.ini and modify your list of input bib files. For example:

inputFileList       =   input.bib,test.bib

Next, run

python Dubibtex

The new bib file will be generated as output.bib by default.

Dependencies

  • Python 3.6
  • pip install requests

License

Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)

Author

Ruofei Du

References

BibTeX Format Description

About

This script merges duplicated bibtex items from a list of .bib files, capitalize the titles, and more importantly, resolve missing DOIs, years.

https://github.com/ruofeidu/DuBibtex


Languages

Language:Python 91.3%Language:HTML 8.7%