]> pere.pagekite.me Git - text-free-culture-lessig.git/blobdiff - data/user_param.xsl
Update from Transifex.
[text-free-culture-lessig.git] / data / user_param.xsl
index 15a65c0d3028bc0a47237cd6978623b5768ace83..c41cf534b266f3c88fc3c6031183929203440d8d 100644 (file)
   <xsl:template match="book|article" mode="docinfo">
     <!-- Apply default settings -->
     <xsl:apply-imports/>
-    <!--
-    <xsl:text>\input{</xsl:text>po4a/hyphenation.<xsl:value-of select="$lingua"/><xsl:text>.tex}</xsl:text>
-    -->
   </xsl:template>
 
   <xsl:param name="hyphenate">false</xsl:param>
   <xsl:param name="generate.toc">book toc title</xsl:param>
+  <xsl:param name="figure.title.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">
-    <l:l10n language="en">
+    <l:l10n language="nb">
       <l:context name="title-numbered">
-       <l:template name="chapter" text="%n.&#160;%t"/>
+       <l:template name="chapter" text="%t"/>
       </l:context>
     </l:l10n>
   </l:i18n>
   <xsl:template name="gentext.endquote">
     <xsl:text>»</xsl:text>
   </xsl:template>
+  <xsl:template name="gentext.nestedstartquote">
+    <xsl:text>‘</xsl:text>
+  </xsl:template>
+  <xsl:template name="gentext.nestedendquote">
+    <xsl:text>’</xsl:text>
+  </xsl:template>
 
   <!-- This is not working.  No idea why -->
   <xsl:template name="gentext.Index">