This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Auto Index in FO stylesheets
On Mon, Dec 09, 2002 at 01:26:20PM -0800, Bob Stayton wrote:
> On Mon, Dec 09, 2002 at 03:46:47PM -0500, Jeff Beal wrote:
> > I just tried to automatically generate an index at the end of a book using
> > the DocBook 1.57.0 stylesheets and XEP. I found that the generate.index
> > parameter did nothing unless I had an empty <index/> tag at the end of the
> > book, and that the index then contained the index for the entire set.
I just checked in the changes to fix this problem.
Now an automatically generated index uses only those
indexterms that are ancestors of the empty index element's
parent. So a setindex will have indexterms from the
whole set, while each book's index will have only entries
for that book. You can have indexes per chapter
or section, if you want.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com