Adobe framemaker 6.0 User Manual

Page of 323
53
ADOBE FRAMEMAKER 6.0
 Using MIF Statements
To mark conditional and unconditional passages within document text, use Conditional and UnCondi-
tional
 statements as shown in the following example:
<Para
<ParaLine
<String `Our company makes a full line of '> # 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
> # end of Conditional
<String `cool and comfortable tank tops'>
<Unconditional >
<String ` for those '>
# Unconditional text
> # end of ParaLine
<ParaLine
<Conditional
<InCondition `Winter'>
> # end of Conditional
<String `chilly winter'>
<Conditional
<InCondition `Summer'>
> # end of Conditional
<String `hot summer'>
<Unconditional >
<String ` days.'>
> # end of ParaLine
> # end of Para
You can apply multiple condition tags to text by using multiple InCondition statements:
<Conditional
<InCondition `Winter'>
<InCondition `Summer'>
> # end of Conditional
Showing and hiding conditional text
If you are creating a MIF file for a FrameMaker product to read, you can specify whether conditional text 
is shown or hidden simply by setting the CState property for that condition. In the previous example, all 
text with the condition tag Summer is hidden and text marked with the condition tag Winter is shown. 
You can show all conditional text in a document by using the Document statement <DShowAllConditions 
Yes>
. To allow selective display of conditions, use <DShowAllConditions No>.
You can turn off the display of condition indicators by using the Document statement <DDisplayOver-
rides No>