Skip to main content
Participating Frequently
June 23, 2014
Answered

How to build a document with conditional text

  • June 23, 2014
  • 1 reply
  • 1380 views

So, I created a condition for a feature that is new to my document and until it's stable, I want to hide that text. No problem. I selected the condition and from the Show/Hide Conditional Text pod, I moved it over to hide. When I created the conditional text, I gave it a background color of gray so I could easily distinguish the conditional text from the non-conditional text. However, if I leave the conditional text visible and go to generate a PDF, the gray background style appears on the conditional text in the PDF. Is there something I'm missing here when it comes to building a PDF? I don't want the style I see in the FM file to appear in the final PDF. I only want that background color as an indicator while I'm editing it. I don't want to have to remember to change the style every time I want to build with the condition visible. Here's a screenshot from the PDF. The bits in gray are what I had applied the condition to.

After selecting the book file, I tried both doing a Save as PDF and a Print Book but both options ended up with my conditional text having the gray background style in the final output.

This topic has been closed for replies.
Correct answer Bob_Niland

> If you haven’t set the Show/Hide settings to hide it, ...

Specifically:
[_] Show Condition Indicators

An alternative route is to use a named indicator color (say, Pending) that is controlled by Color Views. If you switch to a Color View in which color Pending is in the Cutout or Invisible pane, it won't show even if the Condition and Indicators are set to Show.

Since the purpose of FM's Color Views isn't terribly obvious:

  • Use Conditions where text re-flow is required when the tagged content is switched on/off.
  • Use Color Views where text re-flow is not required when the tagged content is switched on/off.

1 reply

Jeff_Coatsworth
Community Expert
Community Expert
June 23, 2014

If you haven’t set the Show/Hide settings to hide it, why would you expect to not see it in your PDF? Try hiding it before printing to PDF – is it gone then?

Bob_Niland
Community Expert
Bob_NilandCommunity ExpertCorrect answer
Community Expert
June 23, 2014

> If you haven’t set the Show/Hide settings to hide it, ...

Specifically:
[_] Show Condition Indicators

An alternative route is to use a named indicator color (say, Pending) that is controlled by Color Views. If you switch to a Color View in which color Pending is in the Cutout or Invisible pane, it won't show even if the Condition and Indicators are set to Show.

Since the purpose of FM's Color Views isn't terribly obvious:

  • Use Conditions where text re-flow is required when the tagged content is switched on/off.
  • Use Color Views where text re-flow is not required when the tagged content is switched on/off.
navoff1Author
Participating Frequently
June 23, 2014

<sigh> FM is freaking stupid. I much prefer the way Madcap handles conditional text.