National Instruments 370769C-01 Table Top Game User Manual


 
Appendix D Generating 2167A Documents Using Interleaf
DocumentIt User Guide D-4 ni.com
Generating the 2167A Document
To generate the sample 2167A document using DocumentIt and Interleaf,
complete the following steps:
Note If you want to generate a document from your own model, follow the same steps
given in this example, but use your own model for document generation.
1. From your system prompt, go to your Interleaf desktop directory
(do not invoke Interleaf) using the change directory command.
2. Copy all files from:
(UNIX) $CASE/DIT/templates/fmaker/general
(Windows) %CASE%\DIT\templates\fmaker\general
to the document directory.
3. From the Catalog Browser File menu, select Load.
4. Browse through the document directory and double-click to load the
file
Controller_Logic_mil.dat.
5. In the Catalog pane of the Catalog Browser, select the top-level
SuperBlock (in this case, Controller_Logic).
6. From the Catalog Browser, select Tools»DocumentIt. The Generate
Documentation dialog will appear.
7. In the File Name field, enter
Controller_Logic_mil.asc.
8. With the Block Parameters combo box, select %Vars from Xmath.
9. In the Template File field, specify
ilmil.tpl as the template file.
10. Click the Typecheck checkbox.
11. To generate the ASCII document file, click OK.
Changing the Generic Title Page
1. The ASCII file that you have generated—in this case,
controller_logic_mil.asc—includes a generic title page that
appears as shown in Figure D-1 after it is opened from Interleaf. If you
want to change the data on the title page, you can accomplish this in
one of the three following ways:
Using a text editor you can edit the
ilmil.tpl data. refer to
Figure D-2 shows the data in the
ilmil.tpl file that produces
the title page shown in Figure D-1. You should make these
changes to
ilmil.tpl before you generate the document from
SystemBuild. All subsequent documents generated by