Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.6 Assigning attributes to DITA elements > 15.4.6.7 Converting FrameMaker change bars to condition attributes


15.4.6.7 Converting FrameMaker change bars to condition attributes

When UseTypographicElements=Yes, Mif2Go creates DITA <chbar> elements from text that has the FrameMaker character property change bar; see §15.4.4.2 Including typographic elements in addition to mapped formats.

If instead you want to apply an attribute value to this text (such as @status="changed"), you can use the following workaround:

1. Create a condition in FrameMaker named (for example) Changed.

2. In FrameMaker, find all text that has the character format property change bar and change by pasting the conditional text setting Changed. (This could be done with FrameScript.)

3. In your project configuration file, include the following setting:

[ConditionAttributes]

Changed = status="changed"

If an entire paragraph is conditional (including the end-of-paragraph pilcrow), the resulting element will have <p status="changed">. If only part of a paragraph is conditional, the element will have <ph status="changed">. See §15.12.2 Mapping FrameMaker conditions to element attributes.



15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.6 Assigning attributes to DITA elements > 15.4.6.7 Converting FrameMaker change bars to condition attributes