-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
20 lines (14 loc) · 1.22 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
bibclean cleans your bibfile.
Based on <https://github.com/caltechlibrary/bibtex>
Warning: strongly opinionated.
Install with go (>=1.22) 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>] [--defaults=[ieee,acm,biblatex]] [--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 --defaults=ieee
IEEE (if you're over the page limit): bibclean --in bibliography.bib --out bibliography.bib --bbl paper.bbl --shorten all --defaults=ieee
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 --defaults=ieee --additional inproceedings:organization --additional inproceedings:address