-
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
(URGENT) Updates to vertical layout in PDF (for demo purposes) #5
Comments
Cover pageCurrently the string
Currently, the 'published' date is shown. I've updated to the correction date. In the Presentation XML there are only two dates in
@opoudjis could you add the revision date into the These are 'publisher' and 'authorizer'. I've updated to hide
These logos are part of user-provided |
Foreword pageNow the text from
@opoudjis is there a way to do this? |
First document page
In adoc there is the attribute
Use the CSS declarations https://www.metanorma.org/author/topics/inline_markup/text_formatting/#css. Include the text into
|
Last document page@ronaldtse I don't understand 'it's not dynamic now'. Is this static text? Not from XML? Please, clarify what does mean. Currently, the XSLT renders the publication date and edition: <fo:block margin-top="6.5mm" font-size="10pt" font-weight="bold" margin-left="16.5mm">
<fo:inline padding-right="7mm"><xsl:value-of select="xalan:nodeset($bibdata)//jis:bibdata/jis:date[@type = 'published']"/></fo:inline>
<xsl:variable name="edition" select="xalan:nodeset($bibdata)//jis:edition[@language = 'ja'][1]"/>
<!-- add spaced between characters -->
<fo:inline padding-right="6mm"><xsl:value-of select="java:replaceAll(java:java.lang.String.new($edition), '(.)', '$1 ')"/></fo:inline>
発行
</fo:block> |
Thank you @Intelligent2013 ! In order to use |
I'll merge the changes in |
Thank you!
No, "correction date" means that the document was wrong and corrected at that date. Most documents don't have a "correction date". The "revision date" means the date the document was authored.
|
I was mistaken about the date -- the dates are in Japanese because they are generated from normal YYYY-MM-DD dates in the document. But because this document is Chinese we don't want to use Japanese dates. I'll need to find a way to do that. |
If possible, I’d like to replace the texts “ 日本工業規格” (cover page and the per-page sides) and the Japanese copyright text (back cover and per-page sides) using presentational metadata. Thank you!! |
As I wrote abote, the attribute
The document attribute The next updated XSLT will be available in 3am here, so I'll continue tomorrow... |
Thank you @Intelligent2013 !! We don’t need anything further, this is perfect. As future work we just need to formalize these changes for production purposes. |
JIS document attributes updated in metanorma/metanorma.org#838. |
This occurs with the
difan.adoc
file:bundle exec metanorma difan.adoc
Relevant files attached:
The text was updated successfully, but these errors were encountered: