UPDATE 6/4/15: this post was previously a page but was removed when I reorganised the sidebar. Check out the rbib project on GitHub.
This page contains a couple of small Ruby utilities I’ve written.
A parser for BibTeX databases. Mostly intended for transforming the entries in some way, such as deleting unneeded keys. But it also works as a general purpose BibTeX interface.
Example: remove all the
url fields from a database:
BibTeX::Parser.parse('input.bib').map do |entry| entry.reject_fields [:url] end.save('stripped.bib')
git clone https://email@example.com/nickg/rbib.git
Released under the GPLv3.
- Gem installer