<xsl:param name="node" select="."/>
<xsl:choose>
+ <xsl:when test="$bibliography.numbered != 0">
+ <xsl:text>[</xsl:text>
+ <xsl:number from="bibliography" count="biblioentry|bibliomixed" format="1"/>
+ <xsl:text>] </xsl:text>
+ </xsl:when>
<xsl:when test="local-name($node/child::*[1]) = 'abbrev'">
<xsl:text>[</xsl:text>
<xsl:apply-templates select="$node/abbrev[1]"/>
</xsl:template>
<xsl:template match="revhistory" mode="bibliography.mode">
- <fo:inline>
- <xsl:apply-templates mode="bibliography.mode"/>
- <xsl:value-of select="$biblioentry.item.separator"/>
- </fo:inline>
+ <fo:block>
+ <xsl:apply-templates select="."/> <!-- use normal mode -->
+ </fo:block>
</xsl:template>
<xsl:template match="seriesinfo" mode="bibliography.mode">
<!ENTITY sidebar.properties SYSTEM "../params/sidebar.properties.xml">
<!ENTITY menuchoice.separator SYSTEM "../params/menuchoice.separator.xml">
<!ENTITY menuchoice.menu.separator SYSTEM "../params/menuchoice.menu.separator.xml">
+<!ENTITY bibliography.numbered SYSTEM "../params/bibliography.numbered.xml">
<reference><title>Bibliography</title>
&biblioentry.item.separator;
&bibliography.collection;
+&bibliography.numbered;
</reference>
<reference><title>Glossary</title>
<src:fragref linkend="autotoc.label.separator.frag"/>
<src:fragref linkend="biblioentry.item.separator.frag"/>
<src:fragref linkend="bibliography.collection.frag"/>
+<src:fragref linkend="bibliography.numbered.frag"/>
<src:fragref linkend="blockquote.properties.frag"/>
<src:fragref linkend="body.font.family.frag"/>
<src:fragref linkend="body.font.master.frag"/>