Skip to content

Instantly share code, notes, and snippets.

@chrisma
Created March 6, 2019 15:05
Show Gist options
  • Save chrisma/a1d9b09116333e640445ae9d3fd3e586 to your computer and use it in GitHub Desktop.
Save chrisma/a1d9b09116333e640445ae9d3fd3e586 to your computer and use it in GitHub Desktop.
Minify .bib files to contain only references cited in a paper. Remove abstracts.
bibexport -o extracted.bib main.aux
echo "delete.field = { abstract }" > remove-abs.rsc && bibtool -r remove-abs.rsc extracted.bib -o minified.bib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment