<divGen>

<divGen> (自動的に生成されるテキスト分割) テキスト処理により自動的に制裁さ れたテキスト区切の場所. 3.8.2 Index Entries
モジュールcore — 3 Elements Available in All TEI Documents
属性
type生成されたテキスト区切の種類.例えば,インデックス,目次,など.
状態 任意
データ型
data.enumerated
例としての値は以下の通り:
index
an index is to be generated and inserted at this point.
toc
(table of contents) a table of contents
figlist
(figure list) a list of figures
tablist
(table list) a list of tables
解説
Valid values are application-dependent; those shown are of obvious utility in document production, but are by no means exhaustive.
当該モジュールを使用するもの model.frontPart model.divGenLike
下位
core: head
宣言
element divGen
{
   att.global.attributes,
   attribute type { data.enumerated }?,
   model.headLike*
}

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 Nominumtype="NAMES"/>
  <divGen n="Index Rerumtype="THINGS"/>
 </div1>
</back>

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>
解説
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.