
ADOBE FRAMEMAKER 10
MIF Reference
11
FrameMaker provides all of these objects, even if the object is empty. To avoid unpredictable results in a document,
you must follow this order when you create a MIF file.
Creating a simple MIF file for FrameMaker
Note:
The rest of this chapter explains how to create some simple MIF files for FrameMaker by hand. These instructions
do not apply to structured documents, which require that you create elements first.
The most accurate source of information about MIF files is a MIF file generated by FrameMaker. MIF files generated
by FrameMaker can be very lengthy because FrameMaker repeats information and provides default objects and
formats for all documents. You may find it difficult to determine the minimum number of statements that are
necessary to define your document by looking at a FrameMaker-generated MIF file.
To better understand how FrameMaker reads MIF files, study the following example. This MIF file uses only four
statements to describe a document that contains one line of text:
<MIFFile 8.00>
# The only required statement
<Para
# Begin a paragraph
<ParaLine
# Begin a line within the paragraph
<String `Hello World'># The actual text of this document
>
# end of Paraline #End of ParaLine statement
>
# end of Para #End of Para statement
The
MIFFile
statement is required in each MIF file. It identifies the FrameMaker version and must appear on the
first line of the file. All other statements are optional; that is, FrameMaker provides a set of default objects if you
specify none.
Comments in a MIF file are preceded by a number sign (#). By convention, the substatements in a MIF statement
are indented to show their nesting level and to make the file easier to read. The MIF interpreter ignores spaces at the
beginning of a line.
Catalogs
Color
Condition
Paragraph Format
Element
Font or Character Format
Ruling
Table Format
Views
Formats
Variable
Cross-reference
Objects
Document
Dictionary
Anchored frames
Tables
Pages
Text flows
This section
Contains these objects
Содержание FRAMEMAKER 10
Страница 1: ...MIF Reference ADOBE FRAMEMAKER 10...