Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

15 Converting to DITA XML > 15.2 Setting up a DITA XML project > 15.2.7 Substituting document format names for default names


15.2.7 Substituting document format names for default names

When Mif2Go creates a configuration file for a new DITA project, the default settings in all configuration sections that involve assigning a property to a FrameMaker format are based on the format names in the standard template that comes with FrameMaker, not on the format names in your document.

If your document uses format names different from those in the standard FrameMaker template, you must change these settings to assign properties to the corresponding names in your document instead. You must also add settings for other formats in your document that map to other than the default block and inline elements, which are <p> and <ph>, respectively.

Note:  It is best not to delete any default settings until you know what you are doing.

Default settings in the following configuration sections are based on formats in the standard FrameMaker template:

[DITAParaTags]

[DITACharTags]

[DITACharTypographics]

[DITALevels]

[DITAParents]

[DITAParaTags]

Only a few paragraph formats are automatically mapped to DITA elements:

[DITAParaTags]

; Frame para format (wildcards OK) = DITA element

Body=p

Heading*=title

Numbered=li

Numbered1=li

Bulleted=li

FigureTitle=title

CellBody=p

CellHeading=p

See §15.4.3 Mapping paragraph formats to DITA block elements.

[DITACharTags]

Only one character format is automatically mapped to a DITA element:

[DITACharTags]

Emphasis=i

See §15.4.4 Mapping character formats to DITA inline elements.

[DITACharTypographics]

The only character format automatically included here is Emphasis; combined with its default mapping in [DITACharTags], this setting makes Emphasis both bold and italic:

[DITACharTypographics]

; Frame char format (wildcards OK) = DITA typographic

;  elements (any or all of b, i, u, tt, sup, or sub) to use in

;  addition to the element to which the format is mapped in

;  [DITACharTags].

Emphasis=b

See §15.4.5 Assigning multiple typographic elements to a format.

[DITALevels]

By default, a paragraph format named Title that is not explicitly mapped in [DITAParaTags] becomes a <title> element, which is always at level 1 in its DITA topic:

[DITALevels]

; Frame format (para or char, wildcards OK) = level in DITA (not

;  Frame) file required for the DITATag specified for this element.

Title=1

Heading*=3

 

See §15.5.13 Specifying DITA element levels.

[DITAParents]

Only a few paragraph formats are automatically assigned DITA parents:

[DITAParents]

; Frame format (para or char, wildcards OK) = required parents

Title=topic

Heading*=section

Numbered1=ol

Numbered=ol

Bulleted=ul

FigureTitle=fig

See §15.5.2 Designating DITA ancestor elements.



15 Converting to DITA XML > 15.2 Setting up a DITA XML project > 15.2.7 Substituting document format names for default names