Skip to main content
Participant
January 8, 2026
Answered

TOC autonumber "H:<$chapnum>.<n=1> \t " does not display the chapter number after regeneration

  • January 8, 2026
  • 7 replies
  • 137 views

The toc reference page does not disply the Chapter number

873500i84C31B891D2B13B2.png

 

 

The Toc Autonumber reference page

873495iEF06478642A91859.png

TOC Body Page 

873496i16F8433A073243DC.png

<$chapnum> works in the Autonumber body page

873497iA0DFDD85C515319E.png

 

    Correct answer Winfried Reng

    Hi,

    Do you always recreate the autonumbering in your TOC file?

    You could also use the <$paranum> building block on the reference pages instead of adding autonumbering to each of the TOC paragraph formats.

    The chapnum variable in the TOC will always show the value of the TOC file and not the value of the file of the paragraph. 

    Best regards, Winfried

    7 replies

    frameexpert
    Community Expert
    Community Expert
    January 8, 2026

    Your TOC paragraph formats shouldn't be autonumbered. The building blocks will pick up the numbering from each paragraph in the document/book. Your reference page paragraphs should be something like this:

     

    <$paranum> <$paratext>\t<$pagenum>

    www.frameexpert.com
    George100Author
    Participant
    January 8, 2026

    That worked. Thanks But, Went to do the same in another document and the <$paranum> does not display at all in the toc. I even imported the TOC reference page that works to the new document.  Checked the numbering properties and they are good.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    January 9, 2026

    Think you've done something wrong again - let's see the screenshots.

    Winfried RengCommunity ExpertCorrect answer
    Community Expert
    January 8, 2026

    Hi,

    Do you always recreate the autonumbering in your TOC file?

    You could also use the <$paranum> building block on the reference pages instead of adding autonumbering to each of the TOC paragraph formats.

    The chapnum variable in the TOC will always show the value of the TOC file and not the value of the file of the paragraph. 

    Best regards, Winfried

    George100Author
    Participant
    January 8, 2026

    That solved my problem

    Thanks

    George100Author
    Participant
    January 8, 2026

    Went to do the same in another document and the <$paranum> does not display at all in the toc. I even imported the TOC reference page that works to the new document.  Checked the numbering properties and they are good.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    January 8, 2026