postgres.git / summary / log / commit / refs
commit 30e9f2608adf2f61fc2e1be13ef8bc88c250f303
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Mon Mar 20 13:01:09 2023 +0000
First released in: 16.0
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
doc/src/sgml/stylesheet-fo.xsl | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl
index 0c4dff92c46..5e7e1324803 100644
--- a/doc/src/sgml/stylesheet-fo.xsl
+++ b/doc/src/sgml/stylesheet-fo.xsl
@@ -69,6 +69,12 @@
</fo:inline>
</xsl:template>
+<!-- Make every sect1 in contrib get a page break -->
+<xsl:template match="id('contrib')/sect1">
+ <fo:block break-after='page'/>
+ <xsl:apply-imports/>
+</xsl:template>
+
<!-- formatting for entries in tables of functions -->
<xsl:template match="entry[@role='func_table_entry']/para">
<fo:block margin-left="4em" text-align="left">
[parent: 19d8e2308bc5]