### 15.7.2 Specifying what to include in a <fig> wrapper

When Mif2Go wraps image and title in a <fig> element, by default Mif2Go closes the <fig> element before moving on to the following content. To direct Mif2Go to include in <fig> any following elements that are valid:

[DITAOptions]

; CloseFigAfterImage = Yes (default) or No (leave fig open for more)

CloseFigAfterImage = No

By default, Mif2Go wraps all contiguous images and their titles in a single <fig> element. To make sure each of a series of images is wrapped in its own <fig> element:

[DITAOptions]

; MultiImageFigures = Yes (default)

; or No (allow only one image in a fig)

MultiImageFigures = No

When an unstructured FrameMaker document includes several images in a row with only their titles in between, by default Mif2Go assumes that these titles follow their respective images. To specify that figure titles precede their images instead:

[DITAOptions]

; FigureTitleStartsFigure = No (default, title is below image),

; or Yes (title is above image)

FigureTitleStartsFigure = Yes

To prevent an image in an anchored frame from being wrapped in a <fig> element, assign the NoFig format property to the anchor paragraph format. For example:

[HTMLStyles]

; NoFig is used in DITA for a graphic anchor para to prevent wrapping

; of the image inside it in a fig tag.

GraphAnchor = NoFig

This works only if the FrameMaker anchor format is used consistently for images that should not be wrapped, and not for any that should be wrapped.

| 15.7.1 Designating ancestors for <image> and <fig> elements |  | 15.7.3 Omitting size attributes from images |