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

Lines changed: 6 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy