Need autonumbering help
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 😧 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! ![]()
