lib/bibtex/entry/citeproc_converter.rb in bibtex-ruby-4.0.13 vs lib/bibtex/entry/citeproc_converter.rb in bibtex-ruby-4.0.14
- old
+ new
@@ -2,10 +2,11 @@
CSL_FILTER = Hash.new { |h, k| k }.merge(Hash[*%w{
date issued
isbn ISBN
booktitle container-title
journal container-title
+ journaltitle container-title
series collection-title
address publisher-place
pages page
number issue
url URL
@@ -90,10 +91,10 @@
hash['event-place'] = bibtex[:address]
end
end
def techreport
- return unless bibtex.type == :techreport
+ return unless [:techreport, :report].include?(bibtex.type)
hash['number'] = bibtex[:number].to_s if bibtex.field? :number
end
def date
case