Skip to main content
Known Participant
April 8, 2014
Question

Autonumbering with Letters

  • April 8, 2014
  • 2 replies
  • 405 views

I'm writing a document where my Heading 1 has roman numerals (I,II,III,etc.), Heading is uppercase letters (A, B, C, etc) and Heading 3 is not numbered. Under each heading 3, there are numbered lists (1,2,3,etc).

My problem is that the second instance of my Heading 2 (which is supposed to be B) is coming out as D. I noticed that putting in steps 1 and 2 after my first Heading 3 caused this to happen.


What am I doing wrong?

Thanks.

    This topic has been closed for replies.

    2 replies

    Legend
    April 10, 2014

    FM numbering is one of the features I truly enjoy working with, even though I fight vigorously to remove numbering from documents where I feel hyperlink xrefs are more reader-friendly …

    I'm guessing the numbering sequences for the lists are interfering with the sequence for the headings. One approach is to use named sequences, so you can say "increment/display this counter but reset that counter/leave it as it is for later". I've attached the output from a quick example, followed by the numbering definitions; the H: is the "series label" that links the four definitions together.

    • heading 1 H:<$chapnum>. < =0>< =0>< =0> picks up the chapter numbering and resets all the other counters to zero. The choice of upper-case roman numerals for displaying the chapter number is a numbering property for the file.
    • heading 2 H:< ><A+>. < =0>< =0> leaves the first counter as-is and does not display it; <A+> increments the second counter, and displays it as an upper-case letter; the last two counters are reset to zero
    • heading 3 H:< >< >< >< =0> leaves the first three counters as they are, resets the fourth counter to zero and does not display any of them
    • ordered list H:< >< >< ><n+>.\t then leaves the first three counters as they are and increments the fourth counter (and includes a stop and a tab)

    If you're not numbering the third-level headings, you could just use three counters. If you might have more than one ordered list under the same third-level heading, separated by body text, you can apply the "invisible reset" from heading 3 to the body-text style.

    "series label" is the key term, and should help you find other explanations. Hope you have as much fun setting up your numbering as I did preparing the example :-}

    Arnis Gubins
    Inspiring
    April 9, 2014

    What are the autonumber strings that you are using for these headings?