Using the enhanced conditional text feature in Adobe FrameMaker 8.0
This tutorial introduces a much anticipated feature in FrameMaker 8.0: The enhanced conditional text feature. Managing conditions is now easier, and you can combine conditions and apply multiple tags in your documents. You can also build visually distinctive expressions based conditional tags, to identify text that has been assigned multiple conditional tags.
Requirements
To follow along with this article, you need this software:
- FrameMaker 8.0
Prerequisite knowledge:
- General knowledge of FrameMaker.
Managing Conditions
- In FrameMaker 8.0, choose File > Open.
- Select the file L01_structuredl.fm and click Open.
- Choose Special > Conditional Text > Manage conditions. This opens up the Manage Condition Tag dialog box.(See Figure 1)
- Select the "cds only" tag and then click Edit. This opens up the Edit Condition dialog box, where you can rename the tag. (See Figure 2)
- Click in the Rename tag input field and rename the "cds only" tag, "cd only".
- Click Set.

Figure 1: The Manage Conditions Dialog box
In the Manage Condition Tag dialog box you can add new conditions. You are also able to edit already existing conditions, which is new in Framemaker 8.0.

Figure 2: The Edit Condition Tag dialog box.
The tag is now renamed throughout the document. In previous versions of FrameMaker this action created a new condition tag. If you want to add a new condition tag, go to the Manage Condition Tag dialog box and click Add.
Visualizing Multiple Applications of Conditions
Applying conditions is just as easy as in previous versions of FrameMaker. New in FrameMaker 8.0 is that it is possible to visually distinguish between multiple applications of conditions.
- Go to Special > Conditional Text > Apply Conditional Text.... This opens up the Conditional Text dialog box. (See Figure 3)
- Select the first paragraph in the document and click "cd only" in the dialog box.
- Click the Left Arrow button to place the condition in the In window of the dialog box.
- Click Apply. The selected text now turns blue.
- Select the second paragraph and click the "online only" condition in the dialog box.
- Click the Left Arrow button to place the condition in the In window of the dialog box.
- Click Apply. The selected text now turns green.
- Select the third paragraph and click the "print only" condition in the dialog box.
- Click the Left Arrow button to place the condition in the In window of the dialog box.
- Click Apply. The selected paragraph now turns red.
- Now select the fourth paragraph and click the "cd only" condition in the dialog box.
- Click the Left Arrow button to place the condition in the In window of the dialog box.
- Click Apply. As before, the text turns blue.
- Now re-select the fourth paragraph, but this time select the "print only" condition.
- Click the Left Arrow button to place the condition in the In window of the dialog box.
- Click Apply.

Figure 3: The Conditional Text dialog box.
Note: To change the color for a condition, go to the Manage Condition Tag dialog box and click Edit.
As you can see, the colors are now mixed (see Figure 4). Blue and red becomes violet. This makes it much easier to see where in the document you are working with multiple conditions.

Figure 4: The blue and the red conditions mix and become violet.
Filtering by Expression
Another new feature in Adobe FrameMaker 8.0 is the possibility to filter the document by expressions, based on conditional text.
- There are two ways to access the Show/Hide Conditional Text dialog box:
- In the Conditional Text dialog box, click the button Show/Hide.
- Go to Special > Conditional Text > Show/Hide Conditional Text.
- Click the Show as per Expression button and then click Build Expression. This opens up the Build Expression dialog box.
- Click the Clear button in the Build Expression dialog box.
- Click on the "cd only" condition tag and then click the Right Arrow button.
- Click the AND button.
- Select the "print only" tag and click the Right Arrow button.
- Click the AND button, followed by the NOT button.
- Select the "online only" tag, and click the Right Arrow button.(See Figure 6)
- When you are finished with building the expression, click Set.
- To display the content according to the newly created expression, click Set in the Show/Hide Conditional Text dialog.

Figure 5: The Build Expression dialog box.
Now, if you for instance wish to see "print only" and "cd only", but not "online only" this is easy.

Figure 6: Building an expression.
The document now only displays the text that fit with the expression you set. You are only viewing the content that relates to the conditions "cd only" and "print only", and not the condition "online only".
This is a powerful tool to make the document suit different receivers in a single source publishing workflow. Since FrameMaker 7 it is also possible to preserve these conditions throughout the XML workflow.
Where to go from here
For more information and additional tutorials, visit the Adobe Design Center.