diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2025-08-13 15:07:51 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2025-08-13 15:09:56 +0200 |
commit | 8081e54bc52a0ea77cbe38a2a439598f361a5089 (patch) | |
tree | 78ac061a3006e8e09a5bacd97421d56c6f935ebd | |
parent | 783cbb6d5e8bdf87d321286f210983c177ead967 (diff) |
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.
-rw-r--r-- | doc/src/sgml/stylesheet-fo.xsl | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index e7916a6a883..69ef085ff89 100644 --- a/doc/src/sgml/stylesheet-fo.xsl +++ b/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> |