Closed andrew2net closed 6 months ago
Pubid::Iso::Identifier.parse('ISO 7029:2017/PRF Amd 1').to_s => "ISO 7029:2017/Amd 1"
"PRF" stage is not rendered by default, see https://github.com/metanorma/pubid-iso/issues/106
"PRF" stage is not rendered by default, see #106
@mico what is the way to render PRF
?
BTW it seems the examples in the doc are incorrect. The pubid.to_s(:ref_num_short)
doesn't work. Shouldn't it be pubid.to_s(format: :ref_num_short)
?
I think it's pubid.to_s(with_prf: true)
?
I think it's
pubid.to_s(with_prf: true)
?
@ronaldtse there is no such option. @mico explain how to render "PRF" please
I think it's
pubid.to_s(with_prf: true)
?@ronaldtse there is no such option. @mico explain how to render "PRF" please
@mico why it doesn't work for me?
> Pubid::Iso::Identifier.parse('ISO 7029:2017/PRF Amd 1').to_s with_prf: true
=> "ISO 7029:2017/Amd 1"
I use supplement-empty-publisher branch.
Is it because Supplements don't support PRF yet?