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