: Can I create a book index or table of contents in InDesign that automatically updates page numbers as text reflows? I have nearly completed an employee handbook with sections and headings such
I have nearly completed an employee handbook with sections and headings such as "Your Guide to Personal Conduct", "Parking", "Benefits", "Dress Code", etc. As the handbook is updated, sometimes the beginning of a section might reflow to another page. Is there any way to track that so that my index, once linked to a section heading (if that's possible), can reflect the proper page number of that content?
E.g., if I have an index that looks like:
Dress Code.........7
Parking...........12
Personal Conduct..22
and I add enough content to the Dress Code section to push both the subsequent sections to pages 14 and 24, respectively, can I somehow have the page numbers listed in the index automatically update to reflect the page number of their new positions within the book?
Dress Code.........7
Parking...........14
Personal Conduct..24
More posts by @Harper654
3 Comments
Sorted by latest first Latest Oldest Best
I would really love to know the answer to this as well. Apparently the following script will update all table of contents if you have multiple ones in one InDesign doc but I haven't found anything for docs in an InDesign book:
(function() {
var curDoc = app.activeDocument,
tocStyles = curDoc.tocStyles,
nTocStyles = tocStyles.length;
for (var i = 1; i < nTocStyles; i++) {
curDoc.createTOC(tocStyles[i], true);
}
})();
Found it on the following thread: indesignsecrets.com/topic/update-multipleall-table-of-contents-at-once
Yes, you can do this, but it entails making every Xref a live cross reference:
Type | Hyperlinks & Cross-References | Insert Cross-Reference
It would be nice if there were a script to instantiate all folios in a ToC and/or index as such, but probably just as well there isn't, since the performance hit is rather bad.
If one makes a reference outside of the file, then one pretty much has to open up any such file(s) when editing, or the performance degradation makes things pretty much unusable.
InDesign has built-in Table of Contents functionality that is based on using a particular paragraph style for all of the elements that you want to include in the TOC (or Index). Your best bet is to take a look at their documentation for creating a Table of Contents. You can find it on the Adobe website here.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.