v8-0002-Page-break-before-sect1-in-contrib-appendix-when-pdf.patch
text/x-patch
Filename: v8-0002-Page-break-before-sect1-in-contrib-appendix-when-pdf.patch
Type: text/x-patch
Part: 1
Patch
Format: unified
Series: patch v8-0002
| File | + | − |
|---|---|---|
| doc/src/sgml/stylesheet-fo.xsl | 8 | 0 |
diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl
index 0c4dff92c4..68a46f9e24 100644
--- a/doc/src/sgml/stylesheet-fo.xsl
+++ b/doc/src/sgml/stylesheet-fo.xsl
@@ -132,4 +132,12 @@
</fo:bookmark>
</xsl:template>
+<!-- Every sect1 in the appendix describing contributed modules
+ gets a page break -->
+
+<xsl:template match="id('contrib')/sect1">
+ <fo:block break-after='page'/>
+ <xsl:apply-imports/>
+</xsl:template>
+
</xsl:stylesheet>