inukshuk / bibtex-ruby

A BibTeX library, parser, and converter for Ruby.
http://inukshuk.github.com/bibtex-ruby
GNU General Public License v3.0
156 stars 31 forks source link

Query for BibTeX field:type impossible #104

Closed iiegn closed 9 years ago

iiegn commented 9 years ago

b.q('@misc[type=something]'), i.e. a query for the BibTeX field - not the entry type - is not possible. instead, it seems it has the somewhat unexpected behaviour of actually querying the entry type: b.q('@misc[type=article]').

inukshuk commented 9 years ago

the bibtex type used to be stored in a field called type; we changed that a while ago in order to support the regular type field so this behaviour is probably a leftover. thanks for reporting!