]> granicus.if.org Git - docbook-dsssl/commitdiff
Added new template user.manifest.items for specifying addtional items in manifest...
authorJirka Kosek <jirka@kosek.cz>
Thu, 22 Sep 2011 22:22:33 +0000 (22:22 +0000)
committerJirka Kosek <jirka@kosek.cz>
Thu, 22 Sep 2011 22:22:33 +0000 (22:22 +0000)
<xsl:template name="user.manifest.items" xmlns="http://www.idpf.org/2007/opf">
  <item id="font.dejavu.serif" href="fonts/DejaVuSerif.ttf" media-type="font/opentype"/>
</xsl:template>

xsl/epub3/epub3-element-mods.xsl

index a669cd689fe86888f021ad61808261ea22439705..d57e3748fb876a81b87b7851b19e2e9a485ce0ee 100644 (file)
@@ -712,9 +712,12 @@ book  toc,title
     <xsl:call-template name="manifest.css"/>
     <xsl:call-template name="manifest.cover"/>
     <xsl:call-template name="manifest.content.items"/>
+    <xsl:call-template name="user.manifest.items"/>
   </xsl:element>
 </xsl:template>
 
+<xsl:template name="user.manifest.items"/>
+
 <xsl:template name="manifest.css">
   <xsl:if test="$html.stylesheet != ''">
     <xsl:element namespace="{$opf.namespace}" name="item">