Hello Lex,

> Tomek,
>
> When you ask questions here please always specify the version of
> asciidoc and the backends and toolchains you are using.
Ups, sorry!

In this case only asciidoc version matters. I use 8.6.5.

> Styling of the docbook indexes is dependent on the toolchain you use.
> See 
> FAQhttp://www.methods.co.nz/asciidoc/faq.html#_sources_of_information_on...
> for information on toolchain configuration.
The thing I'm talking happens when asciidoc.py or a2x generates
docbook file. Then, for every "indexterm:[first,second]" the following
XML snippet is generated:
<indexterm><primary>first></primary><secondary>second<second></
indexterm>
<indexterm><primary>second</primary><indexterm>

which is as the asciidoc documentation states:
"Index terms that have secondary and tertiary entries also generate
separate index terms for the secondary and tertiary entries."

The idea that a separate index term should be generated for secondary
and tertiary entries is weird. I wish it was configurable, so I could
tell asciidoc NOT to do it.

Right now I have some scripts (using sed) which remove the unwanted
indexterms, but that is a hack I would rather not use.

--
Regards,
Tomek Kaczanowski

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to