lib/isodoc/ribose/base_convert.rb in metanorma-ribose-1.5.3 vs lib/isodoc/ribose/base_convert.rb in metanorma-ribose-1.6.0
- old
+ new
@@ -1,22 +1,7 @@
module IsoDoc
module Ribose
module BaseConvert
- def metadata_init(lang, script, labels)
- @meta = Metadata.new(lang, script, labels)
- end
-
- def xref_init(lang, script, klass, labels, options)
- @xrefs = Xref.new(lang, script, klass, labels, options)
- end
-
- def annex_name(annex, name, div)
- div.h1 **{ class: "Annex" } do |t|
- t << "#{@xrefs.anchor(annex['id'], :label)}<br/><br/>"
- name&.children&.each { |c2| parse(c2, t) }
- end
- end
-
def executivesummary docxml, out
f = docxml.at(ns("//executivesummary")) || return
title_attr = { class: "IntroTitle" }
page_break(out)
out.div **{ class: "Section3", id: f["id"] } do |div|