
148
Chapter 5: MIF Statements for Structured
Documents and Books
This chapter describes the MIF statements that define structured documents created with Adobe® FrameMaker®. For
more information about creating and editing structured documents, see the
FrameMaker User Guide
.
Structural element definitions
A structured document is divided into logical units called
structural elements
. Elements have tags (or names) that
indicate their role in the document. For example, a document might contain Section, Para, List, and Item elements.
Each element has a definition that specifies its valid contents (such as text and graphics). A structured template
specifies a document’s elements, and the correct order of elements and text in the document.
There are two basic groups of structure elements:
•
Containers, tables and footnotes, which can hold text and other elements.
•
Object elements, such as graphic frames, equations, markers, system variables, and cross-references. An object
element holds one of its specified type of object and nothing more.
Tables belong to both groups of elements. Although they can contain other elements (table parts such as rows and
cells), tables are also object elements.
In a MIF file, an element definition is defined by an
ElementDef
statement. Element definitions are stored in the
Element Catalog, which is defined by the
ElementDefCatalog
statement. Within a text flow, elements are indicated
by
ElementBegin
and
ElementEnd
statements.
When FrameMaker reads a MIF file that does not support structure, they strip MIF statements for structure, such as
ElementBegin
,
ElementEnd
, and
ElementDefCatalog
statements.
ElementDefCatalog statement
The
ElementDefCatalog
statement defines the contents of the Element Catalog. A document or book file can have
only one
ElementDefCatalog
statement which must appear at the top level in the order given in
“MIF file layout”
on page 10
.
Syntax
<ElementDefCatalog
Begin Element Catalog
<ElementDef…>
Defines an element (see “ElementDef statement,” next)
<ElementDef…>
Additional statements as needed
…
>
End of
ElementDefCatalog
statement
Содержание FRAMEMAKER 10
Страница 1: ...MIF Reference ADOBE FRAMEMAKER 10...