lib/isodoc/presentation_function/section.rb in isodoc-2.0.0.1 vs lib/isodoc/presentation_function/section.rb in isodoc-2.0.1

- old
+ new

@@ -24,9 +24,11 @@ "//foreword | //preface/abstract | //acknowledgements | "\ "//terms | //definitions | //references")) .each do |f| floattitle1(f) end + # top-level + docxml.xpath(ns("//sections | //preface")).each { |f| floattitle1(f) } end def floattitle1(elem) elem.xpath(ns(".//floating-title")).each do |p| p.name = "p"