Help me build a better .bib?
September 14, 2010 11:08 AM Subscribe
I have a LaTeX paper with BibTex citations. I have a massive central .bib file. I want a script that builds a subset of my central bib containing only the citations I used in a particular paper. Is there a script for this?
posted by Alterscape to Computers & Internet (9 answers total) 4 users marked this as a favorite
I maintain a large, single BibTex file containing essentially every paper I've ever read that might be worth citing. I write papers in LaTeX. Right now, I create a symlink from my paper's working directory to my master bibtex file, so I can cite anything. I'd like to be able to run a script against my .tex documents, extract all the citations, find those citations in my master .bib, and create a new .bib containing only the cites I used in that paper (that I can distribute with the paper to other authors, etc).
I'm pretty sure I could write a Ruby script to do this, but I don't want to spend the time if someone else has already written a script/app to do this. Don't really care about the language, so long as it runs on a Mac. Does such a thing exist?