Adobe FrameMaker: More on customizing a table of contents
by Barb Binder, Adobe Certified Instructor on FrameMaker
Updated: May 23, 2020
In a previous post, Adobe FrameMaker: Adding Tabs to a Table of Contents, I talked about how to use the TOC Reference page to add the missing tab between a table of contents text entry and the page number that follows it. Here are a few more TOC tips:
- As a general rule, don’t ever edit the text on a generated page, because all edits will be lost when you update the book and the file is regenerated.
- If you want to have a title that will actually stay after you update your book then you have to make sure that a.) the title is the first thing in the flow (titles usually are, so that’s easy) and b.) it must have a paragraph format that does not end in the suffix for the generated file. For example, TOC is the standard table of contents suffix, so you could call your contents title ContentsTitle, but not ContentsTitleTOC.
- If you want to remove the page numbers from a top level TOC entry:
- If you’d like to add the chapter numbers in front of the chapter titles in your table of contents (assuming the chapter titles are numbered with the <$chapnum> variable):
- When Create Hyperlinks is turned on, you can press Ctrl + Alt as you click on a table of contents entry to follow the hyperlink into the file. If it isn’t turn on, you’ll need to right click your TOC in your book window and choose Set up Table of Contents. Check the Create Hypertext Links checkbox and links will be enabled when you choose Set: