Debugging Mif Files - Adobe FRAMEMAKER 10 User Manual

Hide thumbs Also See for FRAMEMAKER 10:
Table of Contents

Advertisement

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

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
statement to your file to get more complete messages.
Verbose
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
statement causes an error.
Tbl
Text
CAD or Other
Illustration
Packages
MIF (ASCII text)
Database
Final Document
"Database publishing" on page
statement that comes before its corresponding
ATbl
ADOBE FRAMEMAKER 10
MIF Reference
230.
50

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents