Hi.

It's me again.

The last time I converted a book from Texinfo to Docbook for book
production, I enhanced the C makeinfo to use commas in @cindex to
separate the primary, secondary, and tertiary terms in an index entry.
There could be up to two commas, leading to three cases:

        @cindex main topic
        @cindex main topic, secondary point
        @cindex main topic, secondary point, tertiary point

Translating into

        <indexterm><primary>main topic</primary></indexterm>
        <indexterm><primary>main topic</primary><secondary>secondary 
point</secondary></primary></indexterm>
        <indexterm><primary>main topic</primary><secondary>secondary 
point</secondary><tertiary>tertiary 
point</tertiary></secondary></primary></indexterm>

respetively.  (See why I hade doing docbook by hand? :-)

There is a similar need for adding <seealso> tags but that is much less
important at the moment.

Can makeinfo be enhanced to do this?

Thanks,

Arnold

Reply via email to