Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

20 Mapping text formats to HTML > 20.11 Converting list formats to HTML or XML > 20.11.2 Converting list formats to HTML list styles > 20.11.2.3 Converting nested lists


20.11.2.3 Converting nested lists

If you used nested lists in your FrameMaker document, you must assign the following properties to inner list formats:

[HtmlStyles]

; LNest specifies a style that nests in an enclosing list

; LLevel specifies the nesting level to use, 1-30

Make each level must a different list type

HTML does not let you nest a list inside another of the same type. If you have a bulleted list with a bulleted sublist, change the bulleted style for the sublist; for example, if the top-level list is List6, make the sublist style List7. Also make the top-level list LLevel1, and make the sublist both LNest and LLevel2. You can nest quite deeply and still retain the structure, if you apply these properties correctly.

Suppose your FrameMaker document has one numbered list nested inside another. You would assign LLevel1 to the outer list format, and LLevel2 to the inner (nested) list format. You would also assign the LNest property to the nested format, and, if you use a different format for the first item, assign LFirst to the first-item format in both lists. For example:

[HtmlStyles]

Numbered1 = List1 LLevel1 LFirst

Numbered = List1 LLevel1

AlphaSub1 = List4 LLevel2 LFirst LNest

AlphaSub = List4 LLevel2 LNest

If you are using CSS, you might want to add, in the CSS file:

ol ol {list-style-position: outside}

This is how to specify properties for nested lists in CSS.



20 Mapping text formats to HTML > 20.11 Converting list formats to HTML or XML > 20.11.2 Converting list formats to HTML list styles > 20.11.2.3 Converting nested lists