Appendix B Generating Documents Using FrameMaker
© National Instruments Corporation B-7 DocumentIt User Guide
Figure B-2. Title Page Data in fmgp.tpl and controller_logic_gen.mml
Generating an .eps file from SystemBuild1. To place an illustration in your FrameMaker document, you must
insert an anchored frame where you want the figure to appear. Two
anchored frames are inserted into this example so that you can see how
they work. For details on .eps files, refer to the Template
Programming Language User Guide. You can insert an anchored
frame in your document in one of the following ways:
• Using a text editor, insert @include_img( )@ to automatically
import the illustration when you generate the document.
• Using a text editor, you can insert the TPL function
@small_frame( )@ (5 in. ×5 in. frame) or
@large_frame( )@ (7 in. ×5 in. frame) in fmgp.tpl where
you want the figure to appear. You should make these changes to
fmgp.tpl before you generate the document from SystemBuild.
After the document is processed and imported into FrameMaker,
a blank frame is placed in your document in the location you
specified. Refer to your FrameMaker documentation to use the
capture feature to capture and import the figure that you want into
the anchored frame.
• Using a text editor you can insert the MML command <AFrame
<BRect 0 0
h
"
w
">> into the ASCII output file you have just
generated, where the variables
h
and
w
are the height and width of
the frame, respectively. After the document is imported into
FrameMaker, a blank frame is placed in your document in the
<DocTitle>
Software Design Document
<Author>
Author's Name
<Rev>
X.X
<Date>
January 27, 1994
<CoBody>
Company Name
Street Address
City, State ZIP