]> pere.pagekite.me Git - text-free-culture-lessig.git/blobdiff - data/user_param.xsl
More indexterm entries based on the original.
[text-free-culture-lessig.git] / data / user_param.xsl
index fe43aab3ebcc3f68099886a2db0e7da2602dc3a3..74a1d34ffbcceb3a4b72e6ebda8565506a3517f8 100644 (file)
   <xsl:param name="hyphenate">false</xsl:param>
   <xsl:param name="generate.toc">book toc title</xsl:param>
 
+  <!-- Require dblatex 0.3.7 or newer -->
+  <xsl:param name="figure.title.top">0</xsl:param>
+  <xsl:param name="figure.anchor.top">1</xsl:param>
+
   <!-- Drop the number in front of chapters -->
   <xsl:param name="local.l10n.xml" select="document('')"/> 
   <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
@@ -28,6 +32,8 @@
     </l:l10n>
   </l:i18n>
 
+  <!-- Make preface show up in toc for dblatex -->
+  <xsl:param name="preface.tocdepth">1</xsl:param>
 
   <!-- Fix bugs in default nb locale -->
   <xsl:template name="gentext.startquote">
     <xsl:text>’</xsl:text>
   </xsl:template>
 
-  <!-- This is not working.  No idea why -->
-  <xsl:template name="gentext.Index">
-    <xsl:text>Register</xsl:text>
-  </xsl:template>
-  <xsl:template name="gentext.index">
-    <xsl:text>register</xsl:text>
-  </xsl:template>
-
 </xsl:stylesheet>