| 1 | <refentry id="index.element"> |
| 2 | <?dbhtml filename="index.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>index</secondary></indexterm> |
| 11 | <refentrytitle>index</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>index</refname> |
| 16 | <refpurpose>&index.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &index.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | An <sgmltag>Index</sgmltag> contains the formatted index of a document. |
| 24 | An index may begin with introductory material, followed by |
| 25 | any number of <sgmltag>IndexEntry</sgmltag>s or <sgmltag>IndexDiv</sgmltag>s. |
| 26 | </para> |
| 27 | |
| 28 | <refsect2><title>Processing expectations</title> |
| 29 | <para> |
| 30 | &format.block; An <sgmltag>Index</sgmltag> in a <sgmltag>Book</sgmltag> |
| 31 | frequently causes a forced page break in print media. |
| 32 | </para> |
| 33 | |
| 34 | <para> |
| 35 | In many processing systems, indexes are generated automatically or |
| 36 | semiautomatically and never appear instantiated as DocBook markup. |
| 37 | </para> |
| 38 | </refsect2> |
| 39 | |
| 40 | <refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title> |
| 41 | <para> |
| 42 | <indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V5.0</acronym></secondary> |
| 43 | </indexterm> |
| 44 | Formal objects and other elements inappropriate for an index will be |
| 45 | removed from the content that can appear before the first |
| 46 | <sgmltag>IndexDiv</sgmltag> or <sgmltag>IndexEntry</sgmltag>. |
| 47 | </para> |
| 48 | </refsect2> |
| 49 | |
| 50 | |
| 51 | &index.parents.gen; |
| 52 | &index.children.gen; |
| 53 | </refsect1> |
| 54 | <refsect1><title>Examples</title> |
| 55 | |
| 56 | <informalexample role="example-source"> |
| 57 | <programlisting>&index.example.1.txt;</programlisting> |
| 58 | </informalexample> |
| 59 | |
| 60 | <informalexample role="example-source"> |
| 61 | <programlisting>&index.example.2.txt;</programlisting> |
| 62 | </informalexample> |
| 63 | |
| 64 | &index.example.seealso.gen; |
| 65 | </refsect1> |
| 66 | </refentry> |
| 67 |