lib/whedon/bibtex.rb
# Returns a simple <citation> XML snippet with the DOI
Returns a simple  XML snippet with the DOI
Returns a simple XML snippet with the DOI
def doi_citation(entry)
      escaped_doi = entry.doi.encode(:xml => :text)
      "<citation key=\"ref#{@ref_count}\"><doi>#{escaped_doi}</doi></citation>"
    end
def doi_citation ( entry ) escaped_doi = entry . doi . encode ( :xml => :text ) "<citation key=\"ref#{@ref_count}\"><doi>#{escaped_doi}</doi></citation>" end
Returns a simple <citation> XML snippet with the DOI
Returns a simple <citation > XML snippet with the DOI
# Sometimes there are weird characters in the DOI. This escap
entry
<not_specific>