This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] book/chapter/bibliography chunking
- From: "Brendon McKinley" <Brendon dot McKinley at anu dot edu dot au>
- To: <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 16 Apr 2004 12:04:25 +1000
- Subject: [docbook-apps] book/chapter/bibliography chunking
Greeting,
In the html/chunk-common.xsl file I've modified <xsl:template name="chunk"> to achieve chunking of bibliographies that appear as children of chapters in the same manner as sections are chunked. In the docbook stylesheets they appear at the bottom of the first chapter chunked html file for each chapter.
This is my modification of <xsl:template name="chunk"> in chunk-common.xsl:
<xsl:when test="name($node)='bibliography'
and (name($node/parent::*) = 'article'
or name($node/parent::*) = 'book'
added ---> or name($node/parent::*) = 'chapter' )">1</xsl:when>
I get entries in tocs for bio01.html, bio02.html etc but that file is not being generated. Any pointers as to what other templates need to be modified to chunk these elements separately?
Thanks in advance.
Brendon McKinley
ANU E Press Project
Division of Information
The Australian National University
R.G Menzies Building (Bldg #2)
Canberra ACT 0200 Australia
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.