1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-24 14:22:24 +03:00

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
This commit is contained in:
Alvaro Herrera
2023-03-20 14:01:09 +01:00
parent 19d8e2308b
commit 30e9f2608a

View File

@ -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">