[dbdoclet] Re: html2db: feature request - indexterm handling
- From: MichaelFuchs@xxxxxxxxxxx (Michael Fuchs)
- To: dbdoclet@xxxxxxxxxxxxx
- Date: Wed, 7 Jan 2004 10:22:50 +0100
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Micki,
unfortunatly you can not use the id attribute for this purpose, because it=
=20
must be a unique id for a single element. If you use the example machanism=
,=20
you have to define a name like "example_this_special_example". This was don=
e=20
to separate formal from informal examples (I wouldn't do this again). But I=
=20
don't think that this would be a good solution for indexterm.
A possible solution could be to put all the information into the title=20
attribute, e.g. title=3D"index_primary:Font Size".
Bye
Michael
>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=3D"index_primary" title=3D"Font Size" >
><div id=3D"index_secondary" title=3D"Published" >
>For published reports, the font size may be changed.</div></div>
>
><div id=3D"index_primary" title=3D"Font, changing" >
>Text about changing font</div>
>
><div id=3D"index_primary" title=3D"Font Size" >
><div id=3D"index_secondary" title=3D"Maximum" >
>The maximum font size is 18.</div></div>
>
><div id=3D"index_primary" title=3D"Font Size">
><div id=3D"index_secondary" title=3D"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:
>>=3D2D----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 c=
an
>>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.=3D20
>>
>> * Added support for generating books or articles in html2db.
>>
>> * Added support for setting the system identifier in html2db.
>>
>> * Improved documentation for html2db.
>>=3D09
>> * Minor bug fixes.
>>=3D09
>>
>>dbdoclet can be obtained at www.dbdoclet.org
=2D --=20
Dipl.-Ing.(FH) Michael Fuchs
Tel. (0 81 61) 14 41 66
=46ax. (0 81 61) 14 05 21
Mobil 0 16 07 84 53 84
EMail michael.fuchs@xxxxxxxxxxxxxxx
URL http://www.michael-a-fuchs.de
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/+8/qNAj4n78BmMYRAvRVAKCQ25z8o91UIJBXioXapaxTRQnzjQCgla8z
9iRgyfHsnCuj9tqROB2BjFY=3D
=3Dznjc
=2D----END PGP SIGNATURE-----
- Follow-Ups:
- [dbdoclet] Re: html2db: feature request - indexterm handling
- From: Micki Kaufman
- References:
- [dbdoclet] html2db: feature request - indexterm handling
- From: Micki Kaufman
Other related posts:
- » [dbdoclet] html2db: feature request - indexterm handling
- » [dbdoclet] Re: html2db: feature request - indexterm handling
- » [dbdoclet] Re: html2db: feature request - indexterm handling
- [dbdoclet] Re: html2db: feature request - indexterm handling
- From: Micki Kaufman
- [dbdoclet] html2db: feature request - indexterm handling
- From: Micki Kaufman