Adobe FRAMEMAKER 6.0 Manual page 20

Mif reference
Table of Contents

Advertisement

In a FrameMaker document, you store paragraph formats in a Paragraph Catalog and assign a tag (name)
to the format. You can then apply the same format to many paragraphs by assigning the format tag to the
paragraphs. You can also format a paragraph individually, without storing the format in the Paragraph
Catalog. Or, you can assign a format from the Paragraph Catalog and then override some of the properties
within a particular paragraph. Formats that are not stored in the Paragraph Catalog are called local formats.
Creating a paragraph
In a MIF file, paragraphs are defined by a Para statement. A Para statement contains one or more ParaLine
statements that contain the lines in a paragraph; the actual text of the line is enclosed in one or more String
statements:
<Para
<ParaLine
<String `Hello World'>
>
>
The Para, ParaLine, and String statements are the only required statements to import text. You could use
this example to import a simple document into a FrameMaker product by placing each paragraph in a Para
statement. Break the paragraph text into a series of String statements contained in one ParaLine statement.
It doesn't matter how you break up text lines within a Para statement; the MIF interpreter automatically
wraps lines when it reads the MIF file.
Some characters must be represented by backslash sequences in a MIF string. For more information, see
"Character set in strings" on page 13.
Creating a paragraph format
Within a FrameMaker document, you define a paragraph format by using the Paragraph Designer to
specify the paragraph's properties. In a MIF file, you define a paragraph format by using the Pgf statement.
The Pgf statement contains a group of substatements that describe all of a paragraph's properties. It has the
following syntax:
<Pgf
<property value>
<property value>
...
A Pgf statement is quite long, so learning how to relate its substatements to the paragraph's properties may
take some practice. Usually a MIF statement name is similar to the name of the setting within a dialog box.
The following examples show the property dialog boxes from the Paragraph Designer with the related Pgf
substatements.
# Begin a paragraph
# Begin a line within the paragraph
# The actual text of this document
# End of ParaLine statement
# End of Para statement
ADOBE FRAMEMAKER 6.0
20
Using MIF Statements

Advertisement

Table of Contents
loading

Table of Contents