XML technologies / DocBook / Block elements / Index entries / Highlighted index entries

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

To highlight an index entry, the element indexterm provides the attribute significance. Its values are normal and preferred (meaning ‘preferred’); the first is the default. This distinguishes main entries from secondary entries.

<para>Die Anleitung gibt es auch als Howto im DocBook-Format <indexterm significance="preferred"><primary>Howto</primary><secondary>Format;</secondary><tertiary>DocBook</tertiary></indexterm></para>
<!-- ... -->
<para>... und wird häufig für Howtos <indexterm><primary>Howto</primary><secondary>Format;</secondary><tertiary>DocBook</tertiary></indexterm> verwendet.</para>

After formatting, the first index entry appears in bold, underlined or otherwise highlighted. The exact presentation depends on the stylesheets used.

  

back to top