##### 30.11.2.2 Converting lists with multiple paragraph formats

If you use a different paragraph format for the first item in a list, and perhaps also for the last item, specify the appropriate Listn style for all of the paragraph formats; and also specify the following properties:

    [HTMLParaStyles]
    ;  LFirst specifies a style that starts a list
    ;  LEnd specifies a non-list style that ends any prior lists

LFirst starts a list

Assign LFirst to the format that starts a list. If you do not assign LFirst to a format that can start a list, DITA2Go thinks an item in that format is being continued after a non-list item; if that is not the case, DITA2Go might be using a value that was never set.

LEnd comes after a list

Do not assign LEnd to the format that ends a list; instead, assign LEnd to each paragraph format that can occur immediately after the end of a numbered list in your DITA document. This means that you must assign LEnd to several non-list paragraph formats; this is the only way to get the indents right, without using CSS. The LEnd property can be annoying, because you must assign it to every format that could ever end a list, as opposed to being included in a list. To avoid unwanted left indents you must assign LEnd to Body, to all the headings, to figure titles and table anchors, and so forth.

Previous Topic: 30.11.2.1 Specifying HTML list styles (deprecated)

Next Topic: 30.11.2.3 Converting nested lists

Parent Topic: 30.11.2 Converting list formats to HTML list styles

Sibling Topics:

30.11.2.1 Specifying HTML list styles (deprecated)

30.11.2.3 Converting nested lists

30.11.2.4 Converting dictionary lists

30.11.2.5 Omitting CSS class attributes from list entries

30.11.2.6 Including or excluding the type list attribute

Table of Contents • Index