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

Improve semantic annotation of document identifiers #1236

Open
opoudjis opened this issue Nov 3, 2024 · 5 comments
Open

Improve semantic annotation of document identifiers #1236

opoudjis opened this issue Nov 3, 2024 · 5 comments
Assignees

Comments

@opoudjis
Copy link
Contributor

opoudjis commented Nov 3, 2024

Document identifiers are semantically tagged by their components under spans—publisher, year, number, part number: this is a requirement for DOC styling. The refactoring of document identifiers for metanorma/isodoc#606 has moved this functionality to Presentation XML, which is OK—but it also exposes errors in inferred markup. This is a best effort guess, but I do want to improve the guess:

               <span class="stdpublisher">ISO </span>
               <span class="stddocNumber">16634</span>
               :--
               <span class="stdpublisher">(all </span>
               <span class="stdpublisher">parts)</span>


               <span class="stdpublisher">ISO </span>
               <span class="stddocNumber">20483</span>
               :
               <span class="stdyear">2013</span>
               -
               <span class="stddocPartNumber">2014</span>
@opoudjis opoudjis self-assigned this Nov 3, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Metanorma Nov 3, 2024
@ronaldtse
Copy link
Contributor

Since this new presentation xml will differ greatly, please help make sure we use tight version binds "~>" for minimum versions of isodoc and mn2pdf gems.

@ronaldtse
Copy link
Contributor

"(all parts)" is supported in both Relaton and Pubid gems.

@opoudjis
Copy link
Contributor Author

opoudjis commented Nov 4, 2024

Since this is not a priority concern—it only impacts Word output in ISO and IEEE, I am going to (a) move the current code annotating identifiers out of Presentation XML after the xrefs-refactor, and to the DOC branch, and (b) get pub-id to implement it.

@opoudjis
Copy link
Contributor Author

opoudjis commented Nov 4, 2024

Since this new presentation xml will differ greatly, please help make sure we use tight version binds "~>" for minimum versions of isodoc and mn2pdf gems.

isodoc is found to standoc which is bound to everything else. These will be minor version updates to isodoc.

mn2pdf is also bound to isodoc, and until now has had only a major version dependency. @Intelligent2013 I assume that we are going to need to bind to more granular versions of mn2pdf for the duration of this exercise.

@opoudjis
Copy link
Contributor Author

opoudjis commented Nov 8, 2024

This issue goes on hold pending metanorma/pubid#14

@opoudjis opoudjis moved this from 🆕 New to On hold in Metanorma Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: On hold
Development

No branches or pull requests

2 participants