A ruby a day!

rbibtex

Description

A bibtex parsing library written in pure ruby. With some additional executables that transform bibtex files.

This is my first attempt at racc so be patient with me. I hope to improve this into a full bibtex parser in the near future, at the moment it parses the bibtex subset that I need.

Another problem is that nearly no work went into the added scripts, which can therefore be seen as usage examples, but may not help you with the work you want to do.

I hope this will be a starting point for a more complete bibtex library for ruby.

Cheers,

Brian

Find it at

http://ruby.brian-amberg.de/rbibtex/

Installation:

wget http://ruby.brian-amberg.de/rbibtex/releases/current.tar.bz2
tar -xvvjf current.tar.bz2
cd rbibtex-X.Y.Z
ruby setup.rb

As a gem

$ su
# gem install rbibtex

Usage:

rbib2html infiles > outfile

or as a library:

require "rbibtex"

parser = BibTeX::Parser.new
file = parser.parse( ARGF.read )
file.each do | entry |
  p entry
end

ToDo

Authors

This was implemented by Brian Amberg.

License

This library is under the ruby license

Documentation

documentation in rdoc format

Download

rbibtex current

rbibtex 0.0.1

rbibtex 0.0.0

Changelog

0.0.1
  * Removed unneccessary dependency on pp
  * Added rbib2bib pretty printer

0.0.0
  * Initial Release