Clean up order in stylesheete-fo.xsl

Make a separate section for release notes customization.  Commits
f986882ffd and 8a6e85b46e put those into the middle of unrelated
things.
pull/239/head
Peter Eisentraut 4 weeks ago
parent 783cbb6d5e
commit 8081e54bc5
  1. 31
      doc/src/sgml/stylesheet-fo.xsl

@ -14,21 +14,6 @@
<xsl:param name="tablecolumns.extension" select="0"></xsl:param>
<xsl:param name="toc.max.depth">3</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="variablelist.as.blocks" select="1"></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>
<!-- 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>

Loading…
Cancel
Save