Method: IsoDoc::Function::Section#table_of_contents
- Defined in:
- lib/isodoc/function/section.rb
#table_of_contents(clause, out) ⇒ Object
152 153 154 155 156 157 158 159 160 161 162 |
# File 'lib/isodoc/function/section.rb', line 152 def table_of_contents(clause, out) and return page_break(out) out.div **attr_code(preface_attrs(clause)) do |div| clause_name(clause, clause.at(ns("./fmt-title")), div, { class: "IntroTitle" }) clause.elements.each do |e| parse(e, div) unless e.name == "fmt-title" end end end |