Method: IsoDoc::Function::References#nonstd_bibitem

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

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



13
14
15
16
17
18
19
# File 'lib/isodoc/function/references.rb', line 13

def nonstd_bibitem(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