Method: IsoDoc::Function::References#std_bibitem_entry

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

#std_bibitem_entry(list, bib, _ordinal, biblio) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/isodoc/function/references.rb', line 21

def std_bibitem_entry(list, bib, _ordinal, biblio)
  list.p **attr_code(iso_bibitem_entry_attrs(bib, biblio)) do |ref|
    tag = bib.at(ns("./biblio-tag"))
    tag&.children&.each { |n| parse(n, ref) }
    reference_format(bib, ref)
  end
end