I don't think it is possible to update only page numbers in a TOC.
But check out a script I sell on my website: "LiveTOC", which assists
greatly in turning the TOC page numbers into live cross-references, so
they update automatically, without losing any formatting. Go to
and find the script under the scripting tab.
I know in early posts and versions, one couldn't update ONLY the page numbers in a TOC. I am hoping beyond hope that this has changed. (our TOC is 15 full pages long, and we cheated and did a ton of line by line formatting - only to discover that one of our chapters did not have "auto numbering" checked - making the numbers off by 50 pages or so...) Gulp.
Anyone have good news for us in CS5 ver 7?
In addition to Ariel's inexpensive script solution, DTP Tools' commercial Cross-References for InDesign plug-in has a solution you might want to look at if your book has problems with its native ID cross-file cross-references. The Cross-References plug-in's extra scripts can create a TOC using cross-references, and I believe that its cross-reference format definitions offer more versatile format options than ID's cross-references, so you might not need to perform manual format overrides in the TOC. There's a trial version, and tech support is responsive, so you may want to ask them if the plug-in and extra scripts can do what you need. I think you need to request the free advanced scripts collection. Check it out here: Cross-References Pro Table Of Contents - DTP Tools
Rock on Ariel and Peter(knowhow)!
Ariel - I am deathly afraid of losing any of the work that I have done in my current TOC, which (15 pages) is 80% done (50% local formatting) :-(
Is there a way to duplicate my book, and experiement with a copy of it? I can't figure out how to do that. Or, is there another way to experiment with your software knowing that, if it doesn't work for me, I have lost nothing but time?
Copy the .indb and related .indd files and put them in a safe location for backup, then try your experiment. If it fails, overwrite the original files again with the backup copies.
Absolutely do what Peter says when testing. Make a copy of the files
before testing anything!
However, if you're working with an .indb book (as opposed to it all
being in one file), you'll find that at this point my script will only
work within the context of a single file, not a book.
However, if you're interested, get in touch with me and I may be able to
update the script to work with books as well: admin (at)
Thank you so much. Experimenting away!