Omni Systems, Inc. Mif2Go User's Guide, Version 55

<< Prev | Next >>

> 15 Converting to DITA XML > 15.4 Configuring DITA elements > 15.4.4 Mapping character formats to DITA inline elements > 15.4.4.1 Assigning DITA elements to FrameMaker character formats

#### 15.4.4.1 Assigning DITA elements to FrameMaker character formats

To map character formats in your document to DITA inline elements, assign the element name to the format name:

[DITACharTags]

; Frame character format (wildcards OK) = DITA element, cannot be

; overridden by a DITATag marker; or Frame format = No.

CharFmtName = elementname

For example:

[DITACharTags]

Strong=b

Emphasis=i

BoldItalic=b

Subscript=sub

Superscript=sup

Mono=tt

Link=No

To specify that a particular FrameMaker character format should not be mapped to an element:

[DITACharTags]

CharFmtName = No

The value No means that the tags for the format should be omitted, leaving the text inside the enclosing element. For example, map the character formats you use for links and cross references to No. Mif2Go automatically generates <xref> tags from the cross references in your FrameMaker document, based on the format, but you do not need to map the format itself to any element. See §15.10 Configuring cross references and links for DITA.

The default element for a FrameMaker character format that is not mapped in [DITACharTags] is the element designated by DefCharElem; see §15.4.4.3 Specifying a default element for unmapped character formats. It is best to map each character format to the most specific element possible, which is not often the default element.