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

Presentation.xml: Building different variants of identifiers #1284

Open
manuelfuenmayor opened this issue Feb 3, 2025 · 0 comments
Open
Assignees
Labels

Comments

@manuelfuenmayor
Copy link

manuelfuenmayor commented Feb 3, 2025

In relation to #1250

Description of the issue

Original version of iso-8601-2-amd1 document uses two identifier variants:

In presentation.xml we are given 4 docidentifier tags:

<docidentifier type="ISO" primary="true">ISO 8601-2:2019/PRF Amd 1:2024</docidentifier>
<docidentifier type="iso-reference">ISO 8601-2:2019/PRF Amd 1:2024(E)</docidentifier>
<docidentifier type="URN">urn:iso:std:iso:8601:-2:ed-1:stage-draft:amd:2024:v1</docidentifier>
<docidentifier type="iso-tc">ISO/TC 154 N 1535</docidentifier>

However, these are pre-built identifiers. They don't give too many options to match with original format.
In PDF, @Intelligent2013 used <docidentifier type="ISO" primary="true"> to get the identifier.
Therefore, the output looks like this:

I think presentation.xml should provide more options to build more than one variant of identifier.

To reproduce

Go to iso-8601-2-amd1 and execute:

$ bundle exec metanorma -x pdf sources/iso-8601-2-amd-1.adoc
@github-project-automation github-project-automation bot moved this to 🆕 New in Metanorma Feb 3, 2025
@manuelfuenmayor manuelfuenmayor changed the title Presentation.xml: Create new version of docidentifier to build different variants of identifiers Presentation.xml: Building different variants of identifiers Feb 3, 2025
@ronaldtse ronaldtse moved this from 🆕 New to 🌋 Urgent in Metanorma Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🌋 Urgent
Development

No branches or pull requests

2 participants