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



72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# File 'lib/isodoc/presentation_xml_convert.rb', line 72

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
  missing_title docxml # feeds clause
  annex docxml
  clause docxml # feeds clausetitle
  term docxml
  clausetitle docxml # feeds floattitle
  floattitle docxml # feeds rearrange_clauses
  index docxml # fed by strip_duplicate_ids
  toc docxml
  display_order docxml
end