Skip to main content
Inspiring
Jan 13, 2021 6:51 PM UTC
Answered

How to get a numbered heading style to reset

I have a Heading4 with autonumbering. However, when I use a heading 1,2,3 and then use the heading 4, it does not reset.

 

Heading1 starts with 1.0

Heading2

Heading3

Heading4 say it increments to 1.1.1.10

Heading1starts with 2.0

Heading2

Heading3

Heading4 this shows up as 1.1.1.11 instead of 2.1.1.1

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Barb Binder
    Barb BinderCorrect answer
    Community Expert
    Jan 14, 2021 3:17 PM UTC

    Hi @tekwrite1955:

     

    Is Heading1 an incrementing heading number within a chapter, or is it the chapter number?

    • If the former, use <n+> and not <$chapnum> because <$chapnum> can only increment between documents, not within a single file.
    • If the latter, be sure the book numbering is set to increment the chapter numbers between files.

     

    ~Barb 

    ~Barb at Rocky Mountain Training

    11 replies

    Inspiring
    Jan 14, 2021 9:20 PM UTC

    So.... heading 3 AND heading 4 are not incrementing correctly.

    Translate
    Inspiring
    Jan 14, 2021 9:21 PM UTC

    Translate
    frameexpert
    Community Expert
    Community Expert
    Jan 14, 2021 9:42 PM UTC

    H1 (5.1)

    S:<$chapnum>.<n+>< =0>< =0>< =0>

    H2 (5.1.1)

    S:<$chapnum>.<n>.<n+>< =0>< =0>

    H3 (5.1.1.1)

    S:<$chapnum>.<n>.<n>.<n+>< =0>

    H4 (5.1.1.1.1)

    S:<$chapnum>.<n>.<n>.<n>.<n+>

     

    You will need to put in your tabs, etc.

    Translate
    www.frameexpert.com
    Barb Binder
    Community Expert
    Barb BinderCommunity ExpertCorrect answer
    Community Expert
    Jan 14, 2021 3:17 PM UTC

    Hi @tekwrite1955:

     

    Is Heading1 an incrementing heading number within a chapter, or is it the chapter number?

    • If the former, use <n+> and not <$chapnum> because <$chapnum> can only increment between documents, not within a single file.
    • If the latter, be sure the book numbering is set to increment the chapter numbers between files.

     

    ~Barb 

    Translate
    ~Barb at Rocky Mountain Training
    Inspiring
    Jan 14, 2021 8:51 PM UTC

    My brain is not working. The numbering for headings is

     

    H1 (5.1)

    S:\t< ><n>< >.<n+>< =0>< >< >< >\t

    H2 (5.1.1)

    S:\t< ><n>< >.<n>.<n+>< >< >< >

    H3 (5.1.1.1)

    S:\t< ><$chapnum>< >.<n>.<n>.<n+>< >< >< >      

    H4 (5.1.1.1.1)

    S:\t< ><$chapnum>< >.<n>.<n>.<n+>< >< >< >     

     

    Not sure why H3 and H4 are the same? (I inherited the files from the client) 🙂

    Translate
    frameexpert
    Community Expert
    Community Expert
    Jan 13, 2021 8:03 PM UTC

    Please show your autonumber building blocks for each of the paragraph formats. Or see these posts:

    http://frameautomation.com/framemaker-autonumber-primer/

    http://frameautomation.com/advanced-autonumber-concepts/

     

     

    Translate
    www.frameexpert.com
    Inspiring
    Jan 14, 2021 12:57 AM UTC
    It has to be something in the building blocks for heading4.

    The heading4 is not resetting when the content goes to a new Heading1
    (second image).

    Just noticed the heading4 (in the first image) is getting its sequential
    number from the Figure Heading which is also wrong.




    [image: number2.jpg]
    [image: number1.jpg]
    Translate
    frameexpert
    Community Expert
    Community Expert
    Jan 14, 2021 11:29 AM UTC

    I am not seeing your images in the post.

    Translate
    www.frameexpert.com