Method: IsoDoc::Function::References#biblio_list

Defined in:
lib/isodoc/function/references.rb

#biblio_list(refs, div, biblio) ⇒ Object



21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/isodoc/function/references.rb', line 21

def biblio_list(refs, div, biblio)
  i = 0
  refs.children.each do |b|
    if b.name == "bibitem"
      b["hidden"] == "true" and next
      i += 1
      bibitem_entry(div, b, i, biblio)
    else
      parse(b, div) unless %w(fmt-title).include? b.name
    end
  end
end