Skip to main content
September 11, 2009
Question

Can nested numbered lists automatically re-start numbering

  • September 11, 2009
  • 1 reply
  • 1509 views

In a webinar by Schlomo Peters I learned how to make numbered lists restart the numbering at each heading. Very cool. Now, if I have nested numbered lists (using different labels for the two levels), can the secondary level's numbering be automatically restarted at each entry in the primary list?

Like this:

First Heading

1. Top-level List item

2. Top-level list item

1. Second-level list item

2. Second-level list item

3. Second-level list item

Second Heading

1. Top-level List item

4. Second-level list item. This one should be number 1.

5. Second-level list item. This one should be number 2.

6. Second-level list item. This one should be number 3.

2. Top-level List item

7. Second-level list item. This one should be number 1.

8. Second-level list item. This one should be number 2.

9. Second-level list item. This one should be number 3.

3. Top-level list item

The .fm file shows this in more detail but this forum wouldn't let me attach it.

Thanks,

Cheryl

    This topic has been closed for replies.

    1 reply

    Arnis Gubins
    Inspiring
    September 11, 2009

    Cheryl,

    If you use the matrix method for numbering, then you can set the heading and the top-level list items to reset the lower-level list. You don't need to have two different series to accomplish this.

    For the Heading, you could have something like: H:<n+>< =0>< =0>

    For the top-level item list, it would then be: H:< ><n+>< =0>

    Then for the lower-level list it would be: H:< >< ><n+>

    The empty < > tells FM to just ignore what is in that location and not display anything.

    The < =0> tells Fm to reset the location, but don't display it.

    The magic in not displaying the number is in the leading space character within the angled brackets.

    Note: to attach .fm files, add a .txt to the end, e.g. "myFile.fm.txt" and let us know. This fools the system into letting it be uploaded. I've been told that Adobe file types will be allowed in some upcoming updates to the Jive forum software.

    September 11, 2009

    That worked like a charm.

    For anyone who is interested, my sample file is attached. To open, first rename from "Sample of nested numbered lists.fm.txt" to "Sample of nested numbered lists.fm".

    Thank you!

    Cheryl

    September 11, 2009

    I keep trying to add the attachment. No luck. The forum keeps telling me "You can not post a blank message" even though I have text in here.