diff options
author | Alvaro Herrera | 2023-03-20 13:01:09 +0000 |
---|---|---|
committer | Alvaro Herrera | 2023-03-20 13:01:09 +0000 |
commit | 30e9f2608adf2f61fc2e1be13ef8bc88c250f303 (patch) | |
tree | b8c5e2f3090ffc497be5c37d56e500876728f801 | |
parent | 19d8e2308bc51ec4ab993ce90077342c915dd116 (diff) |
doc/PDF: Add page breaks for <sect1> in contrib appendix
This better separates the content for each extension/module.
Author: Karl Pinc <[email protected]>
Discussion: https://postgr.es/m/[email protected]
-rw-r--r-- | doc/src/sgml/stylesheet-fo.xsl | 6 |
1 files changed, 6 insertions, 0 deletions
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"> |