diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2023-03-20 14:01:09 +0100 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2023-03-20 14:01:09 +0100 |
commit | 30e9f2608adf2f61fc2e1be13ef8bc88c250f303 (patch) | |
tree | b8c5e2f3090ffc497be5c37d56e500876728f801 | |
parent | 19d8e2308bc51ec4ab993ce90077342c915dd116 (diff) | |
download | postgresql-30e9f2608adf2f61fc2e1be13ef8bc88c250f303.tar.gz postgresql-30e9f2608adf2f61fc2e1be13ef8bc88c250f303.zip |
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
-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"> |