Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf986882

Browse files
committed
doc PG relnotes: no relnote footnotes for commit links in PDF
In print output, there are too many commit links for footnotes in therelease notes to be useful.Reported-by: Tom LaneDiscussion:https://postgr.es/m/1709858.1726618961@sss.pgh.pa.usBackpatch-through: 12
1 parentb52c4fc commitf986882

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎doc/src/sgml/stylesheet-fo.xsl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
<xsl:paramname="tablecolumns.extension"select="0"></xsl:param>
1515
<xsl:paramname="toc.max.depth">3</xsl:param>
1616
<xsl:paramname="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:templatematch="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+
1723
<xsl:paramname="use.extensions"select="1"></xsl:param>
1824
<xsl:paramname="variablelist.as.blocks"select="1"></xsl:param>
1925
<xsl:paramname="orderedlist.label.width">1.5em</xsl:param>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp