diff --git a/lib/isodoc/ieee/presentation_ref.rb b/lib/isodoc/ieee/presentation_ref.rb
index 08a7c15..d984c39 100644
--- a/lib/isodoc/ieee/presentation_ref.rb
+++ b/lib/isodoc/ieee/presentation_ref.rb
@@ -86,12 +86,12 @@ def creatornames(bibitem)
.render1(RelatonBib::XMLParser.from_xml(bibitem.to_xml))
end
- def bibliography_bibitem_number1(bibitem, idx)
+ def bibliography_bibitem_number1(bibitem, idx, normative)
bibitem.xpath(ns(".//docidentifier[@type = 'metanorma' or " \
"@type = 'metanorma-ordinal']")).each do |mn|
/^\[?B?\d\]?$/.match?(mn&.text) and mn.remove
end
- unless bibliography_bibitem_number_skip(bibitem)
+ unless bibliography_bibitem_number_skip(bibitem) || normative
idx += 1
docidentifier_insert_pt(bibitem).next =
"[B#{idx}]"
diff --git a/lib/metanorma/ieee/version.rb b/lib/metanorma/ieee/version.rb
index 9cff6f6..51d2b39 100644
--- a/lib/metanorma/ieee/version.rb
+++ b/lib/metanorma/ieee/version.rb
@@ -1,5 +1,5 @@
module Metanorma
module Ieee
- VERSION = "1.3.6".freeze
+ VERSION = "1.3.7".freeze
end
end
diff --git a/spec/isodoc/refs_spec.rb b/spec/isodoc/refs_spec.rb
index 979d554..18f2d4d 100644
--- a/spec/isodoc/refs_spec.rb
+++ b/spec/isodoc/refs_spec.rb
@@ -332,10 +332,9 @@
REF4
REF4
- [B1]
REF4
4
- [B1], REF4,
+ REF4,
@@ -365,9 +364,8 @@
Indiana Jones and the Last Crusade
Indiana Jones and the Last Crusade
ISO 639:1967
- [B3]
ISO 639:1967
- [B3], ISO 639:1967,
+ ISO 639:1967,