-
Notifications
You must be signed in to change notification settings - Fork 3
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
Refactor Presentation XML for terms #630
Comments
Done base terms refactor, just isodoc, although have not yet done concept markup; that is not urgent. |
In IEEE now. This is the hardest term flavour, as everything is reduced into a single paragraph, so it will take time. |
I will not move |
IEEE not finished, but the basics are now done. |
Was deleting xrefs from related entries in IEEE. I don't see the need to, if they are inserted, they should be preserved. |
Fix IEEE: put brackets around termsource in non-verbal as well as verbal definition, it looks confusing otherwise |
Semantically annotate fmt-designation-field for field of designation (and IEEE domains) inserted after term designations in rendering. Used to try and prevent repetitions in IEEE after code refactoring between preferred and secondary designations. |
Continuing #610
The refactor needed most urgently for the preservation of Semantic XML under Presentation XML is the refactor of how terms are handled. This is a precondition for us to remove the duplication of Semantic XML under Presentation XML, since it was terms Semantic XML that @Intelligent2013 needed to access, that led to him requesting it for Presentation XML.
Terms render Semantic XML in a multitude of ways depending on flavour, each of them currently implemented destructively wrt Semantic XML. The constants across flavours for rendering are:
fmt-
blocks for the required blocks, and we will use inlinesemx
to relate content rendered inline in a block, back to its source Semantic XML.name
, the number of the term.Of these, only the definition, term examples, and term notes are universal across flavours as a rendering block. Even the definition can be severely manipulated: ITU conflates multiple definitions inline into the one paragraph.
Term examples and term notes are the only block from Semantic XML which (as far as I can tell) is not rearranged when rendered as Presentation XML.
Implementation will therefor involve leaving untouched all Semantic XML content, as this refactor intends, and rendering the term example and term notes as read from the Semantic XML. All other Semantic XML term elements are to be ignored, and rendering will involve at least one of the following Presentation XML
fmt-
elements, which replicate, rearrange, and link back to Semantic XML content:fmt-term-metadata (may refine, I'm not sure it appears as a standalone paragraph anywhere)The text was updated successfully, but these errors were encountered: