Closed Intelligent2013 closed 6 months ago
Source issue: https://github.com/metanorma/metanorma-iso/issues/1089
ISO Recommendation identifier has a prefix /R:
/R
pubid-iso supports it:
pubid-iso
pubid = Pubid::Iso::Identifier.create(publisher: "ISO", type: "R", number: 123) print pubid.to_s
returns ISO/R 123.
ISO/R 123
Preliminary solution: add "recommendation": :r in metanorma-iso\lib\metanorma\iso\front_id.rb:
"recommendation": :r
metanorma-iso\lib\metanorma\iso\front_id.rb
DOCTYPE2HASHID = { directive: :dir, "technical-report": :tr, "guide": :guide, "technical-specification": :ts, "publicly-available-specification": :pas, "committee-document": :tc, "recommendation": :r }.freeze
Recommendation has not hitherto been recognised (it's legacy).
Source issue: https://github.com/metanorma/metanorma-iso/issues/1089
ISO Recommendation identifier has a prefix![image](https://github.com/metanorma/metanorma-iso/assets/5559926/a098aa81-7340-427a-a2c4-4fb86c44b742)
/R
:pubid-iso
supports it:returns
ISO/R 123
.Preliminary solution: add
"recommendation": :r
inmetanorma-iso\lib\metanorma\iso\front_id.rb
: