Skip to content

Format your bibtex (.bib) file to help standardize citations for conference and journal submissions

License

Notifications You must be signed in to change notification settings

0xWelt/BibTeX-Formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BibTeX Formatter

GitHub repo size PyPI PyPI - Downloads GitHub

Help generate citations that meet the requirements for conference and journal submissions.

Call for Contributions

Completing standardized names can make matching more precise. We would greatly appreciate it if you can fill more standard conference / journal names or correct wrong names in bfm/data/others.txt. Please use pull requests to submit your changes.

Quick Installation

Install from PyPi:

pip install -U bibtex-formatter

Alternatively, you can also install the latest version (not stable) from github:

pip install -U git https://github.com/Nickydusk/BibTeX-Formatter.git@main

Usage

bfm IN_FILE

Positional args:

  • IN_FILE: Choose the input .bib file

Options (Please see bfm --help for more details):

  • -o OUTPUT,--output OUTPUT: Choose the output .bib file, default to out.bib
  • -l LOG,--log LOG: Choose the output log file, default to logs.txt

Features

  • Remove duplicate citations (keep the first occurrence), log what is removed
  • Simplify keys according to citation type (e.g., @inproceedings -> [author, title, booktitle, pages, year])
  • Standardize conference / journal names (e.g., Advances in Neural Information Processing Systems)
  • Standardize "pages" to pages = {start-end}, alert if more or less timestamps.
  • Standardize arXiv citations to google scholar style
    • arXiv export bibtex -> google scholar style
    • dblp bibtex -> google scholar style
  • Online check contents, make sure they are up to date

About

Format your bibtex (.bib) file to help standardize citations for conference and journal submissions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages