-
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
Support unit statements for figures and tables #688
Comments
This issue is also mentioned here: metanorma/metanorma-iso#754 |
We allow a type attribute on paragraphs:
I'm not going to put in numerical values into attributes on an adhoc basis. We need a global solution for RDF microformatting of Metanorma documents, in line with Smart documents, and that is the only context I will insert numeric values with. Does |
@opoudjis look at metanorma/metanorma-iso#754 please. |
This is not a key, and in the first figure, it occurs alongside the key. Instead, this is some sort of bizarre extraneous note to a table or figure, which is idiosyncratically rendered. So, the solution to this is:
I'll implement that. |
@opoudjis as @Intelligent2013 alluded to -- should we consider this not as a note but as a secondary caption? |
... We haven't defined secondary captions, and that seems an unnecessary complication to the model. |
OK I'm happy with |
Stop requirement that notes at the end of a clause must not fold into a preceding block; it is bogus, and "keep-separate" attribute takes care of such notes if needed. |
Units notes need to not be numbered. |
Requires isodoc refactoring in main branch. |
@Intelligent2013 Please confirm this is working for you. You should also pull metanorma-standoc, to ensure that notes at the end of a clause are processed correctly. |
@opoudjis confirmed. But there is the issue with note numbering (see
but non units notes should be numbered without units notes counter. |
This is back to @opoudjis : the first figure NOTE is now called "NOTE 2" due to presence of unit note. |
Needing to fix the counting of notes when units and other skippable notes are present. |
Should be fixed, please review. |
@opoudjis thank you! |
Source issues: metanorma/mnconvert#224, metanorma/mnconvert#228.
ISO and IEC documents may contain the text describing the units used in the tables and figures (unit statements).
From Guidelines for coding IEC and ISO standards in NISOSTS.pdf
8.4 Unit statements in figures
):6.6.5 General unit statements in tables
)Also, this feature is using in BSI documents. For instance, https://github.com/metanorma/mn-samples-bsi/blob/main/reference-docs/standards/bs-9999/BS%209999.pdf, page 90:
This needs to be supported by metanorma-standoc.
The text was updated successfully, but these errors were encountered: