Skip to main content
July 25, 2011
Answered

Paragraph numbering doesn't show up in TOC

  • July 25, 2011
  • 1 reply
  • 1130 views

I am working on a book with multiple chapters. Within each chapter, I have heading styles that use auto numbering (Heading 1 shows 1.1, 1.2, etc.; Heading 2 is 1.1.1, 1.1.2, etc.; Heading 3 is 1.1.1.1, 1.1.1.2, etc). These numbers show up fine in the chapters, but I can't seem to get them to show up in the generated TOC. I have tried adding <$chapnum>.<$sectionnum>.<$subsectionnum> to the TOC reference page, but that only seems to show the TOC chapter number, rather that the chapter the heading is actually in. I tried auto numbering in the TOC, but that didn't work either. Is there any way to show numbering from chapters in the TOC?

This is how it looks now:

Lab 3: Adding Redundancy to a Component

  Purpose ...........................................7 - 1

  Functional Goals.............................. 7 - 1

  Setup ..............................................7 - 1

  Code Files for this Lab...................... 7 - 2

This is how I want it to look:

Lab 3: Adding Redundancy to a Component

  7.1 Purpose ...........................................7 - 1

  7.2 Functional Goals.............................. 7 - 1

  7.3 Setup ..............................................7 - 1

  7.4 Code Files for this Lab...................... 7 - 2

If anyone can help me, I would really appreciate it!!!

Thank you!

This topic has been closed for replies.
Correct answer Bob_Niland

I have tried adding <$chapnum>.<$sectionnum>.<$subsectionnum> to the TOC reference page, ...

Are you doing this on Reference Page TOC of file YourDocNameTOC.fm,

or in the body file?

I just tried:

for a Heading1 with an autonumber format of:

<$chapnum>.<n+>\t

and a Heading1TOC format of:

<$paranum>.<$paratext> <$pagenum>

on the TOC RP TOC.

It generated a TOC entry of:

2.1 Heading Text 13

for the 1st sample heading on page 13 of file declared to be Chap 2 and start on p13.

I didn't even have to add <$chapnum>.

This is FM7.1 WinXP32.

1 reply

Bob_Niland
Community Expert
Bob_NilandCommunity ExpertCorrect answer
Community Expert
July 26, 2011

I have tried adding <$chapnum>.<$sectionnum>.<$subsectionnum> to the TOC reference page, ...

Are you doing this on Reference Page TOC of file YourDocNameTOC.fm,

or in the body file?

I just tried:

for a Heading1 with an autonumber format of:

<$chapnum>.<n+>\t

and a Heading1TOC format of:

<$paranum>.<$paratext> <$pagenum>

on the TOC RP TOC.

It generated a TOC entry of:

2.1 Heading Text 13

for the 1st sample heading on page 13 of file declared to be Chap 2 and start on p13.

I didn't even have to add <$chapnum>.

This is FM7.1 WinXP32.

July 26, 2011

Thank you so much! I didn't know about <$paranum> and that was what I needed. I really appreciate your help!!

Bob_Niland
Community Expert
Community Expert
July 26, 2011

I didn't know about <$paranum> and that was what I needed.

It's in Help. For 7.1 Unix, it's at:

Tables of Contents and Indexes > Formatting lists and indexes > Editing special text flows for lists and indexes