### 5.4.1 Applying condition Show/Hide settings

Note: The method described in this section might not work in FrameMaker version 10, in which case you will need to use the older method, importing FrameMaker templates; see §2.4 Importing formats from a conversion template.

To apply FrameMaker condition Show/Hide settings to Mif2Go output:

[Setup]

; SetFrameConditions = No (default) or Yes (set per [ConditionsShown]

; after template import, if any).

SetFrameConditions = Yes

To specify which conditions to show and which to hide:

[ConditionsShown]

; Condition name = Yes to show or No to hide. Any not mentioned

; are left in their current state; any not found are ignored.

; Note: not for use in a configuration template.

WantedCondition = Yes

UnwantedCondition = No

If you are importing a FrameMaker conversion template, these conditions are applied after import, so that any conditions you do not list retain the settings they had in the imported template.

For example, to include condition HelpOnly and exclude condition PrintOnly:

[Setup]

SetFrameConditions = Yes

[ConditionsShown]

HelpOnly = Yes

PrintOnly = No

If any conditions are actually altered, Mif2Go closes the FrameMaker file without saving, same as after template import. If the file was open before processing, Mif2Go reopens the original file.

If you are producing HTML or DITA XML output, you can express FrameMaker conditions as element attribute settings. See:

§13.10 Converting conditions to HTML attributes

§15.12 Converting conditions to DITA attributes.

| 5.4 Applying FrameMaker conditions and variables |  | 5.4.2 Replacing values of FrameMaker user variables |