<divGen>
<divGen> (automatically generated text division) indicates the location at which a textual division generated automatically by a text-processing application is to appear. 3.8.2 Index Entries | |||||||||||
Module | core — 3 Elements Available in All TEI Documents | ||||||||||
In addition to global attributes | In addition to global attributes
|
||||||||||
Used by | |||||||||||
May contain |
core: head
|
||||||||||
Declaration |
element divGen { att.global.attributes, attribute type { data.enumerated }?, model.headLike* } |
||||||||||
Example |
One use for this element is to allow document preparation software to generate an index and insert it in the appropriate place in the output. The example below assumes that the indexName attribute on index elements in the text has been used to specify index entries for the two generated indexes, named NAMES and THINGS: <back>
<div1 type="backmat"> <head>Bibliography</head> <listBibl> <bibl/> </listBibl> </div1> <div1 type="backmat"> <head>Indices</head> <divGen n="Index Nominum" type="NAMES"/> <divGen n="Index Rerum" type="THINGS"/> </div1> </back> |
||||||||||
Example |
Another use for divGen is to specify the location of an automatically produced table of contents: <front>
<!--<titlePage>...</titlePage>--> <divGen type="toc"/> <div> <head>Preface</head> <p> ... </p> </div> </front> |
||||||||||
Note |
This element is intended primarily for use in document
production or manipulation, rather than in the transcription of
pre-existing materials; it makes it easier to specify the location of
indices, tables of contents, etc., to be generated by text preparation
or word processing software.
|