Method: IsoDoc::Function::References#bibliography

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

#bibliography(isoxml, out) ⇒ Object



164
165
166
167
168
169
170
171
172
173
174
# File 'lib/isodoc/function/references.rb', line 164

def bibliography(isoxml, out)
  f = isoxml.at(ns(BIBLIOGRAPHY_XPATH)) || return
  page_break(out)
  out.div do |div|
    div.h1 @bibliography_lbl, **{ class: "Section3" }
    f.elements.reject do |e|
      %w(reference title bibitem note).include? e.name
    end.each { |e| parse(e, div) }
    biblio_list(f, div, true)
  end
end