Skip to content

Commit 30e9f26

Browse files
committed
doc/PDF: Add page breaks for <sect1> in contrib appendix
This better separates the content for each extension/module. Author: Karl Pinc <kop@karlpinc.com> Discussion: https://postgr.es/m/20230120142225.3d3be8a3@slate.karlpinc.com
1 parent 19d8e23 commit 30e9f26

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/src/sgml/stylesheet-fo.xsl

+6
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@
6969
</fo:inline>
7070
</xsl:template>
7171

72+
<!-- Make every sect1 in contrib get a page break -->
73+
<xsl:template match="id('contrib')/sect1">
74+
<fo:block break-after='page'/>
75+
<xsl:apply-imports/>
76+
</xsl:template>
77+
7278
<!-- formatting for entries in tables of functions -->
7379
<xsl:template match="entry[@role='func_table_entry']/para">
7480
<fo:block margin-left="4em" text-align="left">

0 commit comments

Comments
 (0)