Technical Writing – FrameMaker – Display Conditional Text in FM by Using a Single Text Block
You want to display different versions of the same text in a FrameMaker technical document.
You’d like to toggle different versions on and off.
There is one condition however: you do not want to use multiple copies of the same text block (with perhaps different paragraph tags assigned to them) for fear of messing up the formatting of your pages.
How would you do it?
It’s simple, but you need to watch out for the simple tricks explained in this article.
For example, let’s take this hypothetical case: how to display the same text in different colors without changing its paragraph tag?
1. Create as many Conditional Text conditions as you like. Let’s say; Blue and Red, turning the selected texts into blue and red, respectively.
2. Select your text and apply ALL the conditions to the same text. The resultant color may be something like Pink. That’s okay.
3. Do this to all your target texts (or apply the copy-and-paste trick explained at the bottom of this page). Now you can de-select everything. Your main document does not need to be selected at all in order to turn on and off different colors as explained below.
4. Click the Show/Hide button in the Conditional Text dialog box to display the Show/Hide Conditional text dialog box.
5. Move into the Show list-box the condition that you want to make active. Click Set to turn the color of all previously “conditioned” set of texts to your selected color.
6. IMPORTANT: To shift to another color, you first have to move ALL conditions back to the Hide list-box. This will cause all text to disappear momentarily.
7. Move into the Show list-box the NEW condition that’d like to be active. Click Set to turn the color of all previously “conditioned” set of texts to the NEW color.
COPY and PASTE TRICK: You can copy and paste the “conditioned” text as long as you also copy and paste the PARAGRAPH MARK at the end of the text. The conditioning information is embedded not in the text itself but the paragraph mark that follows it (just like in MS Word).
That way you can assign multiple conditions to only one block of text; copy and paste it with its paragraph mark; and then type over the pasted and “conditioned” piece of text any new content you want.