Adobe FrameMaker: Reusing a TOC or Index
by Barb Binder, Adobe Certified Instructor on FrameMaker
Updated: Oct 14, 2020
Do you work on a number of projects in Adobe FrameMaker that look similar to each other? A wonderful feature in FrameMaker is the File > Import > Formats command, which allows you to quickly import all of your formatting commands from one document to another, or even from one document to all the documents in a book. This is a fabulous way to jump start a new project, or even just ensure consistency with a previous one. With this technique, everything is going swimmingly, until you get to the generated files. This is where most users find themselves slowing down as they recreate these files from scratch. Don’t do it! All you need to do is a little setup work in advance.
For this example, let’s assume that you have published a book about FrameMaker called “frame.book”. This book has a table of contents called “frameTOC.fm” and an index called “frameIX.fm”. Now you have a new project that is all about Adobe Acrobat and you have created a book called “acrobat.book”. You have created some of the chapters using the same formats as the “frame.book”, and you want to reuse the layout and formatting from “frameTOC.fm” and “frameIX.fm”.
Still with me? Just trying to describe the scenario takes more time that executing it.
Here’s what you do:
- Copy “frameTOC.fm” and “frameIX.fm” into the Adobe Acrobat project folder.
- Note that the Acrobat book is named “acrobat.book”.
- Simply rename the prefix on the copied files to match the book name: “frameTOC.fm” gets renamed “acrobatTOC.fm” and “frameIX.fm” becomes “acrobatIX.fm”. The key to this working is that the generated file’s prefix must match the book name, and the generated file’s suffix must match the expected suffix (TOC = table of contents, IX = index, LOF = list of figures, LOT = list of tables, etc. and these files must be placed in the same folder as the book file.
- Go ahead and add the generated files to your Acrobat book with the Insert menu as you would normally. For a table of contents, use Insert > Standalone Table of Contents (Fm 2019) or Insert > Create TOC (Fm 2020). For an index, use Insert > Standard Index. For a list of effective pages, use Insert > List of > Paragraphs. (You don’t want to use Insert > Files in this situation—that is only for user-created files.)
- When you update your book, FrameMaker will look in the folder containing the book file. If it finds a file with the expected name, it will add the new content into the file. When you open the generated file for the first time, it will be fully formatted.