martingrambow / bibclean

Personal bibtex cleaner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bibclean cleans your bibfile.
Based on <https://github.com/caltechlibrary/bibtex>

Warning: strongly opinionated.

Install with go (>=1.17) installed: go install github.com/pfandzelter/bibclean@latest
(Or download the binary from the release page.)
(Or clone this repository and "go install".)

Usage: bibclean --in <bibfile.bib>  --out <newbibfile.bib> [--bbl <paper.bbl>] [--shorten <all, booktitle>] [--acm-defaults] [--additional <type>:<field>]

If you specify the same input and output file, bibclean will overwrite your original. Use with caution.

Examples:

IEEE: bibclean --in bibliography.bib  --out bibliography.bib --bbl paper.bbl --shorten booktitle
IEEE (if you're over the page limit): bibclean --in bibliography.bib  --out bibliography.bib --bbl paper.bbl --shorten all
ACM: bibclean --in bibliography.bib  --out bibliography.bib --bbl paper.bbl --shorten none --defaults=acm
BibLaTeX: bibclean --in bibliography.bib  --out bibliography.bib --bbl paper.bbl --shorten none --defaults=biblatex
Wiley (AMA): bibclean --in bibliography.bib  --out bibliography.bib --bbl paper.bbl --shorten none --additional inproceedings:organization --additional inproceedings:address

About

Personal bibtex cleaner

License:MIT License


Languages

Language:Go 99.3%Language:Makefile 0.7%