Place pagebreaks before major sections.
authorRalph Giles <giles@xiph.org>
Sat, 26 Oct 2002 15:50:48 +0000 (15:50 +0000)
committerRalph Giles <giles@xiph.org>
Sat, 26 Oct 2002 15:50:48 +0000 (15:50 +0000)
svn path=/trunk/vorbis/; revision=4056

doc/xml/spec-fo.xsl

index 8fefe76..7aab654 100644 (file)
@@ -3,4 +3,14 @@
   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/> 
   <xsl:include href="spec-common.xsl"/>
   <xsl:param name="paper.type" select="'A4'"/> 
+
+  <xsl:attribute-set name="section.title.level1.properties">
+    <xsl:attribute name="break-before">page</xsl:attribute>
+  </xsl:attribute-set>
+
+  <!-- the appendix pagebreak setting doesn't seem to be respected -->
+  <xsl:attribute-set name="appendix.title.properties">
+    <xsl:attribute name="break-before">page</xsl:attribute>
+  </xsl:attribute-set>
+
 </xsl:stylesheet>