]> pere.pagekite.me Git - text-free-culture-lessig.git/blobdiff - data/html.xsl
Add several font setups + group the index font in the setup + add french template.
[text-free-culture-lessig.git] / data / html.xsl
index 43cd579974362bb89bf20534236039e4397dfcca..621cb603712e4b08358ffac17407a4748a95aaa7 100644 (file)
@@ -8,4 +8,23 @@
   <!-- 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:call-template name="dedication.titlepage"/>
+      <xsl:apply-templates/>
+      <xsl:call-template name="process.footnotes"/>
+    </div>
+    <hr/>
+  </xsl:template>
 </xsl:stylesheet>