atom feed7 messages in org.oasis-open.lists.docbook-appsRE: [docbook-apps] Bad index generation.
FromSent OnAttachments
M.Canales.esMar 26, 2007 3:09 pm 
Bob StaytonMar 26, 2007 7:14 pm 
M.Canales.esMar 27, 2007 10:43 am 
Mauritz JeansonMar 27, 2007 10:45 am 
M.Canales.esMar 27, 2007 11:05 am 
Mauritz JeansonMar 27, 2007 11:16 am 
M.Canales.esMar 27, 2007 11:32 am 
Subject:RE: [docbook-apps] Bad index generation.
From:Mauritz Jeanson (mj@johanneberg.com)
Date:Mar 27, 2007 10:45:43 am
List:org.oasis-open.lists.docbook-apps

-----Original Message----- From: M.Canales.es

Having an index tag like this:

<index type="package"/>

and indexterm entries like this

<indexterm zone="ch-system-bash" type="package"> <primary>Bash</primary> </indexterm>

when rendering the book using

$ xsltproc --xinclude --nonet -stringparam generate.index 1 snapshot/xhtml/docbook.xsl index.xml > book.html

the Index is generated properly, but when using

$ xsltproc --xinclude --nonet -stringparam generate.index 1 -stringparam index.on.type 1 snapshot/xhtml/docbook.xsl index.xml > book.html

the links on the Index entries are lost.

There is a bug report about this: http://sourceforge.net/tracker/index.php?func=detail&aid=1680836&group_id=21 935&atid=373747

I have looked into it, so far without success. Some subtle error, related to the scope entity (declared in common/entities.ent and used in autoidx.xsl), manifests itself when @zone and @type are used and index.on.type = 1.

/MJ