Skip to main content
Participating Frequently
April 24, 2009
Answered

Need autonumbering help

  • April 24, 2009
  • 2 replies
  • 1201 views

Here's the situation:

We have a multi-chapter book. In each chapter, there's a Chapter Title and a Heading 2, all of which should display in the TOC. Each Heading 2 is a 'section', which has a table with steps that refer to the section letter (Table Step tag).

TagAutonumbering
Example
Chapter TitleC:Chapter <$chapnum>:Chapter 3: Installation of Software Framework
Heading 2S:Section <A+>:Section A: Apply Critical MS Updates
Table StepS:<A>-<n+>A-1

When I generate the TOC, I get either:

Chapter 1: Installation of Advisor Framework  

Section A: Apply Microsoft Critical Updates

Section B: Install .NET Framework 2.0 Redistributable Package

Chapter 2: Basic Installation on Specific Servers

Section C: Apply a Version of SQL Server to Each Instance    
Section 😧 Apply a Service Pack to Each SQL Server Instance  

if the TOC tag matches the Autonumbering format of the Heading 2 tag (S:Section <A+>: ). This is wrong because the section letters start over in each chapter.

OR

Chapter 1: Installation of Advisor Framework  

Section 1: Apply Microsoft Critical Updates  

Section 1: Install .NET Framework 2.0 Redistributable Package 

Chapter 2: Basic Installation on Specific Servers

Section 1: Apply a Version of SQL Server to Each Instance    
Section 1: Apply a Service Pack to Each SQL Server Instance

when the TOC structure for the Heading 2TOC tag on the reference page is: Section <$sectionnum>: <$paratext>. This is wrong because the Section are lettered alphabetically, not numerically.

There doesn't seem to be a <$sectionalpha> variable ... How can I get the TOC tags to just grab the autonumbering/heading data exactly as it is in the chapters, where is seems to be right. I would like:

Chapter 1: Installation of Advisor Framework  

Section A: Apply Microsoft Critical Updates  

Section B: Install .NET Framework 2.0 Redistributable Package 

Chapter 2: Basic Installation on Specific Servers

Section A: Apply a Version of SQL Server to Each Instance    
Section B: Apply a Service Pack to Each SQL Server Instance

Thanks to everyone if you've made it this far!

    This topic has been closed for replies.
    Correct answer Van Kurtz

    In the reference page for the TOC, insert the building block <$paranum> before <$paratext>. Be sure to put a space or whatever other text you want between the two building blocks. The reason Frame does not do this automatically is to give you the flexibility to include it or not.

    2 replies

    painted8Author
    Participating Frequently
    April 27, 2009

    I guess my more general question is why would a generated TOC not automatically pick up any autonumbering settings on the headings? If I have a Heading 2 that adds "Section A/B/etc: " before the text, why doesn't the TOC use the paragraph tag's autonumbering?

    Maybe it does and I haven't figured out how to make it do that. Can anyone help? Thanks!

    Barry

    Van Kurtz
    Van KurtzCorrect answer
    Inspiring
    April 27, 2009

    In the reference page for the TOC, insert the building block <$paranum> before <$paratext>. Be sure to put a space or whatever other text you want between the two building blocks. The reason Frame does not do this automatically is to give you the flexibility to include it or not.

    painted8Author
    Participating Frequently
    April 27, 2009

    Bingo! Thanks, Van. I thought that I had tried that early on, but I obviously didn't do it correct. Woo-hoo!

    Inspiring
    April 24, 2009

    The numbering is controlled by setting Numbering properties in the

    Book file, not the component chapters.

    Because you didn't supply your FM level, the procedure may vary a bit

    but in general:

    In the book file, highlight the component chapters except the first chapter.

    Right click, select Numbering. On the Chapter tab, set the numbering

    to increment; and on the Paragraph tab (which controls your Section

    numbering), set the numbering to restart with each chapter. On the

    Paragraph tab, set the style of numbering to Alpha.

    Apply and Save.

    Then, with just the first chapter, set the numbering properties for

    the Chapter to start with 1 and for paragraphs to start with 1. Again,

    apply and save.

    Update the book...

    Art Campbell

    art.campbell@gmail.com

    "... In my opinion, there's nothing in this world beats a '52

    Vincent and a redheaded girl." -- Richard Thompson

    No disclaimers apply.

    DoD 358

    painted8Author
    Participating Frequently
    April 27, 2009

    Thanks for the reply, Art.

    I'm on FM 09. Trying to replicate (and greatly improve on) our old files in Word.

    When I go to the Numbering dialog for the Book, none of the options on the Sections tab are available?

    Barry

    Arnis Gubins
    Inspiring
    April 27, 2009

    Barry,

    The Sections and Subsections variables are only available when you have FM9's new "Folders" added to your (hierachical) book. Files added to a folder container will then have the Section variable available, but will not have any Chapter variable. If you place a folder within a folder, then the files in that folder will have the Subsection variable, but no Section nor Chapter variables available. Simple, no ? [but not intuitive!]