Larry Evans wrote:[snip]
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).
I did surround the bibliomset with <bibliograph>...</bibliograph> and understandably jumped to the conclusion that mode was set to "bibliography.mode".
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>
What I actually had was:
<bibliography>
<biblioentry>
<abbrev>Martinez et al.,1990</abbrev>
<bibliomset relation='article'>
<authorgroup><author><firstname>A.D.</firstname><surname>Martinez</surname></author>
<author><firstname>R.</firstname><surname>Wachenchauzer</surname></author>
<author><firstname>Rafael D.</firstname><surname>Lins</surname></author>
</authorgroup>
<title>Cyclic reference counting with local mark-scan</title>
</bibliomset>
<bibliomset relation='journal'>
<title>Information Processing Letters </title>
<volumenum>34</volumenum>
<artpagenums>31-35</artpagenums>
<pubdate>1990</pubdate>
</bibliomset>
</biblioentry>
</bibliography>
I got this from looking at some examples somewhere.
Is this explained in the DocBook docs?
From:
file:///usr/share/doc/docbook-xsl/doc/html/index.html
I selected the link titled:
bibliography.collection.html
and this had an example from which I probably copied; however, the
example didn't have a separate title for article and journal. I
probably cannibalized another example for that. Anyhow, with the
the following:
<|------------
<bibliography>
<biblioentry>
<abbrev>Martinez et al.,1990</abbrev>
<bibliomset relation='article'>
<authorgroup><author><firstname>A.D.</firstname><surname>Martinez</surname></author>
<author><firstname>R.</firstname><surname>Wachenchauzer</surname></author>
<author><firstname>Rafael
D.</firstname><surname>Lins</surname></author>
</authorgroup>
<title>Cyclic reference counting with local mark-scan</title>
</bibliomset>
<bibliomset relation='journal'>
<title>Information Processing Letters </title>
<volumenum>34</volumenum>
<artpagenums>31-35</artpagenums>
<pubdate>1990</pubdate>
</bibliomset>
</biblioentry>
</bibliography>
--------------->The output is:
[Martinez et al.,1990] A.D. Martinez, R. Wachenchauzer, and Rafael D. Lins. Cyclic reference counting with local mark-scan. . Information Processing Letters . 34. 31-35. 1990. .
which is better, but what I'd like is:
[Martinez et al.,1990] A.D. Martinez, R. Wachenchauzer, and Rafael D. Lins. "Cyclic reference counting with local mark-scan" _Information Processing Letters_ 34:31-35, 1990
It did, thanks.
HTH,
Reece Dunn
------------------------------------------------------- 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
