diff options
-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> |