Method: IsoDoc::Function::References#norm_ref
- Defined in:
- lib/isodoc/function/references.rb
#norm_ref(isoxml, out, num) ⇒ Object
163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/isodoc/function/references.rb', line 163 def norm_ref(isoxml, out, num) f = isoxml.at(ns(norm_ref_xpath)) and f["hidden"] != "true" or return num out.div do |div| num = num + 1 clause_name(num, f.at(ns("./title")), div, nil) if f.name == "clause" f.elements.each { |e| parse(e, div) unless e.name == "title" } else biblio_list(f, div, false) end end num end |