Method: IsoDoc::Function::Section#acknowledgements

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

#acknowledgements(isoxml, out) ⇒ Object



121
122
123
124
125
126
127
128
129
130
131
# File 'lib/isodoc/function/section.rb', line 121

def acknowledgements(isoxml, out)
  f = isoxml.at(ns("//acknowledgements")) || return
  title_attr = { class: "IntroTitle" }
  page_break(out)
  out.div **{ class: "Section3", id: f["id"] } do |div|
    clause_name(nil, f&.at(ns("./title")), div, title_attr)
    f.elements.each do |e|
      parse(e, div) unless e.name == "title"
    end
  end
end