-
Notifications
You must be signed in to change notification settings - Fork 0
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
Moving presentation content for block from renderers to Presentation XML #10
Comments
Formulas until now expect HTML and PDF independently to insert the parentheses around their label:
I am going to be doing that inserting of parentheses in Presentation XML now: it is a Presentation XML concern. However, I am going to leave
|
Thanks for the heads-up. Issue will be assigned when someone works on it. |
The term domain is injected at the start of the term definition, as "<#{domain}>". This is being done in HTML, as legacy that I never got around to undoing: it is of course necessarily a Presentation XML concern. There will be no need for HTML and PDF to inject the domain into the term definition and wrap it in angle brackets: that will be done in Presentation XML. So: Semantic XML:
currently HTML and PDF inject "<mathematics>" at the start of the first definition paragraph. That will now be done in Presentation XML:
And I'm leaving the "domain" tag in, anticipating metanorma/isodoc#610: Presentation XML will preserve Semantic XML markup. PDF and HTML will just ignore the tag and render its contents. |
Complication: in IEC, IEV documents suppress display of domain. We will set |
As it turns out (perplexingly), this was already done in ISO, and in fact the ISO change was preventing the IEC suppression of domains from happening. |
IEEE and ITU defined in HTML code the delimiter between the note label (NOTE, NOTE 1) and the note contents. That's an antipattern: this was supposed to be resolved in Presentation XML. The experiment around how to do so with OGC led to the unfortunate issue of metanorma/isodoc#609, and will instead lead to explicit markup of delimiters in Presentation XML in metanorma/isodoc#611 So in all of IEEE, ITU, OGC, we have currently: Semantic XML:
Presentation XML:
HTML:
Instead, we will have the Presentation XML be:
Ultimately but not yet, that will be:
In the case of ITU, it is So PDF and HTML should not injecting the em-dash in those formats. Moving the label inside the paragraph for notes is NOT currently being done in Presentation XML. I may do so in the future, but this iteration is for preventing content being added in HTML and PDF, not necessarily for rearranging content. |
HTML used to add missing titles instead of letting Presentation XML do so. There are two instances where it still does: Symbols and Forewords. These will be populated if missing in Presentation XML: there is no need for PDF or HTML to supply missing title text here. |
As with notes, the insertion of the delimiter for term notes needs to be moved to Presentation XML. So you will now be receiving:
And you do not need to insert the |
@opoudjis I find it a bit strange that "name" is mixed with "p" and assumed to flow as spans. The element name "name" probably works better with something like "content" or "description". |
Also, by moving the colon inside "name", it is now conflating the "name of the note" with a delimiter. Cross references or an index that link to this note will not use the delimiter. |
As I have repeated said to you, @ronaldtse, comments about what Presentation XML will look like later belong to the tickets discussing them, metanorma/isodoc#610 and metanorma/isodoc#611, and those tickets are not being worked on right now . They are disruptive and unwelcome in other tickets, and they are premature: I am busy enough trying to keep track of what I am refactoring now. I am deleting them henceforth from tickets they do not apply to and moving them to the correct ticket. |
If Firelight is inserting ")" after table footnote references, it needs to stop doing so, those are now being inserted in Presentation XML. Refactoring of Presentation XML will continue over the next two months, and will be disruptive. Strongly advise you remain aware of it. |
In metanorma/isodoc#606 I am undertaking refactoring overdue by several years, moving content that is being inserted independently by the HTML, DOC, PDF renderers back to the Presentation XML. Where this impacts Firelight to date (which is most of them), I am also going to ask you to change the behaviour of Firelight, so that you are not independently adding that content there either.
This ticket is going to be long; I will advise when it is done.
The text was updated successfully, but these errors were encountered: