Adobe FRAMEMAKER 10 User Manual
Adobe FRAMEMAKER 10 User Manual

Adobe FRAMEMAKER 10 User Manual

Hide thumbs Also See for FRAMEMAKER 10:
Table of Contents

Advertisement

MIF Reference
ADOBE
FRAMEMAKER
10
®
®

Advertisement

Table of Contents
loading

Summary of Contents for Adobe FRAMEMAKER 10

  • Page 1 MIF Reference ADOBE FRAMEMAKER ® ®...
  • Page 2 The content of this guide is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorpo- rated.
  • Page 3: Table Of Contents

    Contents Chapter 1: Introduction Why use MIF? ................1 Using this manual .
  • Page 4 Graphic objects and graphic frames ........... . . 104 Text flows .
  • Page 5 Changes between version 6.0 and 7.0 ........... 241 Changes between version 5.5 and 6.0 .
  • Page 6: Chapter 1: Introduction

    MIF (Maker Interchange Format) is a group of ASCII statements that create an easily parsed, readable text file of all the text, graphics, formatting, and layout constructs that Adobe® FrameMaker® understands. Because MIF is an alter- native representation of a FrameMaker document, it allows FrameMaker and other applications to exchange infor- mation while preserving graphics, document content, and format.
  • Page 7: Style Conventions

    ADOBE FRAMEMAKER 10 MIF Reference For an introduction to writing MIF files, read , “Using MIF Statements. ” You can then use the statement index, subject index, and table of contents to locate more specific information about a particular MIF statement.
  • Page 8 ADOBE FRAMEMAKER 10 MIF Reference FrameMaker also treats each document as an object and stores document preferences as properties of the document. For example, a document’s page size and page numbering style are document properties. FrameMaker documents have default objects A FrameMaker document always has a certain set of default objects, formats, and preferences, even when you create a new document.
  • Page 9: Mif Statement Syntax

    ADOBE FRAMEMAKER 10 MIF Reference • Page properties • Graphic frame properties • Text frame properties • Fill pattern • Pen pattern • Line width • Line cap • Line style (dash or solid) • Color • Text line alignment and character format Because the interpreter also provides default objects for a document, the current state of an object may be deter- mined by a default object.
  • Page 10 ADOBE FRAMEMAKER 10 MIF Reference Statement hierarchy Some MIF statements can contain other statements. The contained statements are called substatements. In this manual, substatements are usually shown indented within the containing statements as follows: <Document <DStartPage 1> > The indentation is not required in a MIF file, although it may make the file easier for you to read.
  • Page 11: Unit Values

    ADOBE FRAMEMAKER 10 MIF Reference This term or symbol Means Coordinates of a point on the physical screen represented by plus dimensions describing X Y W H the width and height. Used only by the DWindowRect DViewRect statements within the...
  • Page 12 ADOBE FRAMEMAKER 10 MIF Reference Character set in strings MIF string data uses the FrameMaker character set (see the Quick Reference for your FrameMaker product). MIF strings must begin with a left quotation mark (ASCII character code ) and end with a straight quotation mark...
  • Page 13 ADOBE FRAMEMAKER 10 MIF Reference Code Meaning Up one level in the file tree When you specify a device-independent pathname in a MIF string, you must precede any right angle brackets (>) with backslashes (\), as shown in the syntax above.
  • Page 14: Chapter 2: Using Mif Statements

    Chapter 2: Using MIF Statements MIF statements can completely describe any Adobe® FrameMaker® document, no matter how complex. As a result, you often need many MIF statements to describe a document. To learn how to use MIF statements, it helps to begin with some simple examples.
  • Page 15 ADOBE FRAMEMAKER 10 MIF Reference In UNIX versions, FrameMaker saves a document in text format in the ISO Latin-1 character encoding. You can change the character encoding to ASCII by changing the value of an X resource. See the description of character encoding in the online manual Customizing FrameMaker.
  • Page 16: Creating A Simple Mif File For Framemaker

    ADOBE FRAMEMAKER 10 MIF Reference This section Contains these objects Catalogs Color Condition Paragraph Format Element Font or Character Format Ruling Table Format Views Formats Variable Cross-reference Objects Document Dictionary Anchored frames Tables Pages Text flows 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.
  • Page 17 ADOBE FRAMEMAKER 10 MIF Reference This example is in the sample file . To see how FrameMaker provides defaults for a document, open this hello.mif file in FrameMaker. Even though the MIF file does not specify any formatting, FrameMaker provides a default Paragraph Catalog and Character Catalog.
  • Page 18 ADOBE FRAMEMAKER 10 MIF Reference <Pgf < property value > property value < > > 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 substatements.
  • Page 19 ADOBE FRAMEMAKER 10 MIF Reference In MIF file In Paragraph Designer Line Spacing (fixed) <PgfLineSpacing Fixed> Number of tab stops <PgfNumTabs 1> Begin definition of tab <TabStop Tab position <TSX 0.25"> Tab type <TSType Left > Tab leader (none) <TSLeaderStr `'>...
  • Page 20 ADOBE FRAMEMAKER 10 MIF Reference In MIF file In Paragraph Designer <FEncoding> Angle <FAngle `Regular'> Weight <FWeight `Regular'> Language <FLanguage> Variation <FVar `Regular'> Color <FColor `Black'> Spread <FDW 0.0 pt> Stretch <FStretch 100%> Underline <FUnderlining NoUnderlining > Overline <FOverline No >...
  • Page 21 ADOBE FRAMEMAKER 10 MIF Reference The Pagination properties are defined as follows in the Paragraph Designer. Pagination properties The following table shows the corresponding MIF statements: In MIF file In Paragraph Designer Start <PgfPlacement Anywhere > Keep With Next Pgf <PgfWithNext No >...
  • Page 22 ADOBE FRAMEMAKER 10 MIF Reference The Numbering properties are defined as follows in the Paragraph Designer. Numbering properties The following table shows the corresponding MIF statements: In MIF file In Paragraph Designer Turn on Autonumber <PgfAutoNum Yes > Autonumber Format (a number followed by a period and a tab) <PgfNumFormat `<n+\>.\\t' >...
  • Page 23 ADOBE FRAMEMAKER 10 MIF Reference The Advanced properties are defined as follows in the Paragraph Designer. Advanced properties The following table shows the corresponding MIF statements: In MIF file In Paragraph Designer Automatic Hyphenation (on) <PgfHyphenate Yes > Max. # Adjacent <HyphenMaxLines...
  • Page 24 ADOBE FRAMEMAKER 10 MIF Reference The Asian properties are defined as follows in the Paragraph Designer. Asian properties The following table shows the corresponding MIF statements: In MIF file In Paragraph Designer Minimum (Western/Asian Spacing) percentage <PgfMinJRomanLetterSpace > percentage Optimum (Western/Asian Spacing) <PgfOptJRomanLetterSpace...
  • Page 25 ADOBE FRAMEMAKER 10 MIF Reference The Table Cell properties are defined as follows in the Paragraph Designer. Table cell properties The following table shows the corresponding MIF statements: In MIF file In Paragraph Designer Cell Vertical Alignment <PgfCellAlignment Top >...
  • Page 26 ADOBE FRAMEMAKER 10 MIF Reference <PgfCatalog <Pgf <PgfTag `1Heading'> <PgfUseNextTag Yes > <PgfNextTag `Body'> <PgfAlignment Left > <PgfFIndent 0.0"> <PgfLIndent 0.0"> <PgfRIndent 0.0"> > # end of Pgf > # end of PgfCatalog If you open in FrameMaker, you’ll see that the Paragraph Catalog contains a single paragraph format pgfcat.mif...
  • Page 27 ADOBE FRAMEMAKER 10 MIF Reference <String `A locally formatted heading'> > # end of ParaLine > # end of Para For a complete description of property statements, see page 62. How paragraphs inherit properties Paragraphs can inherit properties from other paragraphs in a MIF file. If a...
  • Page 28: Creating And Applying Character Formats

    ADOBE FRAMEMAKER 10 MIF Reference Tips The following hints may help you minimize the MIF statements for paragraph formats: • If possible, use the formats in the default Paragraph Catalog (don’t supply a statement). If you know PgfCatalog the names of the default paragraph formats, you can tag paragraphs with the statement.
  • Page 29: Creating And Formatting Tables

    ADOBE FRAMEMAKER 10 MIF Reference To locally define a character format, use a complete statement: Font <Para <PgfTag `Body'> <ParaLine <String `You can also format characters by '> <Font <FTag `Emphasis'> …character property statements … > # end of Font <String `applying'>...
  • Page 30 ADOBE FRAMEMAKER 10 MIF Reference • Indicate the position of the table in the text flow by using an statement. The statement is the place- ATbl ATbl holder, or anchor, for the table instance. It refers to the table instance’s unique ID.
  • Page 31 ADOBE FRAMEMAKER 10 MIF Reference <TblH # Begin table heading <Row # Begin row <Cell # First cell in row <CellContent <Para # Cells can contain paragraphs <PgfTag `CellHeading'># Applies format from Paragraph Catalog <ParaLine <String `Coffee'># Text in this cell >...
  • Page 32 ADOBE FRAMEMAKER 10 MIF Reference <Para <ParaLine <String `Coffee prices for January'> <ATbl 1> # Matches table ID in Tbl statement > # end of ParaLine > # end of Para This example is in the sample file . If you open this file in FrameMaker, you’ll see that the anchor symbol table.mif...
  • Page 33 ADOBE FRAMEMAKER 10 MIF Reference Straddle cells The contents of a straddle cell cross cell borders as if there were a single cell. You can straddle cells horizontally or vertically. The following table includes a heading row that straddles two columns:...
  • Page 34 ADOBE FRAMEMAKER 10 MIF Reference Coffee Price per Bag Colombian $474.35 The following MIF statements define this table format: <TblFormat <TblTag `Coffee Table'> # Every table must have at least one TblColumn # statement. <TblColumn <TblColumnNum 0> # Columns are numbered from 0.
  • Page 35 ADOBE FRAMEMAKER 10 MIF Reference statement numbers each column and sets its width. A table can have more columns than TblColumn TblColumn statements; if a column does not have a specified format, the MIF interpreter uses the format of the most recently defined column.
  • Page 36: Specifying Page Layout

    ADOBE FRAMEMAKER 10 MIF Reference > # end of TblFormat > # end of Tbl > # end of Tbls Creating default paragraph formats for new tables You can use the statements to define default paragraph formats for the columns in new...
  • Page 37 ADOBE FRAMEMAKER 10 MIF Reference Body pages contain the text and graphics that form the content of the document. Master pages control the layout of body pages. Each body page is associated with one master page, which specifies the number, size, and placement of the page’s text frames and the page background, such as headers, footers, and graphics.
  • Page 38 ADOBE FRAMEMAKER 10 MIF Reference 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 , and to specify the page size, margins, and number of columns in...
  • Page 39 ADOBE FRAMEMAKER 10 MIF Reference <TextRect # Set up a text frame. <ID 1> # Give the text frame a unique ID. <Pen 15> # Set the pen style. <Fill 15> # Set the fill pattern (none). <ShapeRect 2" 1" 5" 7.5">...
  • Page 40 ADOBE FRAMEMAKER 10 MIF Reference To create the text flow for the body page The text flow for the body page is contained in a separate statement that is linked to the body page’s text TextFlow frame. The text flow contains the actual text of the document in one or more statements.
  • Page 41: Creating Markers

    ADOBE FRAMEMAKER 10 MIF Reference Other master page layouts that you’ve defined are not lost when the interpreter reads a MIF file. The user can still apply these page layouts to individual body pages. For an example of a MIF file with a first page layout, see the sample file frstpage.mif...
  • Page 42 ADOBE FRAMEMAKER 10 MIF Reference The format of a cross-reference determines its appearance and the wording. Cross-reference formats include building blocks, instructions to FrameMaker about what information to extract from the reference source. A common building block is , which FrameMaker replaces with the page number of the reference source. Another <$pagenum>...
  • Page 43: Creating Variables

    ADOBE FRAMEMAKER 10 MIF Reference Inserting the reference point The final step in creating a cross-reference is to insert an statement at the position in text where the cross- XRef reference should appear. The statement provides the name of the cross-reference format (defined in...
  • Page 44: Using System Variables

    ADOBE FRAMEMAKER 10 MIF Reference Within a FrameMaker document, you insert and define variables by choosing Variable from the Special menu. The variable appears in the document text where it is inserted. In a MIF file, you define and insert variables as follows: •...
  • Page 45: Creating Conditional Text

    ADOBE FRAMEMAKER 10 MIF Reference > # end of Variable <String `pages.'> > # end of ParaLine > # end of Para string must match the name of a variable format defined in the statement. VariableName VariableFormats Variables are subject to the following restrictions: •...
  • Page 46 ADOBE FRAMEMAKER 10 MIF Reference # Unconditional text <Conditional # Begin conditional text <InCondition `Winter'> # Specifies condition tag > # end of Conditional <String `warm and soft sweaters'> # Conditional text <Conditional # Begin conditional text <InCondition `Summer'> # Specifies condition tag >...
  • Page 47 ADOBE FRAMEMAKER 10 MIF Reference How FrameMaker writes a conditional document If you are converting a MIF file that was generated by FrameMaker, you need to understand how FrameMaker writes a file that contains hidden conditional text. When FrameMaker writes a MIF file, it places all hidden conditional text in a text flow with the tag name...
  • Page 48: Creating Filters

    ADOBE FRAMEMAKER 10 MIF Reference # This marker shows the end of hidden text. It must # match the marker that begins with a minus sign (-). <MText `=88793'> <MCurrPage 0> > # end of Marker > > # end of Para >...
  • Page 49: Including Template Files

    ADOBE FRAMEMAKER 10 MIF Reference <AttributeValue `val4'> > # end of DefAttrValues > # end of DefAttrValuesCatalog The following statements create a catalog of attributes without values: <DefAttrValuesCatalog > # end of DefAttrValuesCatalog Including template files When you write an application, such as a filter or a database publishing application, to generate a MIF file, you have two ways to include all formatting information in the file: •...
  • Page 50 ADOBE FRAMEMAKER 10 MIF Reference <PenWidth 1.0 pt> <ObColor `Black'> <DashedPattern <DashedStyle Solid> > # end of DashedPattern <ShapeRect 1.0" 1.0" 6.5" 9.0"> <TRNext 0> > # end of TextRect > # end of Page The ID for the on this body page is 7. Remember this ID number. If there is more than one...
  • Page 51: Setting View Only Document Options

    ADOBE FRAMEMAKER 10 MIF Reference Setting View Only document options You can use MIF statements to control the display of View Only documents. A View Only document is a locked FrameMaker hypertext document that a user can open, read, and print but not edit. You can use MIF statements to control the appearance and behavior of the document window and to control the behavior of cross-references in locked documents.
  • Page 52: Applications Of Mif

    ADOBE FRAMEMAKER 10 MIF Reference You can use MIF statements to turn off active cross-references and to change the type of hypertext link that the cross- reference emulates. (By default, cross-references emulate the behavior.) gotolink • To make cross-references emulate the...
  • Page 53 ADOBE FRAMEMAKER 10 MIF Reference • Share files with earlier versions of FrameMaker • Perform custom document processing • Write import and export filters for FrameMaker documents • Perform database publishing Sharing files with earlier versions FrameMaker automatically opens documents created with an earlier version of FrameMaker (2.0 or higher).
  • Page 54: Database Publishing

    ADOBE FRAMEMAKER 10 MIF Reference Output filters You can write output filters that convert a MIF file to any format you want. While you should be familiar with all MIF statements to determine which ones you need to translate a FrameMaker document, your output filter doesn’t need to convert all the possible MIF statements.
  • Page 55: Debugging Mif Files

    ADOBE FRAMEMAKER 10 MIF Reference • Optional control programs allow you to tightly integrate the database and FrameMaker. Some database publishing applications are controlled entirely from the database system or through hypertext commands embedded in a FrameMaker document. More complicated applications may require an external control program, such as a C program that issues queries and selects a FrameMaker document template.
  • Page 56: Other Application Tools

    ADOBE FRAMEMAKER 10 MIF Reference Here are some additional tips for debugging MIF files: • Use the statement to generate comments. To debug a specific section of a MIF file, you can precede the Verbose section with the statement and end the section with the statement.
  • Page 57: Chapter 3: Mif Document Statements

    MIF file layout The following table lists the main statements in a MIF document file in the order that Adobe® FrameMaker® writes them. You must follow the same order that FrameMaker uses, with the exception of the macro statements and control statements, which can appear anywhere at the top level of a file.
  • Page 58 ADOBE FRAMEMAKER 10 MIF Reference Statement Description Describes character formats. The statement contains statements FontCatalog FontCatalog Font that define the properties and tag for each character format. Describes ruling styles for tables. The statement contains RulingCatalog RulingCatalog Ruling statements that define the properties for each ruling style.
  • Page 59: Miffile Statement

    ADOBE FRAMEMAKER 10 MIF Reference MIFFile statement statement identifies the file as a MIF file. The statement is required and must be the first line MIFFile MIFFile of the file with no leading white space. Syntax version comment (Required) Identifies a MIF file <MIFFile...
  • Page 60: Comment Statement

    ADOBE FRAMEMAKER 10 MIF Reference Syntax Default units for font size and line spacing <CharUnits keyword > keyword can be one of: CUpt Verbose statement statement turns on a debugging mode for MIF. It can appear anywhere at the top level or within any Verbose statement.
  • Page 61: Macro Statements

    ADOBE FRAMEMAKER 10 MIF Reference Macro statements MIF has two statements that allow you to define macros and include information from other files. Although these statements usually appear near the beginning of a MIF file, you need not put them in that position. However, the MIF interpreter does not interpret a macro that occurs before its definition.
  • Page 62: Track Edited Text

    ADOBE FRAMEMAKER 10 MIF Reference In general, you would use an statement to read a header file containing statements that a filter include define needs to translate a file. Isolate the data in a header file to simplify the process of changing important mappings. You can also use an statement to read in a template file containing formatting information.
  • Page 63 ADOBE FRAMEMAKER 10 MIF Reference ConditionCatalog statement statement defines the contents of the Condition Catalog. A MIF file can have only one ConditionCatalog statement, which must appear at the top level in the order given in “MIF file layout” on page...
  • Page 64: Boolean Expressions

    ADOBE FRAMEMAKER 10 MIF Reference Syntax Begin conditional text <Conditional Specifies condition tag from Condition Catalog <InCondition tagstring> Additional statements as needed <InCondition tagstring> … End of Conditional statement > Returns to unconditional state <Unconditional> System generated colors FrameMaker will automatically generate new colors when multiple tags are applied on text. The...
  • Page 65: Filter By Attribute

    ADOBE FRAMEMAKER 10 MIF Reference Boolean expression used for show/hide evaluation of conditional <BoolCondExpr string> text. ( , and are the operators and condition tags are operands within a quoted string) For example, “ Comment” OR “Tag1” Indicates whether the evaluation of showing or hiding conditional <BoolCondState string>...
  • Page 66: Paragraph Formats

    ADOBE FRAMEMAKER 10 MIF Reference AttrCondExprCatalog statement statement is used to define the contents of the Attribute Expression catalog. A MIF file AttrCondExprCatalog can contain one statement only. AttrCondExprCatalog Syntax <AttrCondExprCatalog Defines a filter <AttrCondExpr..> Additional filters, as required. <AttrCondExpr..>...
  • Page 67 ADOBE FRAMEMAKER 10 MIF Reference Usage If you don’t include a statement, the MIF interpreter uses the paragraph formats defined in PgfCatalog NewTem- . (For information on defaults specified in templates, see page 3.) If you include , paragraph plate PgfCatalog formats in the MIF file replace default formats.
  • Page 68 ADOBE FRAMEMAKER 10 MIF Reference Number of tabs in a paragraph <PgfNumTabs integer> The statement is not required for input files; the MIF interpreter calcu- lates the number of tabs. If it does appear, it must appear before any TabStop statements;...
  • Page 69 ADOBE FRAMEMAKER 10 MIF Reference Numbering properties turns on autonumbering <PgfAutoNum boolean> Autonumber formatting string <PgfNumFormat string> Tag from Character Catalog <PgfNumberFont tagstring> places number at end of line, instead of beginning <PgfNumAtEnd boolean> Advanced properties turns on automatic hyphenation <PgfHyphenate boolean>...
  • Page 70 ADOBE FRAMEMAKER 10 MIF Reference Used for structured documents only <PgfTopSepAtIndent boolean> Used for structured documents only <PgfTopSepOffset dimension> Name of reference frame (from reference page) to put below paragraph <PgfBotSeparator string> Used for structured documents only <PgfBotSepAtIndent boolean> Used for structured documents only <PgfBotSepOffset dimension>...
  • Page 71: Character Formats

    ADOBE FRAMEMAKER 10 MIF Reference Locked paragraphs and text insets statement does not correspond to any setting in the Paragraph Designer. The statement is used for PgfLocked text insets that retain formatting information from the source document. If the statement appears in a specific paragraph, that paragraph is part of a text inset that retains <PgfLocked Yes>...
  • Page 72 ADOBE FRAMEMAKER 10 MIF Reference Name of weight, such as Bold <FWeight string> Name of variation, such as <FVar string> Narrow Name of font when sent to PostScript printer (see “Font name” on page <FPostScriptName string> Platform-specific font name, only read by the Windows version (see page 70) <FPlatformName string>...
  • Page 73 ADOBE FRAMEMAKER 10 MIF Reference Turns on underlining and specifies underlining style <FUnderlining keyword> can be one of: keyword FNoUnderlining FSingle FDouble FNumeric Turns on overline style <FOverline boolean> Turns on strikethrough style <FStrike boolean> Turns on the change bar <FChangeBar boolean>...
  • Page 74 ADOBE FRAMEMAKER 10 MIF Reference When the MIF interpreter reads a statement, it continues using the character format properties until it either Font reads another statement or reads the end of the statement. You can set the character format back to its...
  • Page 75: Tables

    ADOBE FRAMEMAKER 10 MIF Reference This statement takes precedence over all other font attributes. For example, if the document includes a font with , but that font family is not available on the user’s system, then the text will <FEncoding `JISX0208.ShiftJIS’>...
  • Page 76 ADOBE FRAMEMAKER 10 MIF Reference TblFormat statement statement defines the format of a table. A statement must appear in a or in TblFormat TblFormat TblCatalog statement. A statement contains property substatements that define a table’s properties. Table TblFormat property statements can appear in any order.
  • Page 77 ADOBE FRAMEMAKER 10 MIF Reference Autonumber paragraphs in cells; numbers down each column and <TblNumByColumn boolean> numbers across each row Ruling properties Ruling style for most columns; value must match a ruling style name specified <TblColumnRuling tagstring> in the RulingCatalog...
  • Page 78 ADOBE FRAMEMAKER 10 MIF Reference Column properties Not generated by FrameMaker, but can be used by filters to determine table <TblWidth dimension> width Each table must have at least one statement; a column without a <TblColumn TblColumn statement uses the format of the rightmost column Column number;...
  • Page 79 ADOBE FRAMEMAKER 10 MIF Reference End of TblFormat statement > Usage The basic properties, ruling properties, and shading properties correspond to settings in the Table Designer. The value specified in any ruling substatement (such as ) must match a ruling tag defined...
  • Page 80 ADOBE FRAMEMAKER 10 MIF Reference Each statement is tied to a location in a text flow by the ID number in a statement. Each statement TblID has an associated statement within a statement that inserts the table in the flow. The...
  • Page 81 ADOBE FRAMEMAKER 10 MIF Reference Table body rows <TblBody See “Row statement, ” next <Row…> Additional statements as needed <Row…> … End of TblBody statement > Table footing rows; omit if no table footing <TblF See “Row statement, ” next <Row…>...
  • Page 82 ADOBE FRAMEMAKER 10 MIF Reference … End of statement > Usage Each statement contains a statement for each column in the table, even if a straddle hides a cell. Extra Cell Cell statements are ignored; too few statements result in empty cells in the rightmost columns of the row.
  • Page 83 ADOBE FRAMEMAKER 10 MIF Reference End of Cell statement > Usage You can use the Rotate command on the Graphics menu to change the , but it does not affect the location CellAngle of cell margins. affects only the orientation and alignment of the text flow. When...
  • Page 84 ADOBE FRAMEMAKER 10 MIF Reference Column 1 has a fixed-width value of 1": <TblColumnWidth 1"> Column 2 has a proportional value of 2: <TblColumnWidthP 2> Column 3 has a proportional value of 1: <TblColumnWidthP 1> Column 4 has a proportional value of 1: <TblColumnWidthP 1>...
  • Page 85: Color

    ADOBE FRAMEMAKER 10 MIF Reference Color You can assign colors to text and objects in a FrameMaker document. A FrameMaker document has a set of default colors; you can also define your own colors and store them in the document’s Color Catalog. A FrameMaker document has three color models you can use to create colors: CMYK, RGB, and HLS.
  • Page 86 ADOBE FRAMEMAKER 10 MIF Reference Percentage of cyan ( – <ColorCyan percentage> Percentage of magenta ( – <ColorMagenta percentage> Percentage of yellow ( – <ColorYellow percentage> Percentage of black ( – <ColorBlack percentage> Color library name <ColorLibraryFamilyName string> Specifies name of the color library pigment. Older versions of MIF that <ColorLibraryInkName string>...
  • Page 87: Variables

    ADOBE FRAMEMAKER 10 MIF Reference Views statement statement contains the color views for the document. A document can have only one statement, Views Views which must appear at the top level in the order given in “MIF file layout” on page Syntax <Views...
  • Page 88: Cross-References

    ADOBE FRAMEMAKER 10 MIF Reference Syntax <VariableFormats <VariableFormat Name of variable <VariableName tagstring> Variable definition <VariableDef string> End of VariableFormat statement > Additional statements as needed <VariableFormat…> … End of statement VariableFormats > Usage contains the name of the variable, used later in the MIF file by...
  • Page 89: Global Document Properties

    ADOBE FRAMEMAKER 10 MIF Reference Cross-reference name <XRefName string> Cross-reference definition <XRefDef string> End of statement XRefFormat > More cross-reference definitions as needed <XRefFormat…> … End of XRefFormats statement > Usage supplies the cross-reference format name, which is used later by the...
  • Page 90 ADOBE FRAMEMAKER 10 MIF Reference PDF Document Info For versions 6.0 and later, FrameMaker stores PDF File Info in the document file. FrameMaker automatically supplies values for Creator, Creation Date and Metadata Date; these Document Info fields do not appear in MIF statements for PDF Document Info.
  • Page 91 ADOBE FRAMEMAKER 10 MIF Reference Position and size of document window based on position and size of <DViewRect X Y W H> the document region within containing window; takes DViewRect precedence over DWindowRect Position and size of document window based on the containing <DWindowRect X Y W H...
  • Page 92 ADOBE FRAMEMAKER 10 MIF Reference if Freeze Pagination is on <DFrozenPages boolean> Document format properties Use curved left and right quotation marks <DSmartQuotesOn boolean> Prevents entry of multiple spaces <DSmartSpacesOn boolean> OK to break lines at these characters <DLinebreakChars string>...
  • Page 93 ADOBE FRAMEMAKER 10 MIF Reference Suffix after document footnote number in text <DFNoteAnchorSuffix string> Prefix before number in document footnote <DFNoteNumberPrefix string> Suffix after number in document footnote <DFNoteNumberSuffix string> Table footnote properties Same meaning for the following statements as the corresponding <DTblFNoteTag string>...
  • Page 94 ADOBE FRAMEMAKER 10 MIF Reference Specifies how FrameMaker displays consecutive pages <DPageScrolling keyword> can be one of: keyword Variable Horizontal Vertical Facing Specifies current color view ( <DCurrentView integer> View Only document properties specifies View Only document (locked) <DViewOnly boolean>...
  • Page 95 ADOBE FRAMEMAKER 10 MIF Reference When printing to a PostScript file, generates postscript opti- <DTrapwiseCompatibility boolean> mized for use with the TrapWise application skips blank pages when printing <DPrintSkipBlankPages boolean> Superscripts and subscripts Scaling factor for superscripts expressed as percentage of the current <DSuperscriptSize percent>...
  • Page 96 ADOBE FRAMEMAKER 10 MIF Reference means the document has a custom table formats list <CustomTblFlag boolean> Signifies the start of the custom character tag list in the document <DCustomFontList ...> This tag is present in the document only when you have created a custom character tag list in the document.
  • Page 97 ADOBE FRAMEMAKER 10 MIF Reference > End of WEBDAV Document statement Miscellaneous properties Type number of the marker used to represent a delete mark <DMagicMarker integer> <Document Document properties <DNextUnique ID> Refers to the next object with a <Unique ID>...
  • Page 98 ADOBE FRAMEMAKER 10 MIF Reference <VolNumComputeMethod keyword> Volume numbering can be one of: keyword (restart numbering) StartNumbering ContinueNumbering (continue numbering from previous document in book) UseSameNumbering (use the same numbering as previous docu- ment in book) Chapter numbering <ChapterNumStart integer>...
  • Page 99 ADOBE FRAMEMAKER 10 MIF Reference Section numbering <SectionNumComputeMethod keyword> can be one of: keyword (restart numbering) StartNumbering ContinueNumbering (continue numbering from previous component) UseSameNumbering (use the same numbering as previous component) (use numbering set for the component’s docu- ReadFromFile ment)
  • Page 100 ADOBE FRAMEMAKER 10 MIF Reference <DPagePointStyle keyword> Point page number style can be one of: keyword Arabic UCRoman LCRoman UCAlpha LCAlpha <DStartPage integer> Starting page number <ContPageNum boolean> means continue page numbering from the previous document in the book Pagination <DTwoSides boolean>...
  • Page 101 ADOBE FRAMEMAKER 10 MIF Reference <DFNoteNumStyle keyword> Document footnote numbering style can be one of: keyword Arabic UCRoman LCRoman UCAlpha LCAlpha ZenLCAlpha ZenUCAlpha KanjiNumeric KanjiKazu BusinessKazu Custom <DFNoteLabels string> Characters to use in custom document footnote numbers <DFNoteComputeMethod keyword> Footnote numbering...
  • Page 102 ADOBE FRAMEMAKER 10 MIF Reference <DChBarGap dimension> Change bar distance from column <DChBarWidth dimension> Thickness of change bar <DChBarPosition keyword> Position of change bar keyword can be one of: LeftOfCol RightOfCol NearestEdge FurthestEdge <DChBarColor tagstring> Change bar color (see “ColorCatalog statement” on page <DAutoChBars boolean>...
  • Page 103 ADOBE FRAMEMAKER 10 MIF Reference <DViewOnlyNoOp 0xnnn> Disables a command in a View Only document; command is specified by hex function code (see page 47) <DViewOnlyWinBorders boolean> suppresses display of scroll bars and border buttons in document window of View Only document <DViewOnlyWinMenubar boolean>...
  • Page 104 ADOBE FRAMEMAKER 10 MIF Reference Reference properties <DUpdateXRefsOnOpen boolean> specifies that cross-references are automatically updated when the document is opened <DUpdateTextInsetsOnOpen specifies that text insets are automatically updated when the boolean> document is opened PDF preferences <DAcrobatBookmarksIncludeTagNames boolean> specifies that each PDF Bookmark title begins with the name of the paragraph tag <DGenerateAcrobatInfo boolean>...
  • Page 105 ADOBE FRAMEMAKER 10 MIF Reference A number for the page height — to use this setting, DPDFPage- <DPDFPageWidth number> must be set to SizeSet A string specifying which registration marks to use. Can be one of <DPDFRegMarks ‘string’> , or —...
  • Page 106 ADOBE FRAMEMAKER 10 MIF Reference <encoded> XMP information as encoded data which is generated by FrameMaker. This information corresponds to the values set in the File Info dialog box. For any document, there can be an arbitrary number of XMP statements.
  • Page 107 ADOBE FRAMEMAKER 10 MIF Reference Tags to include in the generated file <DeriveTag tagstring> automatically creates hypertext links in generated files <DeriveLinks boolean> End of statement > BookComponent InitialAutoNums statement statement controls the starting values for autonumber series in a document. A MIF file can...
  • Page 108 ADOBE FRAMEMAKER 10 MIF Reference Pages Pages in a MIF file are defined by a statement. A FrameMaker document can have four types of pages: Page • Body pages contain the document’s text and graphics. • Master pages control the appearance of body pages.
  • Page 109: Graphic Objects And Graphic Frames

    ADOBE FRAMEMAKER 10 MIF Reference Left header string <HeaderL string> Center header string <HeaderC string> Right header string <HeaderR string> Left footer string <FooterL string> Center footer string <FooterC string> Right footer string <FooterR string> Header/footer margins <HFMargins L T R B>...
  • Page 110 ADOBE FRAMEMAKER 10 MIF Reference • Math equations • Groups • Imported graphic images, such as xwd, TIFF, bitmap images, or vector images In a MIF file, graphic objects are defined by statements. refers to any MIF statement that Object...
  • Page 111 ADOBE FRAMEMAKER 10 MIF Reference Specifies whether text can flow around the object and, if so, whether the text <RunaroundType keyword> follows the contour of the object or a box shape surrounding the object keyword can be one of: Contour None Space between the object and the text flowing around the object;...
  • Page 112 ADOBE FRAMEMAKER 10 MIF Reference Values for Pen and Fill statements Values for the statements refer to selections in the Tools palette. Graphics can use all the Fill Fill values illustrated below. Ruling lines and table shadings use only the first seven pen/fill values and (none).
  • Page 113 FrameMaker. In Windows versions, edit the file in the directory where FrameMaker is maker.ini installed. See Customizing Adobe FrameMaker for more information. You can also define custom dash patterns. For examples, see “Custom dashed lines” on page 225.
  • Page 114 ADOBE FRAMEMAKER 10 MIF Reference Defines a graphic frame (see “Frame statement” on page 110) <Frame…> Additional statements as needed <Frame…> … End of statement AFrames > Arc statement statement describes an arc. It can appear anywhere at the top level, or in a statement.
  • Page 115 ADOBE FRAMEMAKER 10 MIF Reference Syntax <ArrowStyle Arrowhead tip angle in degrees <TipAngle integer> Arrowhead base angle in degrees <BaseAngle integer> Arrowhead length <Length dimension> Arrowhead type <HeadType keyword> keyword can be one of: Stick Hollow Filled scales head as arrow line gets wider <ScaleHead boolean>...
  • Page 116 ADOBE FRAMEMAKER 10 MIF Reference Whether graphic frame is anchored, and if anchored, the position of the anchored <FrameType keyword> frame keyword can be one of: Below Bottom Inline Left Right Inside Outside Near RunIntoParagraph NotAnchored Name of graphic frame <Tag tagstring>...
  • Page 117 ADOBE FRAMEMAKER 10 MIF Reference Position of anchored frames statement determines whether the graphic frame is anchored to a text column ( ) or a text AnchorBeside Column frame ( TextFrame statement specifies the position of an anchored frame. A graphic frame can be anchored within a FrameType text column or text frame or outside a text column or text frame.
  • Page 118 ADOBE FRAMEMAKER 10 MIF Reference Group statement statement defines a group of graphic objects and allows objects to be nested. The statement must Group Group appear after all the objects that form the group. It can appear at the top level or within a statement.
  • Page 119 ADOBE FRAMEMAKER 10 MIF Reference Poster file’s pathname <PosterFileDI pathname> A poster file is the default image that appears when the movie is not playing. By default, either standard icons or the first frame of the movie is used as its poster image.
  • Page 120 ADOBE FRAMEMAKER 10 MIF Reference Usage statement describes the imported graphic’s position, size, and angle. If the graphic is imported ImportObject by reference, the statement describes the path to the graphic file. If the imported graphic is copied into the document, the statement contains the data describing the graphic.
  • Page 121 ADOBE FRAMEMAKER 10 MIF Reference The following table shows how the structure of the statement differs, depending on how the graphic ImportObject is imported. For an explanation of the facet syntax, see , “Facet Formats for Graphics. ” If the graphic is...
  • Page 122 External XTND filters ‘XTND’ Note that this is not a comprehensive list of codes. Codes may be added to this list by Adobe or by developers at your site. is a code specifying the format that the filter translates. The code is a string of four characters. The format_id following table lists some of the possible codes.
  • Page 123 U3D file format ‘U3D’ Note that this is not a comprehensive list of codes. Codes may be added to this list by Adobe or by developers at your site. is a code specifying the platform on which the filter was run. The code is a string of four characters. The platform following table lists some of the possible codes.
  • Page 124: Math Statement

    ADOBE FRAMEMAKER 10 MIF Reference Importing a U3D file When a U3D file is imported into a FrameMaker document, the filter_id data is rendered as a device independent bitmap (DIB).You can import a U3D file by referencing it from the document or by pasting it into the document. In both cases, the graphic object is made up of two facets—DIB and U3D—that are streamed when the document is...
  • Page 125 ADOBE FRAMEMAKER 10 MIF Reference Type of head cap for lines and arcs <HeadCap keyword> can be one of: keyword ArrowHead Butt Round Square Type of tail cap for lines and arcs <TailCap keyword> keyword can be one of: ArrowHead...
  • Page 126 ADOBE FRAMEMAKER 10 MIF Reference Information common to all objects (see page 105) Generic object statements Position and size of object, before rotation, in page or graphic frame coordinates <ShapeRect L T W H> Radius of corner; 0=square corner <Radius dimension>...
  • Page 127: Text Flows

    ADOBE FRAMEMAKER 10 MIF Reference Information common to all objects (see page 105) Generic object statements Position and size of object, before rotation, in page or graphic frame coordi- <ShapeRect L T W H> nates ID of next text frame in flow <TRNext integer>...
  • Page 128 ADOBE FRAMEMAKER 10 MIF Reference When the MIF interpreter encounters the first statement, it sets up a default text flow environment. The TextFlow default environment consists of the current text frame, current paragraph properties, and current font properties. statement can override all of these defaults.
  • Page 129 ADOBE FRAMEMAKER 10 MIF Reference Notes statement statement defines all of the footnotes that will be used in a table title, cell, or text flow. It can appear at the Notes top level or at the beginning of a , or statement.
  • Page 130 ADOBE FRAMEMAKER 10 MIF Reference End of Para statement > Usage By default, a paragraph uses the current settings (the same settings as its predecessor). Optional PgfTag statements reset the current format. If there is a statement, the MIF interpreter searches the document’s...
  • Page 131 ADOBE FRAMEMAKER 10 MIF Reference Usage A typical statement consists of one or more , and ParaLine String Char ATbl AFrame FNote Variable XRef statements that define the contents of the line of text. These statements are interspersed with statements that Marker indicate the scope of document components such as structure elements and conditional text.
  • Page 132 ADOBE FRAMEMAKER 10 MIF Reference For a list of character codes, see the Quick Reference for your FrameMaker product. Use the statement for a Char small set of predefined special characters. Character name Description Nonbreaking space HardSpace Soft hyphen SoftHyphen...
  • Page 133 ADOBE FRAMEMAKER 10 MIF Reference Syntax <MarkerTypeCatalog Marker name, as it appears in the Marker Type popup menu of the Marker dialog <MTypeName string> box. End of statement >#end of MarkerTypeCatalog MarkerTypeCatalog Marker statement statement inserts a marker. It must appear in a statement.
  • Page 134 ADOBE FRAMEMAKER 10 MIF Reference This number Represents this marker name Conditional Text 11 through 25 Type 11 through Type 25, for versions of FrameMaker earlier than 5.5. If more than 25 markers are defined for the document, all extra markers are assigned the number 25.
  • Page 135: Text Insets (Text Imported By Reference)

    ADOBE FRAMEMAKER 10 MIF Reference Usage statement marks where a cross-reference appears in text. The statement applies a format to the XRef XRefName cross-reference text; its string argument must match the name of the format provided by an statement. XRefFormat statement identifies the cross-reference source.
  • Page 136 ADOBE FRAMEMAKER 10 MIF Reference specifies that the text inset is updated automatically when the <TiAutoUpdate > source file changes Specifies the time when the text inset was last updated; time is measured <TiLastUpdate > in the number of seconds and microseconds that have passed since...
  • Page 137 External XTND filters ‘XTND’ Note that this is not a comprehensive list of codes. Codes may be added to this list by Adobe or by developers at your site. is a code specifying the format that the filter translates. The code is a string of four characters. The format_id following table lists some of the possible codes.
  • Page 138 UTF-32LE ‘TU3L’ Note that this is not a comprehensive list of codes. Codes may be added to this list by Adobe or by developers at your site. is a code specifying the platform on which the filter was run. The code is a string of four characters. The platform following table lists some of the possible codes.
  • Page 139 ADOBE FRAMEMAKER 10 MIF Reference If the FDK client requires additional information, the client can store the information in the TiClientData substatement. For example, if the FDK client queries a database for text, the SQL query can be stored in the TiCli- substatement.
  • Page 140 ADOBE FRAMEMAKER 10 MIF Reference • If the imported text flow retains the formatting of the source document, the paragraph, character, table, variable, and cross-reference formats used in the inset are marked with special MIF statements to indicate that these formats should not be affected by global updates.
  • Page 141 ADOBE FRAMEMAKER 10 MIF Reference If characters are used to indicate the contents of each cell, specifies the <TiTblNumSep num> number of these characters used as a single divider Specifies the number of heading rows in the table <TiTblNumHdrRows num>...
  • Page 142: Chapter 4: Mif Book File Statements

    MIF book file overview The following table lists the main statements in a MIF book file in the order that Adobe® FrameMaker® writes them. You should follow the same order that FrameMaker uses, with the exception of the macro statements and control statements, which can appear anywhere at the top level of a file.
  • Page 143: Mif Book File Identification Line

    ADOBE FRAMEMAKER 10 MIF Reference MIF book file identification line The MIF book file identification line must be the first line of the file with no leading white space. Syntax version comment <Book > # argument indicates the version number of the MIF language used in the file, and...
  • Page 144 ADOBE FRAMEMAKER 10 MIF Reference A string of up to 255 ASCII characters that represents the name of a Document Info field; in PDF the <Key string> name of a File Info field must be 126 characters or less. Represent non-printable characters via...
  • Page 145 ADOBE FRAMEMAKER 10 MIF Reference The path or URI to the stylesheet that was specified for the XML file, <BXmlStyleSheet string> plus the type parameter specifying the type of stylesheet View only book statements In versions 6.0 and later, a book can be View Only. The following statements indicate whether the book is View Only, and how to display the book window when it is View Only.
  • Page 146 ADOBE FRAMEMAKER 10 MIF Reference <BookComponent <BookComponentType FolderBookComponent> <ComponentTitle 'Folder Name'> <Expanded Yes> <ExcludeComponent No> <ComponentTemplateFilePath 'folder_template.fm'> > # end of BookComponent <BeginFolder> or <BeginGroup> <BookComponent <BookComponentType GeneralBookComponent> > # end of BookComponent for file 1 #There can be multiple BookComponent statements within a BeginFolder and EndFolder statements.
  • Page 147 ADOBE FRAMEMAKER 10 MIF Reference Type of generated file <DeriveType keyword> can be one of: keyword (alphabetic marker list) (alphabetic paragraph list) (index) (author index) (index of markers) (subject index) (index of references) (list of figures) (list of markers) (list of paragraphs)
  • Page 148 ADOBE FRAMEMAKER 10 MIF Reference Style of chapter numbering <ChapterNumStyle keyword> can be one of: keyword Arabic UCRoman LCRoman UCAlpha LCAlpha KanjiNumeric ZenArabic ZenUCAlpha ZenLCAlpha Kanjikazu BusinessKazu Custom When is set to , this is the string to use ChapterNumStyle Custom <ChapterNumText string>...
  • Page 149 ADOBE FRAMEMAKER 10 MIF Reference Style of sub section numbering <SubSectionNumStyle keyword> can be one of: keyword Arabic UCRoman LCRoman UCAlpha LCAlpha KanjiNumeric ZenArabic ZenUCAlpha ZenLCAlpha Kanjikazu BusinessKazu Custom When is set to , this is the string to SubSectionNumStyle Custom <SubSectionNumText string>...
  • Page 150 ADOBE FRAMEMAKER 10 MIF Reference Footnote numbering Starting number for footnote numbering <BFNoteStartNum integer> Style of footnote numbering <BFNoteNumStyle keyword> keyword can be one of: Arabic UCRoman LCRoman UCAlpha LCAlpha KanjiNumeric ZenArabic ZenUCAlpha ZenLCAlpha Kanjikazu BusinessKazu Custom When is set to , this is the string to use <BFNoteLabels string>...
  • Page 151 ADOBE FRAMEMAKER 10 MIF Reference Table footnote numbering; either value causes the component to read <BTblFNoteComputeMethod keyword> the numbering style from its document keyword can be one of: Restart (use numbering style specified in the component) (use numbering style set for the component’s docu-...
  • Page 152 ADOBE FRAMEMAKER 10 MIF Reference BookXRef statement statement defines the cross-reference formats for the book. BookXRef Syntax <BookXRef Cross-reference format definition <XRefDef string > Text for which to search <XRefSrcText string > means the source of the cross-reference is an element from a boolean <XRefSrcIsElem...
  • Page 153: Chapter 5: Mif Statements For Structured Documents And Books

    Chapter 5: MIF Statements for Structured Documents and Books This chapter describes the MIF statements that define structured documents created with Adobe® FrameMaker®. For more information about creating and editing structured documents, see the FrameMaker User Guide. Structural element definitions A structured document is divided into logical units called structural elements.
  • Page 154 ADOBE FRAMEMAKER 10 MIF Reference ElementDef statement statement creates an element definition, which specifies an element’s tag name, content rules, and ElementDef optional format rules. It must appear within an statement. ElementDefCatalog Syntax Begin element definition <ElementDef Element tag name <EDTag tagstring>...
  • Page 155 ADOBE FRAMEMAKER 10 MIF Reference Additional statements as needed <AlsoInsert tagstring> … End of statement EDAlsoInsert > List of the tags of table child elements that are automatically <EDInitialTablePattern string> created when a table is inserted Valid only if EDObject...
  • Page 156: Attribute Definitions

    ADOBE FRAMEMAKER 10 MIF Reference • An optional statement specifies elements that can appear anywhere in the defined element or in EDInclusions its descendents. The general rule specification must follow the conventions for data in a MIF string. If a general rule contains angle brackets ( ), the right angle bracket must be preceded by a backslash in the MIF string.
  • Page 157: Format Rules

    ADOBE FRAMEMAKER 10 MIF Reference means the attribute is required <EDAttrRequired boolean> means the attribute is read-only <EDAttrReadOnly boolean> means the attribute is hidden and will not appear in the Struc- <EDAttrHidden boolean> ture view or in the Edit Attributes dialog box The choices, if the attribute type is <EDAttrChoices...
  • Page 158 ADOBE FRAMEMAKER 10 MIF Reference • EDSuffixRules • EDStartElementRules • EDEndElementRules EDTextFormatRules statement statement defines the formatting properties to be applied to a container, table, table child, EDTextFormatRules or footnote element in different contexts. It must appear in an statement. An...
  • Page 159 ADOBE FRAMEMAKER 10 MIF Reference Syntax Begin prefix rules (any combination of level and context format rules) <EDPrefixRules A level format rule (see “LevelFormatRule statement” on page 156) <LevelFormatRule…> A context format rule (see “ContextFormatRule statement” on page 155) <ContextFormatRule…>...
  • Page 160 ADOBE FRAMEMAKER 10 MIF Reference Additional level format rule statements as needed <LevelFormatRule…> … End of statement > EDStartElementRules EDEndElementRules statement statement defines a special set of format rules to be applied to the last paragraph in a EDEndElementRules parent element. The statement must appear in an statement.
  • Page 161 ADOBE FRAMEMAKER 10 MIF Reference LevelFormatRule statement statement contains statements that specify an element’s formatting on the basis of the level LevelFormatRule to which the element is nested within specific types of ancestor elements. statement contains a statement listing the tags of elements to count...
  • Page 162 ADOBE FRAMEMAKER 10 MIF Reference A statement (such as a FormatTag FmtChangeListTag state- <Formatting statement> ment) that specifies how to change the formatting when the Context statement applies (see “Formatting statements, ” next, for a list of format- ting statements) …...
  • Page 163: Format Change Lists

    ADOBE FRAMEMAKER 10 MIF Reference Formatting statements , and statements can use the following statements to specify an element’s formatting: ElseIf Else boolean if the element is formatted as a text range instead of as a paragraph <IsTextRange > Only text format rules can include this statement.
  • Page 164 ADOBE FRAMEMAKER 10 MIF Reference A format change list can be named or unnamed. A named change list appears in the Format Change List Catalog. Format rule clauses that use a named change list specify its name (or tag). Multiple rule clauses can specify the same named change list.
  • Page 165 ADOBE FRAMEMAKER 10 MIF Reference First line left margin, measured from left side of current text <PgfFIndent dimension> column Change to the first line left margin <PgfFIndentChange dimension> means the first indent is relative to the left indent instead <PgfFIndentRelative boolean>...
  • Page 166 ADOBE FRAMEMAKER 10 MIF Reference Additional statements as needed <TabStop…> … Move all tabs by a specified distance. A format change list can <MoveTabs dimension> have one or more TabStob statements, or a MoveTabs statement. It can’t have both Default font name properties Name of font family <FFamily string>...
  • Page 167 ADOBE FRAMEMAKER 10 MIF Reference Default font style Turns on underlining and specifies underlining style <FUnderlining keyword> keyword can be one of: FNoUnderlining FSingle FDouble FNumeric Turns on overline style <FOverline boolean> Turns on strikethrough style <FStrike boolean> Turns on the change bar <FChangeBar boolean>...
  • Page 168 ADOBE FRAMEMAKER 10 MIF Reference Pagination properties Vertical placement of paragraph in text column <PgfPlacement keyword> keyword can be one of: Anywhere ColumnTop PageTop LPageTop RPageTop Placement of side heads, run-in heads, and paragraphs that <PgfPlacementStyle keyword> straddle text columns...
  • Page 169 ADOBE FRAMEMAKER 10 MIF Reference Language to use for spelling and hyphenation <PgfLanguage keyword> can be one of: keyword NoLanguage USEnglish UKEnglish German SwissGerman French CanadianFrench Spanish Catalan Italian Portuguese Brazilian Danish Dutch Norwegian Nynorsk Finnish Swedish Name of reference frame (from reference page) to put above <PgfTopSeparator string>...
  • Page 170: Elements

    ADOBE FRAMEMAKER 10 MIF Reference Table cell properties Vertical alignment for first paragraph in a cell <PgfCellAlignment keyword> keyword can be one of: Middle Bottom Left cell margin for first paragraph in a cell <PgfCellLMargin dimension> Change to left cell margin for first paragraph in a cell <PgfCellLMarginChange dimension>...
  • Page 171 ADOBE FRAMEMAKER 10 MIF Reference The prefix that identifies the namespace <ENamespacePrefix string> The system path or URI to the DTD or schema that defines the namespace <ENamespacePath string> Additional pairs of prefix and path statements as needed … End of...
  • Page 172: Filter By Attribute

    ADOBE FRAMEMAKER 10 MIF Reference <SpecialCase No > > # end of ElementBegin <ElementBegin <ETag `Item'> <Collapsed No > <SpecialCase No > > # end of ElementBegin <String `Light rail provides transportation for those who '> > <ParaLine <String `are unable to drive or cannot afford an automobile.'>...
  • Page 173: Xml Data For Structured Documents

    ADOBE FRAMEMAKER 10 MIF Reference defines the contents of the filters catalog defined for a structured document. A MIF file AttrCondExprCatalog can have only one statement. AttrCondExprCatalog XML data for structured documents Document and book statements In versions 7.0 and later, FrameMaker supports XML import and export. The following statements store information necessary to properly save a document or book as XML.
  • Page 174: Preference Settings For Structured Documents

    ADOBE FRAMEMAKER 10 MIF Reference Preference settings for structured documents Document statement In addition to document preferences for standard FrameMaker documents (see “Document statement” on page 84), the MIF statement describes preferences for structured FrameMaker documents. Document Syntax See page 84 <Document...
  • Page 175 ADOBE FRAMEMAKER 10 MIF Reference True means inserting an element in a structured document will <DUseInitStructureRecursively bool- allow its child element (or elements) with their hierarchy to be ean> inserted as defined in the EDD The name of the SGML application associated with the document.
  • Page 176 ADOBE FRAMEMAKER 10 MIF Reference Maximum space after allowed in document <PgfSpAfter dimension> Maximum leading allowed in document <PgfLeading dimension> Maximum font size allowed in document <FSize dimension> Maximum character spread allowed in document <FDW dimension> Maximum horizontal position of tab stop <TSX dimension>...
  • Page 177: Text In Structured Documents

    ADOBE FRAMEMAKER 10 MIF Reference Valid values: <DocServerState> • if checked out CheckedOut • if not checked out CheckedIn End of WEBDAV Document statement > End of Document statement > Text in structured documents TextLine statement Text lines cannot contain elements.
  • Page 178 ADOBE FRAMEMAKER 10 MIF Reference Syntax Begin Element Catalog <ElementDefCatalog Element definitions (defined on page 149) <ElementDef…> Additional statements as needed <ElementDef…> … End of statement > ElementDefCatalog Usage The book file inherits the Element Catalog from the document used to generate the book file or from a document given as the source for the Import>Element Definitions command.
  • Page 179 ADOBE FRAMEMAKER 10 MIF Reference When Edit Attributes dialog box appears for new elements <BAttrEditor keyword> can be one of: keyword : never Never Always : always : when it is required WhenRequired means structured FrameMaker inserts initial structure for new <BUseInitStructure boolean>...
  • Page 180 ADOBE FRAMEMAKER 10 MIF Reference Minimum leading allowed in book <PgfLeading dimension> Minimum font size allowed in book <FSize dimension> Minimum character spread allowed in book <FDW dimension> Minimum horizontal position of tab stop <TSX dimension> Minimum left cell margin for first paragraph in a cell <PgfCellLMargin dimension>...
  • Page 181: Mif Messages

    ADOBE FRAMEMAKER 10 MIF Reference MIF Messages Invalid context specification: parameter. There is a syntax error in an statement in an element definition. <EDContextSpec> EDContainerType has an invalid value. statement uses an invalid value. <EDContainerType> EDContainerType ignored for object element definition.
  • Page 182 ADOBE FRAMEMAKER 10 MIF Reference Bad general rule for element definition: Connector (, or | or &) expected. A general rule is invalid. Duplicate definition: only first element definition for tag will be used. Two or more element definitions use the same tag.
  • Page 183: Chapter 6: Mif Equation Statements

    This chapter describes the MIF statements that define equations. Use it as a reference when you write filters for trans- lating documents that include equations. For more information about creating and editing equations, see your Adobe® FrameMaker® user’s manual. Document statement In addition to document preferences (see “Document statement”...
  • Page 184 ADOBE FRAMEMAKER 10 MIF Reference Horizontal spread for medium equations <DMathMediumHoriz integer> Horizontal spread for large equations <DMathLargeHoriz integer> Vertical spread for small equations expressed as a percentage of <DMathSmallVert integer> equation’s point size; negative values decrease space and positive...
  • Page 185 ADOBE FRAMEMAKER 10 MIF Reference Defines new math element <DMathNew Name of math element from reference frame <DMathOpName tagstring> Specifies custom math element type; for a list of types, see the <DMathNewType keyword> chapter on creating equations in your user’s manual...
  • Page 186 ADOBE FRAMEMAKER 10 MIF Reference # Create the math element in the first text line in the frame. <TextLine # Apply a specialized math font to the letter R. <Font <FTag `'> <FFamily `MathematicalPi'> <FVar `Six'> <FWeight `Regular'> > # end of Font <String `R'>...
  • Page 187: Math Statement

    ADOBE FRAMEMAKER 10 MIF Reference > # end of Font <String `sin'> <Font <FTag `'> <FWeight `Regular'> <FPosition FSuperscript > > # end of Font <String `-1 '> > # end of TextLine > # end of Frame > # end of Page When you create the reference frame that specifies the new appearance of the math element, you must give the frame the name of the built-in element as it appears in the Equations palette.
  • Page 188: Mathfullform Statement

    ADOBE FRAMEMAKER 10 MIF Reference Equation size (defined on page 178) <MathSize keyword> can be one of: keyword MathLarge MathMedium MathSmall End of statement Math > Usage Values of the statement specify the coordinates and size of the bounding rectangle before it is rotated.
  • Page 189 ADOBE FRAMEMAKER 10 MIF Reference MathFullForm statement syntax In addition to the mathematical structure of the equation, a statement can contain special instruc- MathFullForm tions for character formatting, manual alignment points, and positioning and spacing values. Expressions have the following syntax:...
  • Page 190 ADOBE FRAMEMAKER 10 MIF Reference Format code Meaning Font family (for example, f"Times"f ) string Display format number (0, 1, 2) integer integer Alignment for vertical lists and matrices (0=center, 1=left, 2=right,3=at equal symbol, 4=left of equal symbol) metric Extra space to left of expression; corresponds to Spacing values in the Position Settings dialog...
  • Page 191 ADOBE FRAMEMAKER 10 MIF Reference Atomic expressions Atomic expressions are expressions that don’t take other expressions as operands. They usually act as operands in more complex expressions. prompt is a placeholder to show an expression’s undefined operands. Of the character formatting specifications, prompt only kerning values affect the appearance of a prompt.
  • Page 192 ADOBE FRAMEMAKER 10 MIF Reference expression can contain one of the letters a through z, one of the letters A through Z, a custom math char element, or one of the character names shown in the following table. Example MathFullForm statement <MathFullForm `char[aleph]'>...
  • Page 193 ADOBE FRAMEMAKER 10 MIF Reference Example MathFullForm statement <MathFullForm `char[omega]'> <MathFullForm `char[Omega]'> <MathFullForm `char[phi]'> <MathFullForm `char[Phi]'> <MathFullForm `char[pi]'> <MathFullForm `char[Pi]'> <MathFullForm `char[pprime]'> <MathFullForm `char[prime]'> <MathFullForm `char[psi]'> <MathFullForm `char[Psi]'> <MathFullForm `char[Re]'> <MathFullForm `char[rho]'> <MathFullForm `char[sigma]'> <MathFullForm `char[Sigma]'> <MathFullForm `char[tau]'> <MathFullForm `char[theta]'>...
  • Page 194 ADOBE FRAMEMAKER 10 MIF Reference Example MathFullForm statement <MathFullForm `char[Xi]'> <MathFullForm `char[zeta]'> Using char for custom math elements expression can contain a custom math element by using the following syntax: char ElementName <MathFullForm `char[(*T" "T*)New]'> where is the name of the reference frame that contains the custom element.
  • Page 195 ADOBE FRAMEMAKER 10 MIF Reference expression places diacritical marks around multiple operands and describes two additional diacritical diacritical marks. The expression describes the same marks that the expression describes, but it diacritical char can take multiple operands. In addition, the...
  • Page 196 ADOBE FRAMEMAKER 10 MIF Reference Example MathFullForm statement <MathFullForm `acot[char[x]]'> acot <MathFullForm `acoth[char[x]]'> acoth <MathFullForm `acsc[char[x]]'> acsc <MathFullForm `acsch[char[x]]'> acsch <MathFullForm `angle[char[x]]'> <MathFullForm `arg[char[x]]'> <MathFullForm `asec[char[x]]'> asec <MathFullForm `asech[char[x]]'> asech <MathFullForm `asin[char[x]]'> asin <MathFullForm `asinh[char[x]]'> asinh <MathFullForm `ast[char[x]]'> <MathFullForm `atan[char[x]]'>...
  • Page 197 ADOBE FRAMEMAKER 10 MIF Reference Example MathFullForm statement <MathFullForm `curl[char[x]]'> <MathFullForm `dagger[char[x]]'> † x   <MathFullForm `dangle[char[x]]'> <MathFullForm `diff[char[x]]'> <MathFullForm `diver[char[x]]'> <MathFullForm `downbrace[char[x]]'> <MathFullForm `exp[char[x]]'> <MathFullForm `exists[char[x]]'> <MathFullForm `fact[char[x]]'> <MathFullForm `floor[char[x]]'> <MathFullForm `forall[char[x]]'> <MathFullForm `id[char[x]]'> <MathFullForm `id[(*i1i*)char[x]]'> <MathFullForm `id[(*i2i*)char[x]]'>...
  • Page 198 ADOBE FRAMEMAKER 10 MIF Reference Example MathFullForm statement <MathFullForm `overline[char[x]]'> <MathFullForm `partial[char[x]]'> <MathFullForm `pm[char[x]]'> <MathFullForm `real[char[x]]'> real <MathFullForm `rparen[char[x]]'> <MathFullForm `rparen[(*i1i*)char[x]]'> <MathFullForm `rparen[(*i2i*)char[x]]'> <MathFullForm `sec[char[x]]'> <MathFullForm `sech[char[x]]'> sech <MathFullForm `semicolon[char[x]]'> <MathFullForm `sgn[char[x]]'> <MathFullForm `sin[char[x]]'> <MathFullForm `sinh[char[x]]'> sinh <MathFullForm `tan[char[x]]'> <MathFullForm `tanh[char[x]]'>...
  • Page 199 ADOBE FRAMEMAKER 10 MIF Reference Example MathFullForm statement   <MathFullForm `bket[char[x],char[x]]'>   <MathFullForm `choice[char[x],char[x]]'> x   <MathFullForm `cmut[char[x],char[x]]'> [ , ] <MathFullForm `cross[char[x],char[x]]'> <MathFullForm `div[char[x],char[x]]'> <MathFullForm `fract[char[x],char[x]]'> <MathFullForm `function[char[x],char[x]]'> x x ( ) <MathFullForm `function[oppartial[char[x]],char[x]]'> ---- - <MathFullForm `function[optotal[char[x]],char[x]]'>...
  • Page 200 ADOBE FRAMEMAKER 10 MIF Reference The following table contains an example of each n-ary operator. Each example shows two operands. Example MathFullForm statement <MathFullForm `atop[char[x],char[x]]'> <MathFullForm `approx[char[x],char[x]]'> <MathFullForm `cap[char[x],char[x]]'> <MathFullForm `cdot[char[x],char[x]]'> <MathFullForm `comma[char[x],char[x]]'> <MathFullForm `cong[char[x],char[x]]'> <MathFullForm `cup[char[x],char[x]]'> <MathFullForm `equal[char[x],char[x]]'> <MathFullForm `equiv[char[x],char[x]]'>...
  • Page 201 ADOBE FRAMEMAKER 10 MIF Reference Example MathFullForm statement <MathFullForm `notin[char[x],char[x]]'> <MathFullForm `notsubset[char[x],char[x]]'> <MathFullForm `oplus[char[x],char[x]]'> <MathFullForm `otimes[char[x],char[x]]'> <MathFullForm `parallel[char[x],char[x]]'> <MathFullForm `perp[char[x],char[x]]'> <MathFullForm `plus[char[x],char[x]]'> <MathFullForm `plus[char[x],minus[char[x]]]'> – <MathFullForm `propto[char[x],char[x]]'> <MathFullForm `rightarrow[char[x],char[x]]'>  <MathFullForm `Rightarrow[char[x],char[x]]'> <MathFullForm `sim[char[x],char[x]]'> <MathFullForm `subset[char[x],char[x]]'> <MathFullForm `subseteq[char[x],char[x]]'> <MathFullForm `supset[char[x],char[x]]'>...
  • Page 202 ADOBE FRAMEMAKER 10 MIF Reference Example MathFullForm statement  <MathFullForm `oint[char[x]]'> <MathFullForm `prod[char[x]]'>  <MathFullForm `sum[char[x]]'> Expressions with range operands have multiple display formats that change how operands are positioned around the symbol. Extended unions and intersections have two display formats. The formats are the same for both expressions;...
  • Page 203 ADOBE FRAMEMAKER 10 MIF Reference Example MathFullForm statement <MathFullForm `oppartial[char[x]]'> <MathFullForm `oppartial[char[x],char[x]]'> <MathFullForm `optotal[char[x]]'> <MathFullForm `optotal[char[x],char[x]]'> <MathFullForm `sqrt[char[x]]'> <MathFullForm `sqrt[char[x],char[x]]'> <MathFullForm `substitution[char[x]]'> <MathFullForm `substitution[char[x],char[x]]'> <MathFullForm `substitution[char[x],char[x],char[x]]'> ---- - ---- - For partial and full differentials (such as ), see page 194.
  • Page 204 ADOBE FRAMEMAKER 10 MIF Reference Example MathFullForm statement <MathFullForm `indexes[2,2,char[x],num[1,"1"],num[2,"2"],num[3,"3"],num[4, "4"]]'> expression defines pre-upper and pre-lower indexes, subscripts, and superscripts. Each position chem: chem can have one expression. The following table shows all possible forms of chem Example MathFullForm statement <MathFullForm `chem[1,0,0,0,char[x],num[1,"1"]]'>...
  • Page 205 ADOBE FRAMEMAKER 10 MIF Reference Example MathFullForm statement <MathFullForm `tensor[4,char[x],num[1,"1"],num[2,"2"],num[3,"3"]]'> <MathFullForm `tensor[3,char[x],num[1,"1"],num[2,"2"],num[3,"3"]]'> Matrices expression defines a matrix. The first operand is the number of rows in the matrix; the second operand matrix is the number of columns. Subsequent operands are expressions representing the elements of the matrix. The elements are listed from left to right and from top to bottom.
  • Page 206 ADOBE FRAMEMAKER 10 MIF Reference # Names the new operator <DMathOpName `MyFunction'> # Specifies the operator type <DMathNewType Function> > # end of DMathNew > # end of DMathCatalog The corresponding statement appears as follows: MathFullForm <MathFullForm `newfunction[(*T"MyFunction"T*)[char[x]]]'> You do not use one of the custom operator expressions to insert a redefined math operator in an equation. Instead, you use the expression for the built-in operator, but force FrameMaker to use the new symbol from the reference page.
  • Page 207: Chapter 7: Mif Asian Text Processing Statements

    MIFEncoding statement for Japanese Adobe® FrameMaker® recognizes two encoding schemes for Japanese; Shift-JIS and EUC. The Windows versions of FrameMaker write Shift-JIS for Japanese text, and the UNIX versions of FrameMaker write out EUC. The MIF can converted between Shift-JIS and EUC using a Japanese text conversion utility. The MIF encoding statement is converted along with the text in the MIF file.
  • Page 208: Combined Fonts

    ADOBE FRAMEMAKER 10 MIF Reference To determine which encoding was used, each MIF file that contains Chinese text must include a MIFEncoding statement near the beginning of the file. It must appear before any Chinese text in the file. The string value in the statement is the Chinese spelling of the word “Chinese”.
  • Page 209 ADOBE FRAMEMAKER 10 MIF Reference Defines a single combined font <CombinedFontDefn The name of the combined font <CombinedFontName string> The name of the Asian component font <CombinedFontBaseFamily string> The name of the Roman component font <CombinedFontWesternFamily string> The size of the Roman component font, <CombinedFontWesternSize percent>...
  • Page 210 ADOBE FRAMEMAKER 10 MIF Reference is a new statement to express the combined font name. The statement expresses the FCombinedFontName FFamily base font’s family name. statements all refer to the base font. The following new statements have FPostScriptName FPlatformName been added to express the corresponding values for the Roman font: •...
  • Page 211: Kumihan Tables

    ADOBE FRAMEMAKER 10 MIF Reference <FWeight `Medium'> <FEncoding `JISX0208.ShiftJIS'> <FLanguage Japanese> <FLocked No> > # end of Font <String ` '> > # end of ParaLine > # end of Para Kumihan Tables Kumihan tables specify line composition rules for Japanese documents. FrameMaker uses standard JIS 4051 Kumihan rules by default.
  • Page 212 ADOBE FRAMEMAKER 10 MIF Reference The 25 numerical values for the BegParentheses statement specify the actions FrameMaker takes when a character from each of the 25 classes, such as an ending parenthesis character, follows a character in the BegParen- class. The position of each numerical value after the BegParentheses statement specifies the class. For...
  • Page 213 ADOBE FRAMEMAKER 10 MIF Reference Syntax <KumihanCatalog Defines a Kumihan table set <Kumihan Additional Kumihan table sets as needed (one for each Asian <Kumihan language - up to four per document) End of KumihanCatalog statement > Kumihan statement statement defines a set of Kumihan tables. A document can have one set of tables for each of the four Kumihan supported Asian languages.
  • Page 214 ADOBE FRAMEMAKER 10 MIF Reference MIF Statement Column Description Position The characters to use as opening parentheses <BegParentheses chars> The characters to use as ending parentheses <EndParentheses chars> Characters that cannot start a new line of text <NoLineBeginChar chars> Characters for questions and exclamations <QuestionBang chars>...
  • Page 215 ADOBE FRAMEMAKER 10 MIF Reference Usage Assigning characters to a class identifies them in the succeeding tables so the various typographical rules can be specified for each class of character. Any character that is not assigned to a class is automatically assigned to the class.
  • Page 216 ADOBE FRAMEMAKER 10 MIF Reference Usage statements include 25 numerical values, one for each character SqueezeHorizontal SqueezeVertical class. The values are separated by a space. An example of a squeeze table statement is: <SqueezeTable <SqueezeHorizontal 1 1 2 0 0 3 2 0 0 0 0 0 0 0 5 0 0 0 1 2 0 0 0 0 0 <SqueezeVertical...
  • Page 217 ADOBE FRAMEMAKER 10 MIF Reference <BaseCharWithSuper numerals> <BaseCharWithRubi numerals> <Numeral numerals> <UnitSymbol numerals> <RomanSpace numerals> <RomanChar numerals> <ParenBeginWariChu numerals> <ParenEndWariChu numerals> <Spare1 numerals> <Spare2 numerals> <Spare3 numerals> <Spare4 numerals> <Spare5 numerals> End of statement SpreadTable > The possible values for...
  • Page 218 ADOBE FRAMEMAKER 10 MIF Reference Usage Each statement row in the spread table includes 26 numerical values, one for each character class, and an added value for the characters at the beginning or the end of a line. The values are separated by a space. An example of a spread table is: <SpreadTable...
  • Page 219 ADOBE FRAMEMAKER 10 MIF Reference <Hiragana numerals> <Others> <BaseCharWithSuper numerals> <BaseCharWithRubi numerals> <Numeral numerals> <UnitSymbol numerals> <RomanSpace numerals> <RomanChar numerals> <ParenBeginWariChu numerals> <ParenEndWariChu numerals> <Spare1 numerals> <Spare2 numerals> <Spare3 numerals> <Spare4 numerals> <Spare5 numerals> End of LineBreakTable statement > The possible values for...
  • Page 220 ADOBE FRAMEMAKER 10 MIF Reference In the preceding example, a line break can occur between a character in the class and a character EndParentheses in the class because the value (Line break is allowed) is in the seventh position, which is the...
  • Page 221: Rubi Text

    ADOBE FRAMEMAKER 10 MIF Reference <Spare3 numerals> <Spare4 numerals> <Spare5 numerals> End of statement > ExtraSpaceTable The possible values for numerals are: 0 - Extra space is allowed Extra space is not allowed Add extra space to the last character of a Roman word...
  • Page 222 ADOBE FRAMEMAKER 10 MIF Reference Document statement In addition to document preferences (see “Document statement” on page 84), the MIF statement Document describes standard formats for rubi text. The rubi formatting substatements correspond to settings in the Rubi Properties dialog box.
  • Page 223 ADOBE FRAMEMAKER 10 MIF Reference <DNarrowSpaceForJapanese Proportional> <DWideSpaceForOther Narrow> <DNarrowSpaceForOther Narrow> . . . > # end of Document RubiCompositeBegin statement statement is always matched with a statement. Between them are RubiCompositeBegin RubiCompositeEnd the contents of the rubi composite; the oyamoji and the rubi text. A rubi composite can occur anywhere in a statement.
  • Page 224 ADOBE FRAMEMAKER 10 MIF Reference <ETag ‘RubiGroup’> <Attributes #. . Typical MIF to define attributes > # end of Attributes <Collapsed No> <SpecialCase No> <AttributeDisplay AllAttributes> > # end of Element > # end of RubiCompositeBegin <String ‘Oyamoji text’> <RubiTextBegin <Element...
  • Page 225: Chapter 8: 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 Adobe® 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.
  • Page 226: Bar Chart Example

    ADOBE FRAMEMAKER 10 MIF Reference # One <ParaLine> statement for each line in the paragraph. # Line breaks don’t matter; the MIF interpreter adjusts line # breaks when the file is opened or imported. <ParaLine <String `MIF (Maker Interchange format) is a group of '>...
  • Page 227 ADOBE FRAMEMAKER 10 MIF Reference To draw the bar chart, you open or import the MIF file in FrameMaker. Normally, you would create an anchored frame in a document, select the frame, and then import this file. The MIF statements to describe the bar chart can be created by a database publishing application that uses the values in a database to determine the size of the bars.
  • Page 228 ADOBE FRAMEMAKER 10 MIF Reference # Axes for the chart. <PolyLine <GroupID 1> <Fill 15> <NumPoints 3> <Point 0.60" 0.08"> <Point 0.60" 2.35"> <Point 3.10" 2.35"> > # Tick marks along the y axis. <PolyLine <GroupID 1> <NumPoints 2> <Point 0.60"...
  • Page 229: Pie Chart Example

    ADOBE FRAMEMAKER 10 MIF Reference # Now draw all the black bars, since they have the same fill. # Set the fill for the first bar; the others inherit the fill # pattern. <Rectangle <GroupID 1> <Fill 1> <ShapeRect 1.10" 1.97" 0.13" 0.38">...
  • Page 230: Custom Dashed Lines

    ADOBE FRAMEMAKER 10 MIF Reference <PenWidth .5> <Fill 0> # Draw the black arc. # All arcs are part of the same circle, so they have the same # ArcRect. # All objects in the chart are grouped, so they have the same # Group ID.
  • Page 231 ADOBE FRAMEMAKER 10 MIF Reference <PolyLine <DashedPattern <DashedStyle Dashed> <NumSegments 2> <DashSegment 0.5pt> <DashSegment 20pt> > # end of DashedPattern # The polyline inherits round head caps and tail caps from # the previous PolyLine statement. <NumPoints 2> <Point 1.0" 2">...
  • Page 232: Table Examples

    ADOBE FRAMEMAKER 10 MIF Reference # from the previous PolyLine statement. <PenWidth 1pt> <NumPoints 2> <Point 1.0" 5"> <Point 7.5" 5"> > # end PolyLine When you’ve defined a custom dashed line style in one FrameMaker document, you can easily copy and paste the custom style into another document by pressing Shift and choosing Pick Up Object Properties from the Graphics menu.
  • Page 233 ADOBE FRAMEMAKER 10 MIF Reference <TblColumn <TblColumnNum 1> # Make 2nd column 1 inch wide. This establishes a minimum # width for the columns. <TblColumnWidth 1"> > <TblColumn <TblColumnNum 2> # Shrink-wrap the third column to the width of its heading # cell.
  • Page 234 ADOBE FRAMEMAKER 10 MIF Reference <Cell <CellContent <Para <PgfTag `CellBody'> # Forces lookup in Paragraph Catalog. <ParaLine <String `$24.00'>>>> > # end of Cell <Cell <CellContent <Para <PgfTag `CellBody'> # Forces lookup in Paragraph Catalog. <ParaLine <String `-3.50'>>>> > # end of Cell >...
  • Page 235: Database Publishing

    ADOBE FRAMEMAKER 10 MIF Reference <VariableFormat <VariableName `91 Revenue'> <VariableDef `3,145,365'> >> When you import the MIF file into the document that contains the table, FrameMaker updates the variables in the table. Database publishing This database publishing example shows how to use the data storage and manipulation capabilities of a database and the formatting capabilities of FrameMaker through MIF.
  • Page 236 ADOBE FRAMEMAKER 10 MIF Reference When the sales representative clicks Publish, a database procedure scans the database, retrieves the requested infor- mation, and writes a MIF file that contains all of the information in a fully formatted document. The final document looks like this: The data from the database is published as a FrameMaker table.
  • Page 237 ADOBE FRAMEMAKER 10 MIF Reference The code for the procedure that extracts information from the database and outputs the MIF strings is shown in this appendix. This procedure is written in the ACIUS 4th DIMENSION command language. You could use any database query language to perform the same task.
  • Page 238 ADOBE FRAMEMAKER 10 MIF Reference SEND PACKET (vDoc;"<Tbls <Tbl <TblID 2> <TblFormat <TblTag `Format A'>>"+CR) SEND PACKET(vDoc;"<TblNumColumns 5> <TblColumnWidth .6"+DQ+">"+CR) SEND PACKET(vDoc;"<TblColumnWidth 3.25"+DQ+">"+CR) SEND PACKET(vDoc;"<TblColumnWidth .5"+DQ+">"+CR) SEND PACKET(vDoc;"<TblColumnWidth 1.7"+DQ+">"+CR) SEND PACKET(vDoc;"<TblColumnWidth 1.0"+DQ+">"+CR) SEND PACKET(vDoc;"<TblTitle"+CR) SEND PACKET(vDoc;"<TblTitleContent"+CR) SEND PACKET(vDoc;"<Para <PgfTag `TableTitle'>"+CR) SEND PACKET(vDoc;"<ParaLine <String `Offerings as of "+String(Current...
  • Page 239 ADOBE FRAMEMAKER 10 MIF Reference `Number'>"+CR) SEND PACKET(vDoc;"<ParaLine <String `"+String([Inventory]Bags;"###")+"'>>>>>"+CR) SEND PACKET(vDoc;"<Cell "+vFill+" <CellContent <Para <PgfTag `Body'>"+CR) SEND PACKET(vDoc;"<ParaLine <String `"+[Inventory]Status+"'>>>>>"+CR) SEND PACKET(vDoc;"<Cell "+vFill+" <CellContent <Para <PgfTag `Number'>"+CR) SEND PACKET(vDoc;"<ParaLine <Conditional <InCondition `Retail'>>"+CR) SEND PACKET(vDoc;"<String `"+String([Inventory]Price per Bag;"$#,###.00")+"'>") SEND PACKET(vDoc;"<Conditional <InCondition `Discount'>>"+CR) SEND PACKET(vDoc;"<String `"+String(vDiscPrice;"$###,###.00")+"'>...
  • Page 240 ADOBE FRAMEMAKER 10 MIF Reference For example, suppose you need to publish a parts catalog. Each part has a name, a description, and a table that gives pricing information. A typical record looks like this: Valve Box Lids Put the part name and...
  • Page 241 ADOBE FRAMEMAKER 10 MIF Reference Creating anchored frames You can extend the technique of writing separate MIF files to handle both tables and graphics. Like table instances, anchored frame instances must appear in the MIF file prior to the statement. If each record contains a...
  • Page 242: Chapter 9: Mif Messages

    LineNum file have been expanded. In addition, if you open the MIF file in Adobe® FrameMaker®, lines are wrapped and the line numbers may change.
  • Page 243 ADOBE FRAMEMAKER 10 MIF Reference This message Means Cannot store inset’s facets. The MIF file contains a graphic inset, but the MIF interpreter can’t store the graphic inset in the document. There might be an error in the MIF syntax, or there might not be enough temporary disk space available.
  • Page 244 ADOBE FRAMEMAKER 10 MIF Reference This message Means String too long (over 255 or 1023 characters); overflow The maximum length for most <UserString> strings is 1023 ignored. characters. The maximum length for all other strings is 255 char- acters. Structured MIF statement ignored.
  • Page 245: Chapter 10: Mif Compatibility

    This section describes changes to MIF syntax between versions 9.0 and 10.0 of FrameMaker. Text background color In FrameMaker 10, you can add a background color for the paragraph and conditional text. In a MIF file, the background color for a paragraph tag is added using the...
  • Page 246: Changes Between Version 6.0 And 7.0

    ADOBE FRAMEMAKER 10 MIF Reference Filter By Attribute Elements in a structured document can have one or more attributes associated with them. Using structured FrameMaker, you can filter a structured document based on the value of these attributes. The Filter by Attribute feature simplifies the task of filtering a structured document for complex output scenarios.
  • Page 247: Changes Between Version 5.5 And 6.0

    XMP job control packets FrameMaker book and document files now store information to support XMP, the Adobe standard for collaboration and electronic job control. MIF stores XMP data in a series of encoded XMP statements that contain the data. You should not try to edit this data manually—FrameMaker generates the encoding when you save a file as MIF.
  • Page 248: Changes Between Version 5 And 5.5

    ADOBE FRAMEMAKER 10 MIF Reference To improve handling of bookmarks hypertext links within and across PDF files, FrameMaker now stores reference data within documents. identifies each paragraph that is marked as a named destination; PgfReferenced Elemen- similarly identified structure elements. If you like, you can specify that the Save As PDF function tReferenced creates a named destination for every paragraph in the document;...
  • Page 249 ADOBE FRAMEMAKER 10 MIF Reference Asian text processing A section has been added to the MIF Reference to describe the new MIF statements that were added for Asian text in a document. See , “MIF Asian Text Processing Statements. ” for more information.
  • Page 250: Changes Between Versions 4 And 5

    ADOBE FRAMEMAKER 10 MIF Reference Text inset statements statements respectively include two new statements, TiText TiTextTable TiTxtEncoding , to specify the text encoding for the source file. Both of these new statements can have one of TiTxtTblEncoding the following keywords:...
  • Page 251 DAcrobatBookmarksIncludeTagNames Document to support the conversion of paragraph tags to bookmarks in Adobe Acrobat. By default, this statement is set to Another new statement , sets print options to the required states for generating Acrobat , DGenerateAcrobatInfo information.
  • Page 252 ADOBE FRAMEMAKER 10 MIF Reference Text frame and text flow statements Version 5 introduces text frames, which are composed of any number of text columns separated by a standard gap. In MIF files, text frames are described by the same statement used in previous versions for text columns, the statement.
  • Page 253: Changes Between Versions 3 And 4

    ADOBE FRAMEMAKER 10 MIF Reference Text inset and data link statements In previous versions, Macintosh versions of FrameMaker allowed you to import text by reference with the Publish and Subscribe mechanism. The MIF statement described text that was published or subscribed.
  • Page 254 ADOBE FRAMEMAKER 10 MIF Reference New statement Action in earlier versions Ignored <Views…> Changes to 3.00 MIF statements This section describes the statements that have changed or that have introduced additional property statements between versions 3 and 4 of FrameMaker. MIF statements that have changed include: •...
  • Page 255 ADOBE FRAMEMAKER 10 MIF Reference This value Corresponds to this color Pale Green <Separation 9> Forest Green <Separation 10> Royal Blue <Separation 11> Mauve <Separation 12> Light Salmon <Separation 13> Olive <Separation 14> Salmon <Separation 15> Version 4 and later versions of FrameMaker read separation statements and convert them to the equivalent color statements.
  • Page 256 ADOBE FRAMEMAKER 10 MIF Reference Object statements The following table lists the changes in graphic object statements (see “Graphic objects and graphic frames” on page 104). MIF 3.00 MIF 4.00 <Angle 0|90|180|270 > <Angle degrees > <BRect> <ShapeRect> Text lines, text frames, imported graphics, table cells, and equations that are rotated at an angle of 90, 180, or 270 degrees retain rotation in earlier versions.
  • Page 257 ADOBE FRAMEMAKER 10 MIF Reference When the MIF interpreter reads a statement that includes both a and a Page PageAngle PageOrientation statement, it ignores the statement. When the interpreter reads a statement that contains a PageOrientation Page statement but no statement, it determines the page’s angle from the...
  • Page 258: Chapter 11: Facet Formats For Graphics

    Chapter 11: Facet Formats for Graphics When you copy a graphic into an Adobe® FrameMaker® document, the FrameMaker document stores the graphic data in one or more facets. Each facet contains data in a specific graphic format. FrameMaker uses facets to display and print graphics.
  • Page 259: Basic Facet Format

    ADOBE FRAMEMAKER 10 MIF Reference If the graphic data does not have a corresponding facet supported by FrameMaker for displaying or printing, FrameMaker can use filters to convert the graphic data into one of two internal facets: FrameImage (for bitmap data) and FrameVector (for vector data).
  • Page 260: Graphic Insets (Unix Versions)

    ADOBE FRAMEMAKER 10 MIF Reference Any section of data represented in hexadecimal is preceded and followed by the characters . For example, the following FrameImage facet contains data represented in hexadecimal, which is enclosed between two sets of characters: =FrameImage &%v...
  • Page 261 ADOBE FRAMEMAKER 10 MIF Reference To set up a live link between a graphic application and a FrameMaker document, you need to add functions to your application to write out graphic data as a graphic inset. A graphic inset consists of an statement that contains one or more facets for display and print.
  • Page 262 ADOBE FRAMEMAKER 10 MIF Reference facet_data & facet_name & data_type facet_data & =EndInset > A MIF ImportObEditor statement names the main editor for application-specific facets in the graphic inset file. A MIF statement specifies the device-independent pathname for the graphic inset file. For more...
  • Page 263 ADOBE FRAMEMAKER 10 MIF Reference statement identifies the file as a FrameMaker version 2.0 internal graphic inset file for compat- ImportObFile ibility with earlier versions of FrameMaker. If you do not plan to use the graphic insets generated by your application with earlier versions of FrameMaker, you can omit this statement.
  • Page 264 ADOBE FRAMEMAKER 10 MIF Reference Remote application-specific facets A remote application-specific facet contains the pathname or database key for an existing data file or database. Since application-specific data is normally duplicated in a separate application file, remote facets conserve file space.
  • Page 265: General Rules For Reading And Writing Facets

    ADOBE FRAMEMAKER 10 MIF Reference Note that although the program writes out the statement, this statement is obsolete and fmbitmap ImportObFile is only used with older versions of FrameMaker. When defining a function to write a graphic inset file, use the statement and specify a device-independent pathname.
  • Page 266: Chapter 12: Epsi Facet Format

    EPSI format from Adobe Systems Incorporated. Imported graphics can contain graphic data in EPSI format. This data is called the EPSI facet of the graphic. Adobe® FrameMaker® can use this facet to display and print the graphic. For more information about facets, see , “Facet Formats for Graphics.
  • Page 267 ADOBE FRAMEMAKER 10 MIF Reference &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%FFFFC0\n &%%EndPreview\n &%%EndProlog\n &%%Page: "one" 1\n &0 0 moveto 18 0 rlineto 0 18 rlineto -18 0 rlineto closepath 0 setgray\n &fill\n...
  • Page 268: Chapter 13: Frameimage Facet Format

    Chapter 13: FrameImage Facet Format FrameImage is a format for bitmap graphics that is recognized by Adobe® FrameMaker® on all platforms. The speci- fication of the FrameImage format is documented in this appendix. Imported graphics can contain graphic data in FrameImage format. This data is called the FrameImage facet of the graphic.
  • Page 269 ADOBE FRAMEMAKER 10 MIF Reference • The first value is always the constant value 0x59a66a95 • The second value is the width of the graphic in pixels. In the preceding example, the graphic is 64 pixels wide (converting the hexadecimal value...
  • Page 270: Color Map

    ADOBE FRAMEMAKER 10 MIF Reference Color map The optional color map defines colors used for the imported graphic. It consists of 256 bytes of red, followed by 256 bytes of green, followed by 256 bytes of blue. Each byte contains an intensity value for a color. FF is the maximum intensity and 00 is the minimum (none).
  • Page 271: Differences Between Monochrome And Color

    ADOBE FRAMEMAKER 10 MIF Reference Differences between monochrome and color There are two types of FrameImage files: monochrome and pseudocolor. Monochrome images A monochrome graphic has the following header properties: Property Value ras_depth ras_maptype RMT_NONE ras_maplength An example of the header for a monochrome graphic is shown below: &59a66a95...
  • Page 272: Sample Unencoded Frameimage Facet

    ADOBE FRAMEMAKER 10 MIF Reference Sample unencoded FrameImage facet The sample FrameImage facet in this section describes the following illustration. Note that no color map is included in the description, because the graphic is in black and white. Header =FrameImage &%v...
  • Page 273: Sample Encoded Frameimage Facet

    ADOBE FRAMEMAKER 10 MIF Reference Sample encoded FrameImage facet The sample FrameImage facet in this section describes the same illustration. Note that no color map is included in the description, because the graphic is in black and white. Unlike the previous file, this graphic file is in encoded format.
  • Page 274 ADOBE FRAMEMAKER 10 MIF Reference &8003FF &00000001 &8003FF &00000001 &8003FF &00000001 &8003FF &00000001 &8003FF &00000001 Graphic data &8003FF &00000001 &8007FF &\x =EndInset...
  • Page 275: Chapter 14: Framevector Facet Format

    Chapter 14: FrameVector Facet Format FrameVector is a format for vector graphics that is recognized by Adobe® FrameMaker® on all platforms. The speci- fication of the FrameVector format is documented in this appendix. Imported graphics can contain graphic data in FrameVector format. This data is called the FrameVector facet of the graphic.
  • Page 276 ADOBE FRAMEMAKER 10 MIF Reference • The style op codes define the styles applied to all operations until the styles are changed. For example, all graphics objects use the same line width, fill pattern, and color until the style op codes change. All styles need to be defined before specifying the first object op code.
  • Page 277 ADOBE FRAMEMAKER 10 MIF Reference Op code Description of op code Location 0x2C Font style page 279 0x2D Font color page 279 0x2E Font weight page 279 0x2F Font angle page 280 0x30 Font variation page 280 0x31 Font horizontal kerning...
  • Page 278 ADOBE FRAMEMAKER 10 MIF Reference Type Definition point 2 metrics interpreted as the position of the point in x and y coordinates rectangle 4 metrics interpreted as the position of the rectangle in x and y coordinates and the size of the rectangle in width and height All integer values are stored in big endian order.
  • Page 279 ADOBE FRAMEMAKER 10 MIF Reference CMYK color definition (0x03) Specification by data type: String, metric, metric, metric, metric Description of data: Name of color tag (string) Percentages of cyan, magenta, yellow, and black (metric, metric, metric, metric) Size of data in bytes:...
  • Page 280 ADOBE FRAMEMAKER 10 MIF Reference Size of data in bytes: Example: FF 00000000 Note: This must be the last op code for a FrameVector graphic. Specifications of style op codes This section describes each style op code. Op codes are listed by number and description. The op code number is shown in parentheses.
  • Page 281 ADOBE FRAMEMAKER 10 MIF Reference Example: 07 0000000C 10 5A 02 00 000C0000 00004000 for an arrow style with the following specifications: tip angle = 16° (10) base angle = 90° (5A) arrow type = filled (02) arrow scaled? = no (00) length = 12 points (000C0000) scale factor = 0.25 (00004000)
  • Page 282 ADOBE FRAMEMAKER 10 MIF Reference Default value: 1 point Example: 23 00000004 00008000 for the line width of 0.5 point Color (0x24) Specification by data type: String Description of data: Name of color tag Size of data in bytes: Variable...
  • Page 283 ADOBE FRAMEMAKER 10 MIF Reference Default value: 3 (square) Example: 27 00000001 00 for arrow style Tail cap style (0x28) Specification by data type: Byte Description of data: Style of tail cap or line end (0:arrow, 1:butt, 2:round, 3:square) Size of data in bytes:...
  • Page 284 ADOBE FRAMEMAKER 10 MIF Reference Size of data in bytes: Default value: default font size Example: 2B 00000004 000C0000 for a 12 point font Font style (0x2C) Specification by data type: Unsigned long Description of data: Described by 14 bits, where bit 0 is the least significant bit:...
  • Page 285 ADOBE FRAMEMAKER 10 MIF Reference Default value: default font weight Example: 2E 00000008 00 08 52 65 67 75 6C 61 72 00 for the font weight Regular Font angle (0x2F) Specification by data type: String Description of data: Name of font angle type (uses the same values as the MIF...
  • Page 286 ADOBE FRAMEMAKER 10 MIF Reference Example: 32 00000004 00008000 for a font kerning of 50% of an em downward (0.50) 32 00000004 FFFF8000 for a font kerning of 50% of an em upward (-0.50) Font word spread value (0x33) Specification by data type:...
  • Page 287 ADOBE FRAMEMAKER 10 MIF Reference Example: 81 00000010 00000003 01320000 002E0000 01100000 007E0000 01680000 007D0000 for a polygon with the following specifications: number of points = 3 x position of point #1 = 306 points (0132) y position of point #1 = 46 points (002E)
  • Page 288 ADOBE FRAMEMAKER 10 MIF Reference Description of data: Radius of corners in points (metric) Position and size of rectangle in points (rectangle) Size of data in bytes: Example: 84 00000014 00120000 007E0000 007E0000 00630000 00240000 for a rounded rectangle with the following specifications:...
  • Page 289 ADOBE FRAMEMAKER 10 MIF Reference Example: 86 00000035 00F20000 00740000 00080000 00080000 00 59A66A95 00000008 00000008 00000001 00000000 00000002 00000000 00000000 80 0E FF for an imported bitmap graphic of a black square with the following specifications: x position = 242 points...
  • Page 290 ADOBE FRAMEMAKER 10 MIF Reference End of text line (0x89) Specification by data type: Description of data: None Size of data in bytes: Example: 89 00000000 Beginning of clipping rectangle (0x8A) Specification by data type: Rectangle Description of data: Position and size of clipping rectangle in points...
  • Page 291: Sample Framevector Facet

    ADOBE FRAMEMAKER 10 MIF Reference Example: 8C 00000046 00670000 004F0000 00130000 003C0000 00 ...(FrameVector data)... for a FrameVector graphic with the following specifications: x position = 103 points (0067) y position = 79 points (004F) width = 19 points (0013)
  • Page 292 ADOBE FRAMEMAKER 10 MIF Reference &2A0000000C00000A\xHelvetica\x00 &2B0000000400090000 &300000000A0008526567756C617200 &2F0000000A0008526567756C617200 &2E0000000A0008526567756C617200 &330000000400008000 &2C0000000400001000 &88000000160014\xFrameVector Graphic\x00 &8900000000 &070000000C10780201000C00000004000 &270000000100 &82000000140000000200720000005500000033000000550000 &22000000010F &270000000103 &850000001800040000002B0000002F0000002C0000005A0000005A0000 &FF00000000 &\x =EndInset The following sections explain the syntax used to describe this facet. Definition op codes for the FrameVector graphic The example begins with the ASCII string .
  • Page 293 ADOBE FRAMEMAKER 10 MIF Reference Specification of the polygon The polygon in this example has the following specifications: • The pen pattern is solid (00). &210000000100 • The fill pattern is white (07). &220000000107 • The polygon has three points.
  • Page 294 ADOBE FRAMEMAKER 10 MIF Reference Specification of the polyline The polyline in this example has the following specifications: • The arrow style has a tip angle of 16 and a base angle of 120 . &070000000C1078 • The arrow style is defined so that the arrow is filled and is scaled as it gets wider. The length of the arrow is 12 points.

Table of Contents