data/html.xsl \
data/stylesheet-html.xsl
+EPUB_XSLT = \
+ $(XSLT) \
+ data/html.xsl \
+ data/stylesheet-epub.xsl
+
PDF_XSLT = \
$(DB_XSLT) \
$(XSLT) \
%.txt: %.xml $(IMAGES)
xmlto txt $<
-%.epub: %.xml $(IMAGES)
- $(DBTOEPUB) $<
+%.epub: %.xml $(IMAGES) $(EPUB_XSLT)
+ $(DBTOEPUB) \
+ -s data/stylesheet-epub.xsl \
+ $<
%.mobi: %.epub
ebook-convert $< $@
<!-- Restore previous default value with openjade -->
<xsl:param name="autotoc.label.in.hyperlink" select="0"></xsl:param>
<xsl:param name="toc.section.depth">3</xsl:param>
+
+ <!-- Add <hr> after the dedication block, based on block from
+ /usr/share/xml/docbook/stylesheet/docbook-xsl/html/component.xsl
+ -->
+ <xsl:template match="dedication" mode="dedication">
+ <xsl:call-template name="id.warning"/>
+ <div>
+ <xsl:call-template name="common.html.attributes">
+ <xsl:with-param name="inherit" select="1"/>
+ </xsl:call-template>
+ <xsl:call-template name="id.attribute">
+ <xsl:with-param name="conditional" select="0"/>
+ </xsl:call-template>
+ <xsl:apply-templates/>
+ <xsl:call-template name="process.footnotes"/>
+ </div>
+ <hr/>
+ </xsl:template>
</xsl:stylesheet>