Adobe FRAMEMAKER 6.0 Manual page 44

Mif reference
Table of Contents

Advertisement

Creating a single-sided custom layout
If the document that you're importing needs a custom master page, you must specify a custom page layout.
For example, a document might need a master page for background graphics.
To create a custom layout for a single-sided document, you do the following:
Create a right master page.
Create a single, empty body page.
Create an empty, tagged text flow that is linked to the master page.
Create a tagged text flow that is linked to the body page and contains all the document's text.
The MIF code shown in this section is also in the sample file snglpage.mif.
To create the master page
To create a master page layout, use the Page statement to create the page and use the TextRect statement to
create the text frame.
To specify the number of text columns in the text frame, use the TRNumColumns statement. By default,
if the text frame's specification does not include this statement, the text frame has only one column.
This example sets up a right master page with a text frame containing one text column:
<MIFFile 6.00> # Hand generated
<Document
<DPageSize 7.5" 9.0">
<DTwoSides No>
> # end of Document
<Page
<PageType RightMasterPage>
<PageTag `Right'>
<TextRect
<ID 1>
<Pen 15>
<Fill 15>
<ShapeRect 2" 1" 5" 7.5"> # Specify the text frame size.
<TRNumColumns 1>
<TRColumnGap 0.0">
> # end of TextRect
> # end of Page
The ID statement assigns a unique ID number to this text frame. You must give text frames a unique ID in
a MIF file; other objects that require unique IDs are anchored graphic frames and table instances.
To create an empty body page
To create the body page, use the Page statement. Then use the TextRect statement to create a text frame
with dimensions that are exactly the same as the text frame on the master page. Give the text frame a unique
ID:
# Set the document page size.
# Make this a single-sided document.
# Create a right master page.
# Set up a text frame.
# Give the text frame a unique ID.
# Set the pen style.
# Set the fill pattern (none).
# Specify number of text columns.
# Specify gap between text columns.
ADOBE FRAMEMAKER 6.0
44
Using MIF Statements

Advertisement

Table of Contents
loading

Table of Contents