On Dec 19, 2004, at 6:17 PM, Michael Kay wrote:
Can't tell what's wrong without seeing your source document.
<?xml version="1.0" encoding="utf-8"?>
<article xmlns="http://docbook.org/docbook-ng">
<info>
<title>Test</title>
</info>
<section>
<info>
<title>Introduction</title>
</info>
<para>A citation with page number detail: <citation>
<biblioref linkend="Veer1996a" units="page" begin="23"
end="24"/>
</citation>.</para>
<para>Some more citations: <citation>
<biblioref linkend="Tilly2000a"/>
<biblioref linkend="Tilly2002a"/>
<biblioref linkend="Thrift1990a"/>
<biblioref linkend="TimesP2001a"/>
</citation>. A citation <footnote>
<para>... in a footnote <citation>
<biblioref linkend="Tilly2000a" begin="234"/>
</citation>
</para>
</footnote>.</para>
</section>
<bibliography/>
</article>
If you're running Saxon, the -T trace is always useful to understand
which
templates are being applied.
This seems to be telling me what I was guessing, but I don't understand
why it's not applying the templates in the output-latex mode:
<xsl:call-template name="bib:format-bibliography" line="46"
module="dbng-latex.xsl">
<xsl:template name="bib:format-bibliography" line="250"
module="citeproc.xsl">
<xsl:variable name="output-format" line="251"
module="citeproc.xsl">
</xsl:variable>
<xsl:choose line="252" module="citeproc.xsl">
<xsl:copy-of select="$bib:formatted-biblist" line="259"
module="citeproc.xsl">
</xsl:copy-of>
</xsl:choose>
<xsl:if test="$biboutfile" line="262" module="citeproc.xsl">
<xsl:variable name="biboutfile" line="9" module="CONFIG">
</xsl:variable>
</xsl:if>
</xsl:template>
</xsl:call-template>
The code
<xsl:for-each select="$bib:formatted-biblist">
<xsl:apply-templates mode="output-latex"/>
</xsl:for-each>
is a long-winded way of doing
<xsl:apply-templates
select="$bib:formatted-biblist"
mode="output-latex"/>
I think I had it that way earlier, but tried this other way because it
didn't work.
Bruce
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--