<divGen>

<divGen> (自動產生的文字段落) TO BE TRANSLATED 3.8.2 Index Entries
組件core — 3 Elements Available in All TEI Documents
屬性
typeTO BE TRANSLATED
狀態 非必備的
資料類型
data.enumerated
實例值包含:
index
TO BE TRANSLATED
toc
(table of contents) TO BE TRANSLATED
figlist
(figure list) TO BE TRANSLATED
tablist
(table list) TO BE TRANSLATED
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.