Conditional text

Sometimes you author different types of content for different output formats using the same FrameMaker document. This document can contain conditional tags and conditional graphics for each type of output. For example, to create both a PDF print version and an HTML Help version of a document, mark the different content for each using condition tags.

You can also use conditional tags to include comments to yourself or to your reviewers. You can hide the comments before you print the final copy.

Conditional tags differ from one version of a document to another. Unconditional text is common to all versions.

Conditional text is content that you can show or hide, depending on the condition or conditions applied to a the book or an individual document. You can write in one document, and then use conditional text to create multiple outputs.

You can specify conditional tags in FrameMaker at the book level or at an individual chapter level. If there is a condition that is applicable to all chapters in a book, then you can easily apply that condi­tion to all chapters with a single click. See Applying conditional tags at book level.

While the conditional text in a document differs from one output of the document to another, the unconditional text is common to all output.

You can make any unit of text conditional, from a single character to entire sections. Anchored frames, images, tables, cross-references, footnotes, markers, and table rows and columns can be made conditional.

note:  The conditional tag state for a table row or column overrides any conditional tags that are applied to the text in the individual cells in the column.

Two versions of a data sheet: Conditional tags can be used to create two data sheets in one document. The text and graphics common to both data sheets are unconditional. The text and graphics that appear in only one data sheet are assigned a condition tag that identifies the data sheet.


A. The art and first paragraph contain both conditional and unconditional information. B. Uncon­ditional text.