]> 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 3ab053463c3e039a243acdc8b560a1f5903e7f90..621cb603712e4b08358ffac17407a4748a95aaa7 100644 (file)
@@ -1,8 +1,6 @@
 <?xml version="1.0"?>
 <?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0">
-  <xsl:import
-    href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
   <xsl:param name="chunk.section.depth">0</xsl:param>
   <xsl:param name="section.autolabel">1</xsl:param>
   <xsl:param name="section.label.includes.component.label">1</xsl:param>
   <xsl:param name="chunk.section.depth">0</xsl:param>
   <xsl:param name="section.autolabel">1</xsl:param>
   <xsl:param name="section.label.includes.component.label">1</xsl:param>
@@ -10,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>
   <!-- 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>
 </xsl:stylesheet>