Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISO Recommendation docidentifier with /R #1107

Closed
Intelligent2013 opened this issue Feb 18, 2024 · 1 comment
Closed

ISO Recommendation docidentifier with /R #1107

Intelligent2013 opened this issue Feb 18, 2024 · 1 comment
Assignees

Comments

@Intelligent2013
Copy link
Contributor

Source issue: #1089

ISO Recommendation identifier has a prefix /R:
image

pubid-iso supports it:

pubid = Pubid::Iso::Identifier.create(publisher: "ISO", type: "R", number: 123)
print pubid.to_s

returns ISO/R 123.

Preliminary solution: add "recommendation": :r in 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
@github-project-automation github-project-automation bot moved this to 🆕 New in Metanorma Feb 18, 2024
@opoudjis opoudjis moved this from 🆕 New to 🏗 In progress in Metanorma Feb 20, 2024
opoudjis added a commit to relaton/relaton-model-iso that referenced this issue Feb 20, 2024
opoudjis added a commit that referenced this issue Feb 20, 2024
opoudjis added a commit that referenced this issue Feb 20, 2024
opoudjis added a commit to metanorma/metanorma-model-iso that referenced this issue Feb 20, 2024
@opoudjis
Copy link
Contributor

Recommendation has not hitherto been recognised (it's legacy).

@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Metanorma Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants