[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo to docbook - enhancement request
From: |
Aharon Robbins |
Subject: |
texinfo to docbook - enhancement request |
Date: |
Tue, 04 Feb 2014 11:50:22 +0200 |
User-agent: |
Heirloom mailx 12.5 6/20/10 |
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
- texinfo to docbook - enhancement request,
Aharon Robbins <=