Copy link to clipboard
Copied
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).
Tag | Autonumbering | Example |
---|---|---|
Chapter Title | C:Chapter <$chapnum>: | Chapter 3: Installation of Software Framework |
Heading 2 | S:Section <A+>: | Section A: Apply Critical MS Updates |
Table Step | S:<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 D: 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!
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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!]
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Bingo! Thanks, Van. I thought that I had tried that early on, but I obviously didn't do it correct. Woo-hoo!