Method: IsoDoc::PresentationXMLConvert#section

Defined in:
lib/isodoc/presentation_xml_convert.rb

#section(docxml) ⇒ Object

parse annex after term, references, to deal with single-term and single-ref annexes



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/isodoc/presentation_xml_convert.rb', line 50

def section(docxml)
  references docxml
  # feeds middle_title
  # triggers xrefs reparse, so put references before all other sections,
  # which alter titles and thus can alter xrefs
  rearrange_clauses docxml # feeds toc, display_order, clausetitle, clause, middle_title
  middle_title docxml
  annex docxml
  clause docxml # feeds clausetitle
  term docxml
  index docxml
  clausetitle docxml # feeds floattitle
  floattitle docxml # feeds rearrange_clauses
  toc docxml
  display_order docxml
end