
ADOBE FRAMEMAKER 10
MIF Reference
50
•
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.
For an example of a database publishing application, see
“Database publishing” on page 230
.
Debugging MIF files
When FrameMaker reads a MIF file, it might detect errors such as unexpected character sequences. In UNIX and
Windows versions, FrameMaker displays messages in a console window. In the Windows version, you must turn on
Show File Translation Errors in the Preferences dialog box to display messages in a window. If FrameMaker finds an
error, it continues to process the MIF file and reads as much of the document as possible.
When you are debugging MIF files, you should examine the error messages for clues. The MIF interpreter reports
line numbers for most errors. For a description of MIF error messages, see , “MIF Messages.”
In some cases, the MIF interpreter reports an “invalid opcode” message for a statement. If the statement seems
correct to you, check the statements above it. A missing right angle bracket can cause the interpreter to parse a
statement incorrectly.
If the MIF interpreter brings up an empty document when it reads your file, it has stopped trying to interpret your
file and opened an empty custom document instead. Close the document and check your MIF file for errors. Try
adding a
Verbose
statement to your file to get more complete messages.
If your MIF statements are syntactically correct but cause unexpected results in the document, check for mismatched
ID numbers and check the placement of statements. Many MIF statements are position-dependent and can cause
errors if they appear in the wrong place in a file. For example, an
ATbl
statement that comes before its corresponding
Tbl
statement causes an error.
CAD or Other
Illustration
Packages
Database
Text
MIF (ASCII text)
Final Document
Содержание FRAMEMAKER 10
Страница 1: ...MIF Reference ADOBE FRAMEMAKER 10...