mirror of
https://github.com/postgres/postgres.git
synced 2025-10-11 00:03:02 -04:00
Clean up order in stylesheete-fo.xsl
Make a separate section for release notes customization. Commits f986882ffd6 and 8a6e85b46e0 put those into the middle of unrelated things.
This commit is contained in:
parent
783cbb6d5e
commit
8081e54bc5
@ -14,21 +14,6 @@
|
|||||||
<xsl:param name="tablecolumns.extension" select="0"></xsl:param>
|
<xsl:param name="tablecolumns.extension" select="0"></xsl:param>
|
||||||
<xsl:param name="toc.max.depth">3</xsl:param>
|
<xsl:param name="toc.max.depth">3</xsl:param>
|
||||||
<xsl:param name="ulink.footnotes" select="1"></xsl:param>
|
<xsl:param name="ulink.footnotes" select="1"></xsl:param>
|
||||||
|
|
||||||
<!-- The release notes have too many ulinks to look good as footnotes in print mode -->
|
|
||||||
<xsl:template match="sect1[starts-with(@id, 'release-')]//ulink[starts-with(@url, 'https://postgr.es/c/')]">
|
|
||||||
<!-- Do nothing for ulink to avoid footnotes -->
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Suppress the description of the commit link markers in print mode.
|
|
||||||
Use "node()" to keep the paragraph but remove all content; prevents
|
|
||||||
an "Unresolved ID reference found" warning during PDF builds.
|
|
||||||
-->
|
|
||||||
<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']//node()">
|
|
||||||
<!-- Output an empty para -->
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:param name="use.extensions" select="1"></xsl:param>
|
<xsl:param name="use.extensions" select="1"></xsl:param>
|
||||||
<xsl:param name="variablelist.as.blocks" select="1"></xsl:param>
|
<xsl:param name="variablelist.as.blocks" select="1"></xsl:param>
|
||||||
<xsl:param name="orderedlist.label.width">1.5em</xsl:param>
|
<xsl:param name="orderedlist.label.width">1.5em</xsl:param>
|
||||||
@ -415,5 +400,21 @@ an "Unresolved ID reference found" warning during PDF builds.
|
|||||||
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- special release notes formatting -->
|
||||||
|
|
||||||
|
<!-- The release notes have too many ulinks to look good as footnotes in print mode -->
|
||||||
|
<xsl:template match="sect1[starts-with(@id, 'release-')]//ulink[starts-with(@url, 'https://postgr.es/c/')]">
|
||||||
|
<!-- Do nothing for ulink to avoid footnotes -->
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Suppress the description of the commit link markers in print mode.
|
||||||
|
Use "node()" to keep the paragraph but remove all content; prevents
|
||||||
|
an "Unresolved ID reference found" warning during PDF builds.
|
||||||
|
-->
|
||||||
|
<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']//node()">
|
||||||
|
<!-- Output an empty para -->
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user