[dbdoclet] html2db: feature request - indexterm handling

Hi there!

How about using the mechanism for formal examples for indexterms as 
well? Would require a modificatin to handle *nested* div tags for 
'primary', 'secondary' and 'tertiary' level indexterms.

for example,

a series of div tags in the html like

<div id="index_primary" title="Font Size" >
<div id="index_secondary" title="Published" >
For published reports, the font size may be changed.</div></div>

<div id="index_primary" title="Font, changing" >
Text about changing font</div>

<div id="index_primary" title="Font Size" >
<div id="index_secondary" title="Maximum" >
The maximum font size is 18.</div></div>

<div id="index_primary" title="Font Size">
<div id="index_secondary" title="Published">
The default published font size is 16.</div></div>

would result in docbook like

<indexterm>
<primary>Font Size</primary>
<secondary>Published</secondary>
For published reports, the font size may be changed.
</indexterm>

<indexterm>
<primary>Font, changing</primary>
Text about changing font
</indexterm>

<indexterm>
<primary>Font Size</primary>
<secondary>Maximum</secondary>
The maximum font size is 18.
</indexterm>

<indexterm>
<primary>Font Size</primary>
<secondary>Published</secondary>
The default published font size is 16.
</indexterm>

and which would result in an index like:

Font, changing     12
Font Size
   Maximum          16
   Published     4, 19


Thanks again!
Micki

At 9:21 AM +0100 1/6/04, Michael Fuchs wrote:
>=2D----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hello,
>
>dbdoclet 0.53.1 has been released
>
>About:
>
>The DocBook Doclet creates DocBook SGML or XML from Java source
>documentation or HTML files. It is helpful if you want to print reference
>handbooks of your API. Normally it is used with the Javadoc tool but it can
>also be used as a standalone application to convert HTML to DocBook.
>Additionally it comes with a Swing application to manage documentation
>projects and to transform the resulting DocBook files to PDF.
>
>Changes:
>
>       * Added support for multiple input files in html2db.=20
>
>       * Added support for generating books or articles in html2db.
>
>       * Added support for setting the system identifier in html2db.
>
>       * Improved documentation for html2db.
>=09
>       * Minor bug fixes.
>=09
>
>dbdoclet can be obtained at www.dbdoclet.org


-- 
Micki Kaufman
Senior Project Manager
Encoda Systems, Inc.

micki.kaufman@xxxxxxxxxxxxxxxxx
phone: 212 303 4275          cell: 917 450-9137
http://www.encodasystems.com

Other related posts: