Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

21 Mapping text formats to HTML/XML > 21.3 Mapping paragraph formats > 21.3.2 Converting sidehead and run-in paragraph formats


21.3.2 Converting sidehead and run-in paragraph formats

Mif2Go does not provide any special treatment for sideheads in HTML. A sidehead paragraph appears in HTML output as a normal paragraph.

HTML does not support run-in formats. By default, Mif2Go tries to duplicate the FrameMaker run-in effect in HTML by converting a run-in heading to use the paragraph format and CSS class of the run-in body paragraph (the paragraph the heading runs into), modified by the character formatting, first-line indent, and space-before of the run-in heading.

To have Mif2Go instead place the run-in heading on a line previous to the following paragraph, preserving all paragraph and character properties of the heading:

[HTMLOptions]

; RunInHeads = Runin (default) or Normal (head on previous line,

;  default for DITA output)

RunInHeads = Normal

To have Mif2Go base the HTML tag used for the combined paragraphs on the paragraph format name of the run-in head, instead of on the format of the following paragraph:

[HTMLOptions]

; UseRunInTag = No (default, get tag from body para)

;  or Yes (from runin)

UseRunInTag = Yes

For example, if Heading4 is a run-in heading followed by a Body paragraph, to combine both into an HTML heading:

[HTMLOptions]

UseRunInTag = Yes

[ParaTags]

Heading4 = H1



21 Mapping text formats to HTML/XML > 21.3 Mapping paragraph formats > 21.3.2 Converting sidehead and run-in paragraph formats