Adobe framemaker 6.0 User Manual
20
ADOBE FRAMEMAKER 6.0
Using MIF Statements
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.
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:
statements that contain the lines in a paragraph; the actual text of the line is enclosed in one or more String
statements:
<Para
# Begin a paragraph
<ParaLine
# Begin a line within the paragraph
<String `Hello World'>
# The actual text of this document
>
# End of ParaLine statement
>
# End of Para statement
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.
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.
“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.
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:
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.
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.