lib/isodoc/csand/base_convert.rb in metanorma-csand-1.3.0 vs lib/isodoc/csand/base_convert.rb in metanorma-csand-1.3.1
- old
+ new
@@ -1,11 +1,11 @@
require "isodoc"
require_relative "metadata"
module IsoDoc
module Csand
- module BaseConvert
+ module BaseConvert
def metadata_init(lang, script, labels)
@meta = Metadata.new(lang, script, labels)
end
def annex_name(annex, name, div)
@@ -16,18 +16,10 @@
name&.children&.each { |c2| parse(c2, b) }
end
end
end
- def term_defs_boilerplate(div, source, term, preface)
- if source.empty? && term.nil?
- div << @no_terms_boilerplate
- else
- div << term_defs_boilerplate_cont(source, term)
- end
- end
-
def i18n_init(lang, script)
super
@annex_lbl = "Appendix"
end
@@ -42,8 +34,8 @@
h2.add_child(" ")
h2.add_child(d.remove)
end
docxml
end
- end
+ end
end
end