class IsoDoc::MPFA::PresentationXMLConvert
Public Instance Methods
annex1(f)
click to toggle source
# File lib/isodoc/mpfa/presentation_xml_convert.rb, line 7 def annex1(f) lbl = @xrefs.anchor(f['id'], :label) if t = f.at(ns("./title")) t.children = "<strong>#{t.children.to_xml}</strong>" end prefix_name(f, " ", lbl, "title") end
clause1(f)
click to toggle source
Calls superclass method
# File lib/isodoc/mpfa/presentation_xml_convert.rb, line 15 def clause1(f) lbl = @xrefs.anchor(f['id'], :label, f.parent.name != "sections") if lbl == "1" and !f.at(ns("./title")) prefix_name(f, "<tab/>", " ", "title") else super end end