-
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
PDF: Automatic generation of the words "Draft {Guide/Standard/Recommended Practice} for" #95
Comments
That is weird, maybe we used different gem versions (metanorma-ieee has been updated yesterday). However, |
For standard's title xslt expects:
but currently xml contains:
so xslt should support both cases. |
Currently, IEEE xslt generate standard's number by concatenation:
Just for information, no need to change To do in xslt: get year from |
I agree. However, I believe the title here is "Design, Construction (...)" without the article "the". As I am not aware of any automatic option for adding articles before the title, I encoded it in the source file to match the original document. Maybe it is acceptable to remove "the" and leave the current title presentation as-is? Ping @ronaldtse |
IEEE xslt updated for metanorma/metanorma-ieee#95 and metanorma/metan…
IEEE xslt updated in the branch (feature/xslt-update' (https://github.com/metanorma/metanorma-ieee/tree/feature/xslt-update) |
@Intelligent2013 From metanorma.org:
Could you please check this as well as the following paragraph for committee - "Developed" vs. "Sponsored" (I guess this is an inconsistency in the original document, but just to double-check)? |
@Intelligent2013 IEEE will not have |
If there are any prefixes, like "IEEE", should be supplied by Metanorma XML? I don't think these things should be encoded by the stylesheets. |
@ronaldtse the example from #7 contains "Developed by" on the cover pages: but the document from this issue contains "Sponsored by": Currently, 'Developed by' is hard-coded in the xslt.
@ronaldtse the example from #7 contains two part of title:
in the different font-sizes. Is that one title or two? If one title, then we can't render it in different sizes.
@ronaldtse Metanorma xml contains <society>Power and Energy Society</society> |
We have clarified with IEEE that a document only has one title, we do not need to render different sizes. This is a special case.
Can you help investigate ieee-stl to see their XML schema to determine what additional fields we need? |
All I capture currently is:
where This will need to become a separate ticket for me to work through. |
Title is not generated properly in PDF when the following guideline from www.metanorma.org is followed:
Generated:
Original:
Generated HTML:
Ping @opoudjis : Should we have "IEEE" keyword automatically generated before the "Guide for", as in the original document?
The text was updated successfully, but these errors were encountered: