Method: IsoDoc::Function::References#bibliography

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

#bibliography(isoxml, out) ⇒ Object



207
208
209
210
211
212
213
214
215
216
217
# File 'lib/isodoc/function/references.rb', line 207

def bibliography(isoxml, out)
  (f = isoxml.at(ns(bibliography_xpath)) and f["hidden"] != "true") or
    return
  page_break(out)
  out.div do |div|
    div.h1 **{ class: "Section3" } do |h1|
      f&.at(ns("./title"))&.children&.each { |c2| parse(c2, h1) }
    end
    biblio_list(f, div, true)
  end
end