This page contains a couple of small Ruby utilities I’ve written.

BibTeX parser

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]'stripped.bib')

Source code: git clone

Released under the GPLv3.


  • Documentation
  • Gem installer