Skip to content

HCIL/DuBibtex

 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.2%
  • HTML 10.8%