summaryrefslogtreecommitdiff
path: root/doc/user/pdf.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/pdf.xsl')
-rw-r--r--doc/user/pdf.xsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/user/pdf.xsl b/doc/user/pdf.xsl
index 652975f0..9c545925 100644
--- a/doc/user/pdf.xsl
+++ b/doc/user/pdf.xsl
@@ -67,5 +67,9 @@ set toc,title
<xsl:apply-templates select="." mode="vl.as.blocks"/>
</xsl:template>
+<!-- Prevent our EPUB cover image from getting printed to the PDF -->
+<xsl:template match="mediaobject[@role = 'cover']">
+</xsl:template>
+
</xsl:stylesheet>