Method: IsoDoc::Function::Section#preface_normal

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

#preface_normal(clause, out) ⇒ Object



144
145
146
147
148
149
150
151
152
153
# File 'lib/isodoc/function/section.rb', line 144

def preface_normal(clause, out)
  page_break(out)
  out.div **attr_code(preface_attrs(clause)) do |div|
    clause_name(clause, clause.at(ns("./title")), div,
                { class: "IntroTitle" })
    clause.elements.each do |e|
      parse(e, div) unless e.name == "title"
    end
  end
end