Adobe framemaker 6.0 User Manual
233
Examples
The examples in this appendix show how to describe text and graphics in MIF files. (The current examples
are valid only for unstructured documents.) You can import the MIF file into an existing FrameMaker
template, or you can open the MIF file as a FrameMaker document. In either case, if you save the resulting
document in MIF format, you will create a complete description of the document—not just the text or
graphics.
are valid only for unstructured documents.) You can import the MIF file into an existing FrameMaker
template, or you can open the MIF file as a FrameMaker document. In either case, if you save the resulting
document in MIF format, you will create a complete description of the document—not just the text or
graphics.
If you find any MIF statement difficult to understand, the best way to learn more is to create a sample file
that uses the statement. Use a FrameMaker product to edit and format a document that uses the MIF
feature and then save the document as a MIF file. Examine the MIF file with any standard text editor.
that uses the statement. Use a FrameMaker product to edit and format a document that uses the MIF
feature and then save the document as a MIF file. Examine the MIF file with any standard text editor.
The examples in this appendix are provided online.
Text example
This example shows a simple text file and the MIF file that describes it. If you are writing a filter program
to convert text files to MIF, your program should create a similar MIF file. The following text file was
created with a text editor:
to convert text files to MIF, your program should create a similar MIF file. The following text file was
created with a text editor:
MIF (Maker Interchange Format) is a group of statements that describe all text and graphics understood
by a FrameMaker product in an easily parsed, readable text file. MIF provides a way to exchange
information between a FrameMaker product and other applications while preserving graphics, document
structure, and format.
You can write programs that convert graphics or documents
into a MIF file and then import the MIF file into a FrameMaker document with the graphics and document
formats intact.
A filter program translated the text file to produce the following MIF file:
For a FrameMaker product on this platform
Look here
UNIX
$FMHOME/fminit/
language
/Samples, where
language
is the language in use,
such as usenglish
Macintosh The
Samples folder where MIF Reference is installed
Windows The
samples directory where MIF Reference is installed