OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: Re: Auto Index in FO stylesheets


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ Bob Stayton <bobs@caldera.com> was heard to say:
| 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.

What about the case where I have a book in <part>s?

I tinkered with this code a bit (and added support for setindex in the
FO case) so that <index> always indexes the book it's in. Setindex
always indexes the *whole* document.

I just don't think indexing from the parent of index makes much sense
and it completely breaks for books that have parts.

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw@nwalsh.com>      | Our repugnance to death increases
http://www.oasis-open.org/docbook/ | in proportion to our consciousness
Chair, DocBook Technical Committee | of having lived in vain.--Hazlitt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE+E00zOyltUcwYWjsRAoZ3AJ4mKSz5OtuJGHExOMkDr+M7Ei7lXQCgl8gm
HnxR9MxmynmN8Na9C45RxfY=
=Z47D
-----END PGP SIGNATURE-----


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC