RE: [docbook-apps] Bad index generation.

From
Mauritz Jeanson <>
Date
2007-03-27T17:46:06+00:00
ID
000301c77097$c2875490$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] Bad index generation.
> -----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