Creating Conditional Text - Adobe FRAMEMAKER 10 User Manual

Hide thumbs Also See for FRAMEMAKER 10:
Table of Contents

Advertisement

>
<String `pages.'>
>
>
The
string must match the name of a variable format defined in the
VariableName
Variables are subject to the following restrictions:
You cannot place any variable in a tagged text flow on a master page.
The system variable
Current Page #
in untagged text flows on a master page.
The system variables Table Continuation and Table Sheet can only appear in tables.

Creating conditional text

You can produce several slightly different versions of a document from a single conditional document. In a condi-
tional document, you use condition tags to differentiate conditional text (text that is specific to one version of the
document) from unconditional text (text that is common to all versions of the document).
In a MIF file, you create a conditional document as follows:
Create the condition tags to be used in the document and specify their format via
statements.
Condition
Apply one or more condition tags to the appropriate sections of the document via
statements.
tional
Show or hide conditional text by using the
Creating and applying condition tags
In MIF, all condition tags are defined in a
statements. A
Condition
appears in the document window), a color, and a state (either hidden or shown).
For example, the following statements create a Condition Catalog with two conditional tags named Summer and
Winter:
<ConditionCatalog
<Condition
<CTag `Summer'>
<CState CHidden >
<CStyle COverline >
<CColor `Blue'>
>
<Condition
<CTag `Winter'>
<CState CShown >
<CStyle CUnderline >
<CColor `Red'>
>
>
To mark conditional and unconditional passages within document text, use
statements as shown in the following example:
<Para
<ParaLine
<String `Our company makes a full line of '>
# end of Variable
# end of ParaLine
# end of Para
and the system variables for running headers and footers can only appear
CState
ConditionCatalog
statement specifies the condition tag name, the condition indicators (how conditional text
statement.
statement, which contains one or more
# Condition tag name
# Condition state (now hidden)
# Condition indicator
# Condition indicator
# end of Condition
# This condition is shown
# end of Condition
# end of ConditionCatalog
Conditional
ADOBE FRAMEMAKER 10
MIF Reference
statement.
VariableFormats
and
ConditionCatalog
and
Conditional
Uncondi-
Condition
and
UnConditional
40

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents