Please enable JavaScript to view this site.

This dialog is used to insert include option tags in your topics to control what is included and excluded from your output on the text level. See Conditions and Customized Output for more details.

Note that conditions set in the text work in combination with the options you select in the Publish settings when you publish your project.

The Insert Text Condition dialog:

DLG_Insert_CondText

Dialog options:

IF

Marks the beginning of a positive include option condition for all the options selected in the list on the right (tagged content is included if the condition evaluates TRUE). You can select multiple conditions.

The text and other content enclosed by the condition will be included in your output if one or more of the selected conditions are fulfilled (OR logic).

IFNOT

Sets the beginning of a negative include option condition for all the options selected in the list (tagged content is included if the condition evaluates FALSE). Here too, you can select multiple conditions.

The text and other content enclosed by the condition will only be included in your output if none of the selected conditions are fulfilled (OR logic).

ELSE

Marks the beginning of text to be included if the previous condition is not fulfilled. This tag must be inserted between a pair of IF/ENDIF or IFNOT/ENDIF condition tags.

For example, if the output format is HTML Help (CHM) the following condition will output TEXT 1, otherwise it will output TEXT 2:

IF_ELSE

ENDIF

Marks the end of an IF or IFNOT condition. If you select text in the editor before invoking this function the ENDIF tag is added automatically at the end of the selected text.

BTN_EditBuilds

Opens the dialog for defining and editing user-defined include options.

See also:

Conditions and Customized Output

Compile Help File

Publishing Your Projects