lib/whedon/bibtex.rb
# Initialize the Bibtex generator
# Takes a path to bibtex file
Initialize the Bibtex generator
Takes a path to bibtex file
Initialize the Bibtex generator Takes a path to bibtex file
def bibtex_keys
      entries = BibTeX.open(@bib_file, :filter => :latex)
      keys = []
      entries.each do |entry|
        next if entry.comment?
        keys << "@#{entry.key}"
      end
      return keys
    end
def bibtex_keys entries = BibTeX . open ( @bib_file , :filter => :latex ) keys = [ ] entries . each do | entry | next if entry . comment? keys << "@#{entry.key}" end return keys end
Initialize the Bibtex generator
Takes a path to bibtex file
Initialize the Bibtex generator Takes a path to bibtex file