Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Matching Chapter Numbering in Table of Contents (TOC)

Explorer ,
Dec 22, 2009 Dec 22, 2009

I have applied the <$chapnum> and <n+> building blocks to the paragraph styles used in my TOC, but instead of displaying the correct chapter numbers, every chapter section starts with "1".

Could someone please tell me what I need to do in order to match the TOC numbering with the book numbering?

Thanks in advance,

Douglas

685
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 23, 2009 Dec 23, 2009

It sounds as if you haven't set up the book to manage the counters yet.

In the book file, select all chapters except the first one. Right-click > Numbering > Chapters > Increment Numbering. Apply, SAVE, then update the book to refresh the TOC.

Art

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 23, 2009 Dec 23, 2009

douglas131313 wrote:

I have applied the <$chapnum> and <n+> building blocks to the paragraph styles used in my TOC, but instead of displaying the correct chapter numbers, every chapter section starts with "1".

Could someone please tell me what I need to do in order to match the TOC numbering with the book numbering?

Douglas,

I assume that the chapter numbering works correct through all the chapters, and only the TOC numbering is wrong. Correct?

In this case you shouldn't have an own (independent) numbering definition in your TOC paragraph styles, but READ the original numbering from the respective paragraphs/chapters. You do this by adding the <$paranum> variable to the TOC reference page, so the entry/entries there should read equal or similar to:

<$paranum> (Tab) <$paratext> (Tab) <$pagenum>

Define the tabulators for the TOC paragraph styles as if there was a numbering definition, and the number read from the chapters will appear correctly formatted in the TOC.

Bernd

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 23, 2009 Dec 23, 2009

The chapter numbering has been correctly configured throughout the book. I took your suggestion and used the <$paranum> building block on the reference page, but instead of pulling the correct chapter numbering into my existing TOC, it showed "Chapter X" where I placed it.

However, it was showing the correct chapter number. What I want is that number followed by the numbering schema I have set up in the book (ex. 2.1, 2.1.1., 2.1.1.1).

I am attaching the TOC. Even without the entire book, you might be able to see what I've done because this is a practice book I made using the sample FM9 chapter.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 28, 2009 Dec 28, 2009
LATEST

douglas131313 wrote:

However, it was showing the correct chapter number. What I want is that number followed by the numbering schema I have set up in the book (ex. 2.1, 2.1.1., 2.1.1.1).

Douglas,

you made the correct changes for the paragraph style "ChapterTitleTOC", but you missed to do so for the subsequent paragraph formats "Heading1TOC" and "Heading2TOC". These two also shouldn't have an own numbering style, but use the <$paranum> variable on the reference page. Once you've corrected this, the numbering schema will be displayed completely correct.

As defined now (in your TOC), these two use the <$chapnum> variable as set for the TOC itself (which is "1"), instead of the numbers of the respective chapters.

Bernd

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines