XML technologies / DocBook / Block elements / Index entries / Specialized indexes
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
The previous examples generated only one index. Some documents have several indexes, such as a name index to help readers find people. DocBook 4.3 and later can generate such indexes. All you need is the attribute type. Proceed as follows:
Add a
typeattribute to<indexterm>for the entries that should appear together.
<indexterm type="namen">
<primary>Walsh, Norman</primary>
</indexterm>Place an
indexat the desired location, usually at the end, and add atypeattribute with the same content:
<index type="namen">
<title>Namensregister</title>
<!-- Keine Einträge! -->
</index>The DocBook stylesheets automatically generate a separate index containing only entries with the same type attribute.
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top