lib/isodoc/gb/gbwordrender.rb in metanorma-gb-1.0.2 vs lib/isodoc/gb/gbwordrender.rb in metanorma-gb-1.0.3
- old
+ new
@@ -191,16 +191,18 @@
(source.empty? && term.nil?) and div << @no_terms_boilerplate or
div << term_defs_boilerplate_cont(source, term)
#div << @term_def_boilerplate unless preface
end
+=begin
def reference_names(ref)
isopub = ref.at(ns(ISO_PUBLISHER_XPATH))
docid = ref.at(ns("./docidentifier"))
date = ref.at(ns("./date[@type = 'published']"))
reference = format_ref(docid.text, isopub, date)
@anchors[ref["id"]] = { xref: reference }
end
+=end
end
end
end