After mimicking the libs/function/doc directory and replacing function.xml with refcycle_counted.xml containing:
<bibliomset relation='journal'> <title>Information Processing Letters</title> <volumenum>34</volumenum> <pagenums>31-35</pagenums> <pubdate>1990</pubdate> </bibliomset>.
the output from bjam --v2 contained no formatting for anything in the bibliography, including the following:
Information Processing Letters3431-351990.
This would be the result of default processing for unhandled nodes, i.e. process sub-nodes and output the text node values.
Should the file:
docbook-xsl-1.65.1/html/biblio.xsl
which is contained in a download from:
http://unc.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.65.1.tar.gz
be modified to supply some formatting, or is there a better way?
My first thought was: is biblio.xsl included/imported in by DocBook/Boost.Book? It is - in docbook.xsl.
Having a look at the template for bibliomset, you get:
<xsl:template match="bibliomset" mode="bibliography.mode">
<span class="{name(.)}">
<xsl:apply-templates mode="bibliography.mode"/>
<xsl:value-of select="$biblioentry.item.separator"/>
</span>
</xsl:template>This means that bibliomset resorts to default processing when not in the specified mode (controlled via apply-templates).
Doing a search for bibliography.mode reveals that it originates in the biblioentry template. Therefore, the correct XML markup should be:
<biblioentry><bibliomset relation='journal'>
<title>Information Processing Letters</title>
<volumenum>34</volumenum>
<pagenums>31-35</pagenums>
<pubdate>1990</pubdate>
</bibliomset></biblioentry>Is this explained in the DocBook docs?
HTH, Reece Dunn
_________________________________________________________________ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo
------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Boost-docs mailing list [EMAIL PROTECTED] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
