diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-08-18 21:17:34 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-08-18 21:17:34 +0000 |
commit | 25eacc67c19169bcc9f21a3527738aaab0773d42 (patch) | |
tree | e0664ac9df25ec2972853fd467a17914f859e7fe /stylesheets | |
parent | 45ac9725988a15a74d811e97dee736532f6a9823 (diff) |
Added support to can force page breaks.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4049 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets')
-rw-r--r-- | stylesheets/pdf/lfs-mixed.xsl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/stylesheets/pdf/lfs-mixed.xsl b/stylesheets/pdf/lfs-mixed.xsl index d37d3b5c7..760805e39 100644 --- a/stylesheets/pdf/lfs-mixed.xsl +++ b/stylesheets/pdf/lfs-mixed.xsl @@ -4,6 +4,14 @@ xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> + + <!-- This is a hack and isn't correct semantically. The beginpage tags must + be placed in the XML source only to render the final PDF output, and must + be removed after.--> + <xsl:template match="beginpage"> + <fo:block break-after="page"/> + </xsl:template> + <!-- Split URLs --> <xsl:template name="hyphenate-url"> <xsl:param name="url" select="''"/> |