Adobe framemaker 6.0 User Manual

Page of 323
43
ADOBE FRAMEMAKER 6.0
 Using MIF Statements
<MIFFile 6.00> # Hand generated
<TextFlow
# All document text is in this text flow.
<TFTag `A'>
# Make this a tagged text flow.
<TFAutoConnect Yes>
# Automatically connect text frames.
<Para
<ParaLine
<String `This paragraph appears on a body page within a'>
<String ` text flow tagged A.'>
> # end of ParaLine
> # end of Para
> # end of TextFlow
# End of MIFFile
A text flow must be tagged, and it must include <TFAutoConnect Yes>; otherwise, when the user adds text 
to the document, the FrameMaker product won’t create additional pages and text frames to hold the added 
text.
Creating a simple page layout
If you want some control of the page layout but do not want to create master pages, you can use the 
Document substatements DPageSizeDMargins, and DColumns to specify the page size, margins, and 
number of columns in the text frame in the document. The MIF interpreter uses this information to create 
master pages and body pages. These statements correspond to the Normal Page Layout options.
The following example is in the sample file columlay.mif:
<MIFFile 6.00> # Hand generated
<Document
<DPageSize 7.5" 9.0">
# Set the page size.
<DMargins 2" 1" .5" .5">
# Set the margins.
<DColumns 1>
# Set the number of columns in the default
# text frame.
<DTwoSides No>
# Set document to single-sided.
> # end of Document
<TextFlow
# Document text is in this text flow.
<TFTag `A'>
# Make this a tagged text flow.
<TFAutoConnect Yes>
# Automatically connect text frames.
<Para
<ParaLine
<String `This paragraph appears on a body page within a'>
<String ` text flow tagged A.'>
> # end of ParaLine
> # end of Para
> # end of TextFlow
# End of MIFFile