Menu

Need training at your office? Request a quote for custom training.

Home / Adobe FrameMaker / Adobe FrameMaker: Including Chapter Numbers in a Table of Contents

Adobe FrameMaker: Including Chapter Numbers in a Table of Contents

by Barb Binder, Adobe Certified Instructor on FrameMaker

From a recent Rocky Mountain Training FrameMaker student:

Hope you and your classes are going well. I have a quick question that I was hoping you could help me with:  I am making a table of contents (TOC) for my book, but when I create the TOC, everything looks fine, except I lose the Chapter #’s.  For example, it will just have the chapter title like “How to cook an egg” vs. what I’m looking for: “Chapter 1 How to cook an egg.”  This is only in the TOC, the chapter titles are just fine in the individual files. Any help would be appreciated 🙂

This is an easy one to remedy. Remember that the generated files (i.e., TOC or index) store their structure information on the reference pages. One quick addition to the TOC reference page and you will be good to go. Here are the steps:

  1. Open the table of contents file. In this example, the three chapter titles are missing their chapter numbers.
    ss_002
  2. View > Reference pages.
  3. Navigate to the TOC reference page.
  4. Locate the paragraph that controls the chapter titles. In this example, I called my titles ChapterTitle in the source documents, so the tag I’m looking for is ChapterTitleTOC. 
    TIP Click each building block until you find the one tagged TitleTOC or ChapterTitleTOC, which represents the chapter titles from the source documents. The tag name will appear in the lower left corner of the status bar.
    ss_005
  5. Add the words Chapter <$Chapnum>: and a space in front of the appropriate <$paratext> building block
    ss_004
  6. View > Body pages.
  7. File > Save.
  8. Update your book.
    When you update your book, FrameMaker reads the new instructions on the reference page, and adds the word Chapter, the chapter number and the punctuation/spacing in front of the original chapter titles.
    ss_003

Leave a Comment

Your email address will not be published. Required fields are marked *