-
Notifications
You must be signed in to change notification settings - Fork 2
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
Concept mentions not working in non-Clause 3 of a vocabulary document #939
Comments
Going to CalConnect/cc-calendar-vocab#3 The error is different: the terms are not being recognised as terms at all:
That is because Metanorma has inherited from ISO the constraint that there is only one Terms and Definitions section per document, outside of ISO/IEC vocabulary documents; and 03-22-misc.adoc is marked up as a distinct sister clause to the Terms and Definitions clause, not a subclause of it. If I comment out that bit:
The concepts process fine, because the "Calendar data formats" are recognised as terms fine. So we have two alternatives:
@ronaldtse Which do you want? |
Given that vocabulary documents are quite widespread amongst SDOs, perhaps it is easier if we relax the "one terms section only per document" rule. For this particular document, I am planning to also cross-publish to ISO as a proper vocabulary document, so I prefer keeping the same structure across documents. |
Removing the blanket "only one of these clauses per document" restriction if the clause type is specified as a heading attribute. |
These errors have gone away with the fix to standoc, as the clause is now recognised as a second terms clause. We now have a different error: isodoc still is expecting to find a single terms section, so the second term section is not getting any anchors processed for it. |
Explicitly allowing multiple terms & definitions clauses in the isodoc clause_order module |
… for the purposes of identifying anchors: metanorma/metanorma-standoc#939
From
Errors:
And this also causes metanorma-ietf to crash (metanorma/metanorma-ietf#213).
The way to work with vocabulary documents is documented here:
The text was updated successfully, but these errors were encountered: