Creating A Simple Mif File For Framemaker - Adobe FRAMEMAKER 10 User Manual

Hide thumbs Also See for FRAMEMAKER 10:
Table of Contents

Advertisement

This section
Catalogs
Formats
Objects
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>
<Para
<ParaLine
<String `Hello World'># The actual text of this document
>
>
The
statement is required in each MIF file. It identifies the FrameMaker version and must appear on the
MIFFile
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.
Contains these objects
Color
Condition
Paragraph Format
Element
Font or Character Format
Ruling
Table Format
Views
Variable
Cross-reference
Document
Dictionary
Anchored frames
Tables
Pages
Text flows
# The only required statement
# Begin a paragraph
# Begin a line within the paragraph
# end of Paraline #End of ParaLine statement
# end of Para #End of Para statement
ADOBE FRAMEMAKER 10
11
MIF Reference

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents