class BibTeX::Entry

This class represents a single entry in a bibliography. This is the same class as BibTeX::Entry from bibtex-ruby. See those class docs for more information.

Public Instance Methods

minimize() click to toggle source

Returns a copy of this entry that has all non-standard BibTeX fields removed.

# File lib/bibout/bibtex.rb, line 77
def minimize
  result = clone
  fields.each do |k,v|
          if not $STANDARD_FIELDS.include? k
            result.delete k
          end
        end
  result
end