Skip to content
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

Generate boilerplate for publication details #146

Open
opoudjis opened this issue Dec 24, 2024 · 2 comments
Open

Generate boilerplate for publication details #146

opoudjis opened this issue Dec 24, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@opoudjis
Copy link
Contributor

opoudjis commented Dec 24, 2024

Plateau XSLT concatenates the publication date from bibdata/date[@type = 'published'] and static text 発行.

The last page rendering so:

<fo:block margin-left="4.5mm" margin-top="1mm">
	<xsl:value-of select="/*/bibdata/title[@language = 'ja' and @type = 'title-main']"/>
	<fo:inline padding-left="4mm">
		<xsl:value-of select="/*/bibdata/edition[@language = 'ja']"/>
	</fo:inline>
</fo:block>
<fo:block margin-left="7.7mm">
	<xsl:value-of select="/*/bibdata/date[@type = 'published']"/>
	<xsl:text> 発行</xsl:text>
</fo:block>
<fo:block margin-left="7.7mm">
	<xsl:value-of select="/*/bibdata/contributor[role/@type = 'author']/organization/name"/>
</fo:block>
<fo:block margin-left="9mm">
	<xsl:value-of select="/*/bibdata/contributor[role/@type = 'enabler']/organization/name"/>
</fo:block>

image

Originally posted by @Intelligent2013 in #138 (comment)

@opoudjis opoudjis self-assigned this Dec 24, 2024
@opoudjis opoudjis added the enhancement New feature or request label Dec 24, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Metanorma Dec 24, 2024
@opoudjis
Copy link
Contributor Author

If you will generate the boilerplate, then the markup should contains some indication about the content (title, date, author, enabler), because first paragraph indents with 4.5mm, 2nd and 3rd with 7.7mm, and last with 9mm.

@opoudjis
Copy link
Contributor Author

@ReesePlews requests this not be actioned until April.

@opoudjis opoudjis moved this from 🆕 New to On hold in Metanorma Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: On hold
Development

No branches or pull requests

1 participant