aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/pdf/lfs-mixed.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'stylesheets/pdf/lfs-mixed.xsl')
-rw-r--r--stylesheets/pdf/lfs-mixed.xsl8
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="''"/>