|
14 | 14 | <xsl:param name="tablecolumns.extension" select="0"></xsl:param>
|
15 | 15 | <xsl:param name="toc.max.depth">3</xsl:param>
|
16 | 16 | <xsl:param name="ulink.footnotes" select="1"></xsl:param>
|
17 |
| - |
18 |
| -<!-- The release notes have too many ulinks to look good as footnotes in print mode --> |
19 |
| -<xsl:template match="sect1[starts-with(@id, 'release-')]//ulink[starts-with(@url, 'https://postgr.es/c/')]"> |
20 |
| - <!-- Do nothing for ulink to avoid footnotes --> |
21 |
| -</xsl:template> |
22 |
| - |
23 |
| -<!-- |
24 |
| -Suppress the description of the commit link markers in print mode. |
25 |
| -Use "node()" to keep the paragraph but remove all content; prevents |
26 |
| -an "Unresolved ID reference found" warning during PDF builds. |
27 |
| ---> |
28 |
| -<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']//node()"> |
29 |
| - <!-- Output an empty para --> |
30 |
| -</xsl:template> |
31 |
| - |
32 | 17 | <xsl:param name="use.extensions" select="1"></xsl:param>
|
33 | 18 | <xsl:param name="variablelist.as.blocks" select="1"></xsl:param>
|
34 | 19 | <xsl:param name="orderedlist.label.width">1.5em</xsl:param>
|
@@ -415,5 +400,21 @@ an "Unresolved ID reference found" warning during PDF builds.
|
415 | 400 |
|
416 | 401 | </xsl:template>
|
417 | 402 |
|
| 403 | +<!-- special release notes formatting --> |
| 404 | + |
| 405 | +<!-- The release notes have too many ulinks to look good as footnotes in print mode --> |
| 406 | +<xsl:template match="sect1[starts-with(@id, 'release-')]//ulink[starts-with(@url, 'https://postgr.es/c/')]"> |
| 407 | + <!-- Do nothing for ulink to avoid footnotes --> |
| 408 | +</xsl:template> |
| 409 | + |
| 410 | +<!-- |
| 411 | +Suppress the description of the commit link markers in print mode. |
| 412 | +Use "node()" to keep the paragraph but remove all content; prevents |
| 413 | +an "Unresolved ID reference found" warning during PDF builds. |
| 414 | +--> |
| 415 | +<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']//node()"> |
| 416 | + <!-- Output an empty para --> |
| 417 | +</xsl:template> |
| 418 | + |
418 | 419 |
|
419 | 420 | </xsl:stylesheet>
|
0 commit comments